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.