Syntax highlighting and dark mode
-
Hi,
In the python language, using the default dark mode, some keywords like True, False and None are not highlighted. When dark mode is off, the keywords are highlighted.
The not highlighted keywords are referenced in the langs.model.xml in a <Keywords name=“instre2”> section.
The R language has the same behavior. When dark mode is on, “instre1” keywords are highlighted and “instre2” are not. When dark mode is off, everything is fine.I have just reinstalled from scratch Notepad++, so I don’t think the issue come from my installation
. -
It seems that the keyword class instre2 is missing and also you have to set a colour for builtins.

If you made the changes like I did, it should work after restarting Npp.
-
Thanks, it works.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login