Position on opening
-
Previously, on opening NP++, my cursor was positioned at the point where I was last editing. Now, suddenly, it’s opening at the end of the file. Is there a setting to control this, and has the default behaviour changed recently?
-
normally those information is stored in a file called session.xml,
which is also storing the information which file to open.
Could it be that you are working with multiple instances of npp in parallel?
If so, this doesn’t work nicely with sessions as the last instance of npp closed will
write the session.xml and it knows only its file and positions. -
nope, just the one instance at any one time.
-
did you try to check the session.xml file - is it valid?
-
maybe the log file monitoring function is enabled:
make sure
view > monitoring (tail -f)is disabled.
if it is enabled it would reload and scroll to the end of a file.if it would be activated, you would see an eye instead of a disk at the tab, as seen at the screenshot below.

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