Disappearing of highlight for reopened tabs



  • Hello! When I exit the Notepad++ with some opened tabs (with my highlighting https://clip2net.com/s/41sVRn2 ) and reopen it then, I see all my tabs opened, but their text is simply black and whight without any highlighting: https://clip2net.com/s/41sVJRl .

    How can I solve it?
    Thank’s a lot.



  • welcome to the notepad++ community, @Vadimoff

    usually the session should remember the used highlighting when you re-open notepad++.

    can you please go to the notepad++ menu ? > debug info... > copy debug info into clipboard and paste your debug info here ?

    many thanks and best regards.



  • @Meta-Chuh said:

    debug info… > copy debug

    Thank you for your quick response!

    My debug info here:

    Notepad++ v7.6.6 (32-bit)
    Build time : Apr 3 2019 - 23:49:50
    Path : E:\Programs\Notepad++\notepad++.exe
    Admin mode : OFF
    Local Conf mode : ON
    OS : Windows 10 (64-bit)
    Plugins : mimeTools.dll NppConverter.dll NppExport.dll NppFTP.dll



  • @Vadimoff

    many thanks for your debug information.
    can you please try the following:

    • close notepad++ if it is open.
    • make a copy of your E:\Programs\Notepad++\ folder on your desktop.
    • open up this Desktop\Notepad++\ folder copy and start notepad++ by double clicking on notepad++.exe within this folder.
    • retry opening e.g. another pythonscript .py file and make sure you see the highlighting automatically when loading from disk.
    • close this notepad++ copy and reopen it again, by double clicking on notepad++.exe within this desktop folder.

    if it works, we have to check permissions on E:\Programs\Notepad++\

    if it still does not work:

    please test the following, to verify, if a clean portable notepad++ 7.6.6 32 bit would work on your system.

    • download the notepad++ 7.6.6. portable version from >>> here <<<.
      (the portable version does not require any installation and runs completely independent and isolated from your installed version. all custom settings, as well as any stuff you might want to try at the portable version, will not modify your installed version)

    • extract npp.7.6.6.bin.zip to your desktop.

    • make sure to close all instances of notepad++ that might be running, before starting the portable version at the next step, to make sure you are using this portable version only.

    • open the extracted npp.7.6.6.bin folder and start this portable version by double-clicking on notepad++.exe inside this folder.
      (note: notepad++.exe will just be seen as notepad++, if you have enabled to hide all known file extensions at your explorer settings)

    • retry opening any e.g. pythonscript .py file and make sure you see the highlighting automatically when loading from disk.

    • close this portable notepad++ and re-start it, by double-clicking on notepad++.exe inside the npp.7.6.6.bin folder again, to see whether the highlighting will still be active.

    i hope at least one of the two tests works.

    many thanks and best regards.



  • @Meta-Chuh

    Portable version of notepad++.exe has solved my problem!

    Thank you very mach!


Log in to reply