20 Search Entries Deletes To 10 After Restarting N++
-
I don’t know why. But after a restart of N++, 20 search entries are deleted. Only 10 are left. How do I fix this issue?
-
The “Preferences for advanced users” section of the manual (https://npp-user-manual.org/docs/preferences/#preferences-for-advanced-users) explains how to “Change the number of expressions that can be saved in the Find/Replace dialog’s Find, Replace, Filters, and Directory fields” by editing
config.xml(No, there is no way to do it in the GUI, due to the developer not wanting more clutter in the preferences GUI)
-
Thanks PeterJones, that explains it — 10 is the default limit, so it is not a bug or lost settings, just the history being trimmed on restart.
One practical tip for anyone editing config.xml to raise that number: close Notepad++ completely first, and make a backup copy of config.xml before changing it. If Notepad++ is still running when you edit the file, it can overwrite your change when it exits. After restarting, check that the Find history keeps more than 10 entries before relying on it for a long session.
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