disable highlighting of code blocks
-
Hi everyone, I wanted to know how do I turn off bracket highlighting? I looked in the options but couldn’t find anything, when I open and close a parenthesis it highlights in red.
-
@MattexD said in disable highlighting of code blocks:
Hi everyone, I wanted to know how do I turn off bracket highlighting when I’m using a programming language?
The style configuration (online manual reference here) is where customisation of coloring is. This can be done at a global level or each language. As I haven’t dealt with your issue I’m not sure if you can achieve exactly what you want (if its a built-in lexer) but maybe you can change the colour to a more neutral one, maybe even the colour of non-highlighted text.
If it’s a UDL (user defined language), see here, you have more control, even to disabling some of the highlighting rules.
Good luck
Terry -
@Terry-R Thanks for the responde, I also updated my request because this problem persists even when plain text is active, not just when a programming language is enabled
-
Terry is on the right track with Style Configurator.
One way to achieve your goal is:
- Settings menu > Style Configurator
- Go to Language and select Global Styles
- For Style select Default Style and note the Foreground colour and Background colour settings
- Select Brace Highlight style and set the same Foreground colour and Background colour settings as were shown for Default Style
- Uncheckmark Bold
- Press Save & Close
This should get you to a setup where brackets are shown the same as any other characters you type.
-
Thank you very much guys
-
@MattexD ,
Interestingly, what you describe as something you want to get rid of, the people I know of that use Notepad++ really…and I mean really, appreciate that feature.We program with dBASE Plus, and I wrote a UDL in NPP for it, and the one feature that is most appreciated is the bracket highlighting, because in dBASE we can write SQL statements, which can get quite long, and when word wrap is on or off in the dBASE editor, you don’t know which bracket belongs to which ending bracket, or if you missed one. That highlighting feature in NPP makes it real easy to see if you missed and/or where the ending paired bracket is. To verify that you have open and closing brackets, you move the cursor to one and it’s partner shows up, letting you know, that bracket pairing is completed.
Not sure why you want that highlighting stopped, but that’s a very valuable feature…but…if you must you can follow the recommended instructions. :-)
-
To each his own, but from my perspective, I agree with you. Why fight a feature that is trying to help you, and really isn’t harming anything when left on?
-
@Lycan-Thrope I know but I use it momentarily to simulate a written exam I have to take