Community
    • Login

    Highlighting breaks

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    11 Posts 5 Posters 2.0k 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.
    • General CoderG
      General Coder
      last edited by

      Hi
      I just installed notepad++ to new windows 10 home 64bit machine and then put the userDefineLang.xml to the settings directory to have custom syntax highlighting like before.
      But what happens now sometimes is that the highlighting breaks and all the text gets gray like there’s quotation mark open or green like comment open.
      Then I have to restart notepad++ to get the highlighting working again

      Any ideas what is causing this?

      1 Reply Last reply Reply Quote 0
      • General CoderG
        General Coder
        last edited by

        Still haven’t been able to fix this. I tried reinstalling notepad++ but it didn’t help. Maybe it’s just the user defined language that doesn’t work but it used to work.
        Does anyone have ideas what to try?

        1 Reply Last reply Reply Quote 0
        • rinku singhR
          rinku singh
          last edited by

          delete userDefineLang.xml in dir
          C:\Users\rinku\AppData\Roaming\Notepad++
          language > define your language > import your xml

          1 Reply Last reply Reply Quote 0
          • General CoderG
            General Coder
            last edited by

            Thanks but that didn’t help

            1 Reply Last reply Reply Quote 0
            • chcgC
              chcg
              last edited by

              Is the UDL you use one which is available online?
              What was the vesion of N++ you where using before when it still worked and what the current one. See https://notepad-plus-plus.org/community/topic/15739/faq-desk-request-for-help-without-sufficient-information-to-help-you what should be part of your question.

              1 Reply Last reply Reply Quote 0
              • General CoderG
                General Coder
                last edited by

                I don’t have the information right now which version it was because I have new PC now but
                I believe it was latest. I can’t also remember anymore did I download the UDL file or create it my self. I think I created it and took command list from another file.

                Here’s link to the UDL file if some one wants to take a look. It’s for arma .sqf files

                https://drive.google.com/open?id=1iNvoaNMSR8Gqc1hRVgvD0rytqcMN9hHQ

                1 Reply Last reply Reply Quote 0
                • Sanya WafflesS
                  Sanya Waffles
                  last edited by

                  I can confirm highlighting is broken on my end too.

                  1 Reply Last reply Reply Quote 0
                  • General CoderG
                    General Coder
                    last edited by

                    I also noticed that highlighting is broken with two custom UDLs. Haven’t tried with other languages yet

                    1 Reply Last reply Reply Quote 0
                    • General CoderG
                      General Coder
                      last edited by

                      Still this bug exists, any change to get a fix?

                      some screenshots:
                      https://ibb.co/DRYpzVW (code turned to gray)
                      https://ibb.co/6vCnPzp (function turned to green)

                      thx

                      PeterJonesP 1 Reply Last reply Reply Quote 0
                      • PeterJonesP
                        PeterJones @General Coder
                        last edited by

                        @General-Coder said in Highlighting breaks:

                        Still this bug exists, any change to get a fix?

                        Nope. Apparently, 2.5 years ago, no one pointed out to you that while you can ask questions in this Forum, this Forum is not the place for official bug reports – so just mentioning here that you have a problem is not sufficient to get that problem in the bug-fix/feature-request queue for the developers.

                        This Forum is a Community of fellow users of Notepad++, and most of those who read and answer here are not the ones with authority to change the codebase. And even the few developers who do have that authority and do read and/or rarely answer here expect you to have looked in the FAQ section, where there has existed since May 2018 (four months before your post) a FAQ Desk entry on making bug report / feature request. If you do not follow the instructions in that FAQ, then no official request has been made, so there should be no expectation that it would be fixed in the interim.

                        Further, if you search the official bugfix/feature-request site (as directed in the FAQ), you will see that there are hundreds of open UDL-related issues, many of which have been open for years. Sadly, the Developers appear to have lost interest in maintaining the UDL feature. (I think it probably just got to the point that there were too many open requests, and they got overwhelmed by the thought of making a change, because it wouldn’t make a dent. Or maybe they thought they were going to totally rework the UDL system / replace it with a more powerful user-defined language lexer… but never found the right Round Tuit or interested developer to work on it. I cannot know for sure, because I am not one of the developers.)

                        General CoderG 1 Reply Last reply Reply Quote 1
                        • General CoderG
                          General Coder @PeterJones
                          last edited by

                          @PeterJones Yeah I understand. I was hoping to get some direction and explanation and you gave those so ty for that. Bug report has now been created: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/9852

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