Community
    • Login

    Curser position sporadic reset

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 5.0k 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.
    • Boian SoloviovB
      Boian Soloviov
      last edited by

      Hi community,
      I have the problem that although “remember current session for next launch” is enabled, sometimes the cursor position is reset on start of file. I’ve been using NP++ for years now and this only happens currently. Could this be an update bug?
      There are four text files opened by default. One is more than 9000 lines, the other three have less than 100. Sometimes the current positions are “remembered” for a couple of files, sometimes all four files are “reset” to pos1.
      Anyone aware of file length limitation? If no such, how can I enable some sort of debug logging to catch this?
      Thank you in advance!

      1 Reply Last reply Reply Quote 0
      • guy038G
        guy038
        last edited by guy038

        Hi Boian

        Could it be any relation with this topic, at the address, below ? It would be nice, as Dail found a solution !

        https://notepad-plus-plus.org/community/topic/33/return-to-same-line-when-switching-tabs/1

        As for me, no problem. The cursor’s position is preserved, from one session to another, for each file of my session :-)

        Best regards,

        guy038

        1 Reply Last reply Reply Quote 0
        • Boian SoloviovB
          Boian Soloviov
          last edited by

          Hi guy :)
          Thank you very much for the link. This does indeed work for me.
          For the general audience: there seems to be a bug in XML Tools version 2.4.6 that triggers the caret to position 0. The bug can be followed under: http://sourceforge.net/p/npp-plugins/bugs/270/
          Both disabling the plug-in, or only disabling its option “Set XML type automatically” worked in my case.
          Cheers everyone!

          1 Reply Last reply Reply Quote 0
          • Jan OonkJ
            Jan Oonk
            last edited by

            You can update the XML Tools Plugin to a newer version now to v2.4.8 which fixes this problem.
            Use Notepad++ > Plugins > Plugin Manager > Show Plugin Manager > Updates and choose XML Tools to be updated.

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