Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Notepad++ keeps messing up the colors of my user defined language

    Help wanted · · · – – – · · ·
    2
    2
    263
    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.
    • Adam Wisam
      Adam Wisam last edited by

      So I have a user defined language for a program called Abaqus, and many times notepad++ messes up the colors of it when I edit the document. In the first picture, line 195 is a comment line, and it starts with two stars ** and has a green color. In the same picture, line 184 has that same green color even though it is not a comment line. Now if I press “Language” in the menu, then choose “Abaqus” (which is the name of my language), I get the correct colors, as seen in the second picture.

      1958347e-fea8-4036-a185-287abd716d02-image.png

      fe240a7e-3767-4fba-8f0e-bd1db0d072a8-image.png

      I have uploaded the .xml file for the language here, if anyone wants to take a look:
      Abaqus.xml (filebin.net)

      1 Reply Last reply Reply Quote 0
      • ludamo 0
        ludamo 0 last edited by

        Something similar to this has been discussed recently on
        https://community.notepad-plus-plus.org/topic/20755/syntax-highlighting-works-for-a-time-then-irreproducibly-bleeds-only-restarting-npp-fixes-it/10
        Perhaps you may find some help there.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors