Community
    • Login

    Position on opening

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 3 Posters 730 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.
    • Roger MorrisR
      Roger Morris
      last edited by

      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?

      EkopalypseE Meta ChuhM 2 Replies Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Roger Morris
        last edited by

        @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
        • Roger MorrisR
          Roger Morris
          last edited by

          nope, just the one instance at any one time.

          EkopalypseE 1 Reply Last reply Reply Quote 0
          • EkopalypseE
            Ekopalypse @Roger Morris
            last edited by

            @Roger-Morris

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

            1 Reply Last reply Reply Quote 0
            • Meta ChuhM
              Meta Chuh moderator @Roger Morris
              last edited by

              @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
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors