Color highlighting

Scripting and setups with Notepad++ and AutoHotkey.
mercuryphabe
Posts: 2
Joined: 01 Dec 2020, 11:57

Color highlighting

04 Jul 2021, 10:52

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
sofista
Posts: 650
Joined: 24 Feb 2020, 13:59
Location: Buenos Aires

Re: Color highlighting

07 Jul 2021, 18:47

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
mercuryphabe
Posts: 2
Joined: 01 Dec 2020, 11:57

Re: Color highlighting

11 Jul 2021, 10:45

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

Return to “Notepad++”

Who is online

Users browsing this forum: No registered users and 55 guests