Here's an example of Prolog code:
:- module(someModule,[foo1,bar/2,baz/3]).
How to make NPP highlight the "module" word only? I already tried, yet it seems that each keyword need to be separated by space in order to be highlighted correctly
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Afaik, Prolog is supported as an user defined language, and this issue affects all of them. It wouldnt be hard to tweak LexUser.cxx to fix - specifically make isAWordChar() less permissive about brackets. Getting the code into official Notepad++ could be the hardest part.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here's an example of Prolog code:
:- module(someModule,[foo1,bar/2,baz/3]).
How to make NPP highlight the "module" word only? I already tried, yet it seems that each keyword need to be separated by space in order to be highlighted correctly
Afaik, Prolog is supported as an user defined language, and this issue affects all of them. It wouldnt be hard to tweak LexUser.cxx to fix - specifically make isAWordChar() less permissive about brackets. Getting the code into official Notepad++ could be the hardest part.
CChris