colour text highlighting is different between different installations
-
(before i say anything else, i am a complete idiot and have no clue how any of this actually works)
but im trying to do documentation for a program i have made in godot using GDscript. to make things look a lot neater and easier to organise i decided to paste it into the word document using notepad++ (which ive used in the past) and everything works fine on my laptop, however when im at home i cant get the colour highlighting to work properly. i’ve checked everything from the language selected under “language”, any global defaults which i turned off, and deleting config files but nothing seems to work. like SOME of the text highlighting works, namely comments and numbers, but other things like functions and function names just do not. does anyone know what might be causing this?? and thank you in advance!!! -
Syntax highlighting for GDscript was introduced in version 8.5.1.
First of all make sure that both PCs have a recent enough version.
If either of your installations was upgraded from a pre-8.5.1 release, the GDSCript style definitions and keywords will not be functional until you delete or rename your existing copies of
langs.xml
andstylers.xml
; those config files are written to the%AppData%\Notepad++
folder when you do a “full” install (by running the*.exe
installer media); otherwise, they are right beside the mainnotepad++.exe
program wherever a portable installation has been saved.The importance of refreshing your configs after a feature upgrade is explained in detail by the user’s manual: https://npp-user-manual.org/docs/config-files/#configuration-files-during-upgrades
-
@rdipardo thank you, deleting langs.xml as well as stylers.xml fixed the issue! thank you so much!