editor.hideLines() doesn't persist?
-
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?
-
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.Cheers
Claudia
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login