Keep hidden lines hidden



  • I could get lines hidden by selecting them, right clicking and choosing the option “Hide lines”, but how can I make it permanent?

    After I’ve hidden some lines, if I relaunch the same document, those lines are no longer hidden.

    I have a long script file which I edit from time to time, and its annoying to use the search function every time to go to a certain line. It would be nice to keep hidden lines hidden, any ideas?



  • @Gideon-Addai

    As mentioned before, the Hide Lines feature is not the greatest.

    But, it seems like it may be possible to script something to save/restore the state of your hidden lines. You mentioned Pythonscript in one of your other posts, so it seems like you have some knowledge of scripting…



  • It was a referral to an already existing script. Am much of an amateur actually. From what you are saying there isn’t any configuration which am overlooking that can do this?



  • @Gideon-Addai said:

    there isn’t any configuration…that can do this

    That is a true statement AFAIK



  • @Gideon-Addai

    you could file a feature request, to save hidden line sections within the session.
    (the session is where all opened documents are remembered, to reopen the same files after a notepad++ restart)

    if you would like to file a feature request, please follow our official notepad++ community guide over here: FAQ Desk: Feature Request or Bug Report.

    note: there are currently very, very many feature requests open, so it is not sure if it would be implemented, and if it would, it usually takes a long time, unless it is urgent or there are too many requests for that.



  • @Gideon-Addai said:

    ould get lines hidden by selecting them, right clicking and choosing the option “Hide lines”, but how can I make it permanent?

    After I’ve hidden some lines, if I relaunch the same document, those lines are no longer hidden.

    I have a long script file which I edit from time to time, and its annoying to use the search function every time to go to a certain line. It would be nice to keep hidden lines hidden, any ideas?

    I’m with you on this one. I would love to see this implemented.


Log in to reply