Save Session/Load Session + Toggle Bookmark DOESN'T WORK



  • hello, I have several files, more then 10.000 lines, each of them. I have many Toggle Bookmarks. So, I always save session, as to load each time those files and theirs Toggle Bookmarks.

    The big problem. After I load session, new Toggle Bookmarks appear, and others disappear or move from their place. Besides, even if I write new lines, the Toggle Bookmarks remain on its place, but after loading the session, it’s a haos. New Toggle Bookmarks appears above or below it.

    I found that only the file from which I save the session is saved well with its Toggle Bookmarks on exactly place.

    Please fix it. It’s annoying to keep arranging all the Toggle Bookmarks in all the files, after the load session.



  • @Vasile-Caraus

    Personally, I would never depend upon Notepad++ to save my bookmark data if it was truly valuable to me to do so.

    Sure, it SHOULD do it correctly, but…

    Also, what happens if the file is edited or changed with another tool/process?
    Lines could move around and Notepad++, the next time it is used on the file, would place the remembered bookmarks incorrectly.

    Anyway, I present a script method for loading/saving bookmarks HERE which may be of some use.



  • if you want to improve Notepad++, you should fix this error. After all, notepad++ has to get better and better.

    I don’t know Python or how to use your script, sorry.



  • @Vasile-Caraus said in Save Session/Load Session + Toggle Bookmark DOESN'T WORK:

    And here we go with Vasile, yet again (there’s a history for this…sadly)

    if you want to improve Notepad++

    yes, always

    you should fix this error.

    Well, I’m not a dev on N++, so that’s out of the question.
    But, I’m still not sure the “error” isn’t actually yours.
    How about being thorough and presenting a small, completely reproduceable example?
    Effort in (yours) might prompt effort out (from others).

    I don’t know Python or how to use your script, sorry.

    No worries.
    You’re the one with the problem.
    I thought the script, with a teeny tiny bit of effort on your side, might help.
    Guess not.



  • it’s not about me, @Alan-Kilborn . If it wasn’t me, someone else would have noticed the problem.

    it is about improving a software, in order to become as efficient as possible.



  • @Vasile-Caraus said in Save Session/Load Session + Toggle Bookmark DOESN'T WORK:

    Please fix it.

    it’s not about me, it is about improving a software

    It seems odd that someone who has been around the forum enough to post 275 times doesn’t know the proper PROCEDURE for filing a bug report.

    If you end up going that route, be sure to heed my advice from earlier, in your report:

    How about being thorough and presenting a small, completely reproduceable example


Log in to reply