• Login
Community
  • Login

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

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 723 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.
  • A
    Adam Wisam
    last edited by Apr 15, 2021, 1:38 PM

    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
    • L
      ludamo 0
      last edited by Apr 16, 2021, 4:10 AM

      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
      1 out of 2
      • First post
        1/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors