• Login
Community
  • Login

colour text highlighting is different between different installations

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
colour stylecolour theme
3 Posts 2 Posters 524 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    menbead1
    last edited by Mar 11, 2024, 8:02 PM

    (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!!!

    R 1 Reply Last reply Mar 12, 2024, 6:36 PM Reply Quote 0
    • R
      rdipardo @menbead1
      last edited by Mar 12, 2024, 6:36 PM

      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 and stylers.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 main notepad++.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

      M 1 Reply Last reply Mar 12, 2024, 9:12 PM Reply Quote 3
      • M
        menbead1 @rdipardo
        last edited by Mar 12, 2024, 9:12 PM

        @rdipardo thank you, deleting langs.xml as well as stylers.xml fixed the issue! thank you so much!

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors