Bookmarks not saving
Back in the old days (a week or so back) when you saved, closed, reopened NPP, your bookmarks (Ctrl+F2) were still there. They stayed there, in the document, until you closed the actual document (vs just closing NPP or rebooting the computer)
What changed? and can we get it back to where they stayed in the document after you closed NPP?
Actually, I guess I read the OP wrongly. Anyway, when I set some bookmarks, quit N++, then come back in, my bookmarks are still there. N++ 7.7.
mine too :-)
Billy Nair last edited by Billy Nair
so, you guys are not seeing this?
NPP v7.7 (32-bit)
Ekopalypse last edited by Ekopalypse
no, it is working fine here. What might be the issue is that something has corrupted
your config.xml file.
You could temporarily rename it, start npp and see if bookmarks are saved again if when doing another npp restart.
If you don’t know which config.xml needs to be edited, post your debug-info from ? menu.
I wonder if that is the problem, I dont have any config.xml files in any folder…
Notepad++ v7.7 (32-bit)
Build time : May 19 2019 - 13:08:20
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 7 (64-bit)
Plugins : DSpellCheck.dll FingerText.dll HTMLTag_unicode.dll mimeTools.dll NppConverter.dll NppExport.dll NppFTP.dll
because of your debug-info you should see a config.xml in %AppData%\Roaming\Notepad++ which expands to something like
If npp can’t find its config.xml, it will recreate it.
cool, thank you!
PeterJones last edited by
you should see a config.xml in %AppData%\Roaming\Notepad++
As a reminder, this FAQ explains that
Roamingwhen it expands. The easiest way to verify if you’ve got your
%AppData%\...path correct: paste your path in Explorer’s location, and see whether it goes to the right location.
@PeterJones - great, thanks for reminding me. Good job!! :-)
Yes, I am seeing this, too with one file but not others. That is, I quit Notepad++, then re-open it. Nearly all the files have their bookmarks intact as usual, except one file that has lost its bookmarks
Alan Kilborn: the link you posted is for a different issue. The original poster on this thread specifically described >expected< behavior wherein you close a file, then re-open it within a session of Notepad++ and the bookmarks are gone. And described >unexpected< behavior where you quite Notepad++, then run it again, and have now lost bookmarks. The thread you linked to has someone having a problem with losing bookmarks when closing a file, then opening it again, which is how Notepad++ has always behaved.
the link you posted is for a different issue
Right. That’s why I followed it up with:
I guess I read the OP wrongly
Version 7.7 32-bit.
Was not a problem with my prior version, 7.6.6.
mike sobota184 last edited by
Notepad++ v7.7 (64-bit)
OS : Windows 10 (64-bit)
… the same! After the Update from v7.6.6 to v7.7 - the bookmarks are gone, if I close n++.
But only if the file is stored on a USB device. If a file is saved locally, the bookmarks remain in their position.
Was not a problem with the prior version, 7.6.6.
Where is the problem? What can I do?
Hopefully the bug will be fixed in the next update.
In my case, the files that lose bookmarks are on a fixed SSD partition along with most of the other files that do not lose their bookmarks. No USB storage involved.
I think the problem has to do with file sizes.
Of the files I have open, four of them lose their bookmarks when exiting, then re-opening Notepad++. These files have the following line counts: 280980, 416104, 434832, 581174.
On the other hand, three files with smaller line counts do not lose their bookmarks: 105223, 158791, 296381.
Since there is some overlap in the ranges of line counts (that is, a file with 296k lines doesn’t lose bookmarks, but a file with 281k lines does lose bookmarks), I suspect the total size of the file (rather than number of lines) is related to the bookmarks getting cleared.
Correction: the above numbers were “length” counts, not line counts. There may be some correspondence between file size and losing bookmarks, but it isn’t a straightforward cause-and-effect.