Hi, Notepad++ looses syntax highlighting after clearing comparison results.
Happens with VHDL.
fresh install of n++ (6.2.3) and compare (1.5.6)
Ditto - Same problem with files containing php code;
Though not always so - seems to have started in the last few months??
NPP=6.2.2, Compare = 188.8.131.52
I have the exact same problem.
had to downgrade to Notepad++ 5.9 to make it work.
As a tedious workaround to make the syntax highlighting come back after comparing: Manually switch the corresponding document to any other language via main menu, and then back to the original again. This restores the highlighting while keeping difference markers intact.
However, that needs to be done for both docs and I neither know any hotkeys or macro for accomplishing this task more efficiently, nor do I have the knowledge to implement this nasty workaround into the plugin itself. I would if it were a Delphi plugin; so anybody knowing C++, please try to implement this language switching right after comparison into the plugin.
I can confirm Simon's answer works. The version I'm using is 184.108.40.206
Much appreciated Simon
Edit: An easier way I found was to remove the tab and then reopen the closed tab. Default hotkeys for that I believe are
ctrl+W -> ctrl+shift+T
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.