Lost syntax highlighting after clearing resul

  • MMTsuchi

    MMTsuchi - 2013-01-29

    Hi, Notepad++ looses syntax highlighting after clearing comparison results.
    Happens with VHDL.

  • stanotomic

    stanotomic - 2013-01-31

    Same problem.
    fresh install of n++ (6.2.3) and compare (1.5.6)

  • Anonymous - 2013-02-26

    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 =

  • Johnson Lin

    Johnson Lin - 2013-02-28

    I have the exact same problem.
    had to downgrade to Notepad++ 5.9 to make it work.

  • Simon Steinberger

    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.


  • Phil

    Phil - 2015-09-12

    I can confirm Simon's answer works. The version I'm using is

    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

    Last edit: Phil 2015-09-12

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks