notepad++ 7.9.5 problem
- PuzzledGreatly
- Posts: 1303
- Joined: 29 Sep 2013, 22:18
notepad++ 7.9.5 problem
Is anyone using notepad version 7.9.5 to write ahk scripts? If so, have you had any problem with the colour scheme changing. I find that after making an edit everything below my edit point will change red (the color used to indicate text inside quotes). This happens when the cursor is no where near an element of text in quotes. After it happens the only way to restore the colour scheme is to close and reopen notepad++. I've noticed this behaviour for the last few versions of notepad++ but recently it has gotten worse. Could it be my userDefineLang_AHK.xml file has gotten corrupt? For users of notepad++ what xml file do you use for language? Thanks.
Re: notepad++ 7.9.5 problem
Same here. It's a bug in npp since a few versions.
You can also click on Language -> AutoHotkey to fix this temporary.
You can also click on Language -> AutoHotkey to fix this temporary.
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
Re: notepad++ 7.9.5 problem
Hallo,
ancient problem!
Here (Notepad++ v7.8.9 and already years earlier) it helps to comment the line before the red block with ;".
A Notepad++ restart is not necessary.
ancient problem!
Here (Notepad++ v7.8.9 and already years earlier) it helps to comment the line before the red block with ;".
A Notepad++ restart is not necessary.
Re: notepad++ 7.9.5 problem
As I understand it, the issue is due to unbalanced quotation marks. This is not necessarily due to a typo, as the code may require it. Rohwedder's hint solves the issue in a practical way and is the one I usually use.
Now, if you are not happy with that workaround, there is a Python script [https://github.com/Ekopalypse/NppPythonScripts/blob/master/npp/EnhanceAnyLexer.py] that adds extra highlighting to a UDL language using regular expressions that could potentially solve the problem. Caveats: It requires the installation of the Python plugin and can be really slow on large documents.
Now, if you are not happy with that workaround, there is a Python script [https://github.com/Ekopalypse/NppPythonScripts/blob/master/npp/EnhanceAnyLexer.py] that adds extra highlighting to a UDL language using regular expressions that could potentially solve the problem. Caveats: It requires the installation of the Python plugin and can be really slow on large documents.
- PuzzledGreatly
- Posts: 1303
- Joined: 29 Sep 2013, 22:18
Re: notepad++ 7.9.5 problem
Thanks for the replies and alternative solutions to restarting Notepad++.
Who is online
Users browsing this forum: No registered users and 7 guests