Community
    • Login

    When Switching Tabs - Why does the Viewport Change Unexpectedly When Returning?

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    3 Posts 2 Posters 795 Views 1 Watching
    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.
    • Pregnant SausageP Offline
      Pregnant Sausage
      last edited by Pregnant Sausage

      Maybe i am not understanding the value and it’s not a bug, but here is an example:

      1. You have 2 tabs open: a text file and a PHP file
      2. You place your cursor at a function() in the php code (the window’s viewport is positioned in a way that the cursor is seen at the center of N++)
      3. Go the text file (other tab).
      4. Either drag the scroll bar to a different location or simply move the cursor in a way that the viewport has been adjusted.
      5. Go back to the php file tab
      6. Note the viewport is now at a different location and so you must hit your cursor key for N++ to jump to the real location.

      Personally, i find that annoying. Is there a way to either turn off that “feature” or possibly get a fix for this? When i return to a tab the viewport for that tab should be where i left it. Beyond that, overall, it’s a brilliant product.

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @Pregnant Sausage
        last edited by

        @Pregnant-Sausage

        See here where there are some hints as to what might be causing this for you.

        1 Reply Last reply Reply Quote 2
        • Pregnant SausageP Offline
          Pregnant Sausage
          last edited by

          Thank you Alan

          1 Reply Last reply Reply Quote 1

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