There is a small bug with the User Define function. If I define a keyword, say
\about
In the editor the syntax highlighting does not show up unless I type a space or a new line (<Enter>) . Usually this means that if the file ends with a command, that command is not highlighted.
This has been around as long as I've used Npp, but I'm only now getting around to mentioning it.
Best wishes
Idris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
There is a small bug with the User Define function. If I define a keyword, say
\about
In the editor the syntax highlighting does not show up unless I type a space or a new line (<Enter>) . Usually this means that if the file ends with a command, that command is not highlighted.
This has been around as long as I've used Npp, but I'm only now getting around to mentioning it.
Best wishes
Idris
So put a space in or a newline.