Bookmarks disappear upon save & reopening file
-
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!
-
@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.
-
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.
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