• Login
Community
  • Login

Position on opening

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 3 Posters 726 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    Roger Morris
    last edited by Apr 4, 2019, 9:19 AM

    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?

    E M 2 Replies Last reply Apr 4, 2019, 10:21 AM Reply Quote 0
    • E
      Ekopalypse @Roger Morris
      last edited by Apr 4, 2019, 10:21 AM

      @Roger-Morris

      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.

      1 Reply Last reply Reply Quote 0
      • R
        Roger Morris
        last edited by Apr 4, 2019, 12:08 PM

        nope, just the one instance at any one time.

        E 1 Reply Last reply Apr 4, 2019, 4:46 PM Reply Quote 0
        • E
          Ekopalypse @Roger Morris
          last edited by Apr 4, 2019, 4:46 PM

          @Roger-Morris

          did you try to check the session.xml file - is it valid?

          1 Reply Last reply Reply Quote 0
          • M
            Meta Chuh moderator @Roger Morris
            last edited by Apr 4, 2019, 5:31 PM

            @Roger-Morris

            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.

            Imgur

            1 Reply Last reply Reply Quote 3
            5 out of 5
            • First post
              5/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors