Menu

Lost syntax highlighting after clearing resul

Compare
MMTsuchi
2013-01-29
2015-09-12
  • 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

    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 = 1.5.6.1

     
  • 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

    Simon - 2013-03-23

    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.

    Cheers

     
  • Phil

    Phil - 2015-09-12

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

    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.