Page 1 of 1

Color highlighting

Posted: 04 Jul 2021, 10:52
by mercuryphabe
Does anyone know of any notepad plugin that will either highlight or underline a hex color in script. I found a couple but were old and couldn't be validated

Something like this...

Image

Re: Color highlighting

Posted: 07 Jul 2021, 18:47
by sofista
This may help you. There is an add-on script written for the PythonScript-plugin called EnhanceAnyLexer.py, which can add extra highlighting that cannot be handled by a builtin lexer or the UDL lexer. It includes some examples.

Link: https://github.com/Ekopalypse/NppPythonScripts/blob/master/npp/EnhanceAnyLexer.py

Re: Color highlighting

Posted: 11 Jul 2021, 10:45
by mercuryphabe
Thanks :thumbup: i'll have a look as it will save me tons of time, i can almost instantly recognize the purpose of hundreds of lines with matching function names by it's color.

Even if it just supports basic html style it's easy enough to use these in the main scripts