Highlighting breaks
-
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? -
delete userDefineLang.xml in dir
C:\Users\rinku\AppData\Roaming\Notepad++
language > define your language > import your xml -
Thanks but that didn’t help
-
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. -
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
-
I can confirm highlighting is broken on my end too.
-
I also noticed that highlighting is broken with two custom UDLs. Haven’t tried with other languages yet
-
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
-
@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.)
-
@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