Community
    • Login

    Bookmarks disappear upon save & reopening file

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 747 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Kris RowlandsK
      Kris Rowlands
      last edited by

      I am using the portable version of N++. I’m using the bookmarks and when I save and reopen the document, the bookmarks have disappeared.

      How can I stop this from happening?

      Thank you!

      Neil SchipperN 1 Reply Last reply Reply Quote 0
      • Neil SchipperN
        Neil Schipper @Kris Rowlands
        last edited by

        @kris-rowlands Hi. I’m pretty sure you mean “save, close and reopen the document”, right?

        Sad fact is, bookmarks are not preserved across reopenings, including the explicit “Reload” command, and, when an externally changed file is autodetected and user says ‘yes’ to reload. This doesn’t rely on whether version is a normal install or portable.

        You probably know that we get preservation when npp undergoes a normal close and restart (if Session snapshot enabled in Prefs-Backup), which kind of suggests npp could maintain bookmark data with recently closed files without gargantuan effort if there was community hunger for it.

        If someone knows about workarounds, maybe a plugin providing bookmark preservation features, I’d love to hear about it.

        1 Reply Last reply Reply Quote 0
        • Alan KilbornA
          Alan Kilborn
          last edited by

          Bookmarks are saved as part of the “session”.
          If you close a file, it gets removed from the session, and when reopened, it looks like a new file to the session (thus no bookmarks).

          There’s a demo PythonScript HERE that could be “rounded out” to pseudo-provide a load/save extension for bookmarks.

          For me, and I presume most users, the capability in Notepad++ currently is enough.

          1 Reply Last reply Reply Quote 2
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors