Search code examples
fontsnotepad++highlight

How to change font color in Notepad++ for highlighting (not as global change)?


Just like the title says, does anyone know how to change font color in Notepad++ for highlighting, or boldface?

I'm asking about highlighting key words, not a global change.

I see this solution, but it's temporary. You lose the highlight changes if you close and open the file:

Background color, notepad++ for highlighting purposes

Thank you.


Solution

  • To highlight a block of code in Notepad++, please do the following steps

    1. Select the required text.
    2. Right click to display the context menu
    3. Choose Style token and select any of the five choices available ( styles from Using 1st style to using 5th style). Each is of different colors.If you want yellow color choose using 3rd style.

    If you want to create your own style you can use Style Configurator under Settings menu.