editor.hideLines() doesn't persist?
Alan Kilborn last edited by
Does anyone know why that when I do editor.hideLines() in Pythonscript it works but when I switch to a different tab and then back again ALL lines are shown again?
Claudia Frank last edited by
if you use the menu function to hide lines you will see that you do get
additional markers. These markers are identified by npp when switching a tab.
So, afaik, either use markerAdd, with
MARK_HIDELINESBEGIN = 23;
MARK_HIDELINESEND = 22;
MARK_HIDELINESUNDERLINE = 21;
to mark the hidden lines or use npp menu function to get the same result.