Community
    • Login

    How to avoid scrolling to the top of the page when autosave or loosing focus?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 3.4k Views 2 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.
    • oroborosO Offline
      oroboros
      last edited by oroboros

      Each time a file autosaves, I notice there’s a “refresh” where the document scrolls to the top of the page each time it autosaves, or more specifically when I click outside of NP++. Kinda annoying to have to scroll back to the end or to where the cursor was.

      Is this a setting I can disable?

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @oroboros
        last edited by

        @oroboros

        which feature do you use to autosave your documents?
        And which npp version (debug-info from ? menu)?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • oroborosO Offline
          oroboros
          last edited by

          @Claudia-Frank It’s the “periodic backup” in the preferences. But I’m actually noticing it more when I change focus on another window. It doesn’t move the cursor (if I return focus to NPP and start typing, it’s in the right place), but the window scrolls up some 6 lines.

          Here’s what I’m doing:
          NPP is in windowed mode with enough lines to see the horizontal scrollbar. Position the cursor at the end of the last line, defocus by clicking on another program. NPP “refreshes” and scrolls up some 6 lines (i.e. the last 6 lines are hidden “below the fold”).

          Debug info below:
          Notepad++ v7.5.4 (32-bit)
          Build time : Jan 1 2018 - 01:47:45
          Path : C:\Program Files (x86)\Notepad++\notepad++.exe
          Admin mode : OFF
          Local Conf mode : OFF
          OS : Windows 10 (64-bit)
          Plugins : AutoSave.dll ComparePlugin.dll CustomizeToolbar.dll DSpellCheck.dll DSpellCheck2.dll HTMLTag_unicode.dll ImgTag.dll MenuIcons.dll mimeTools.dll NotepadStarterPlugin.dll NppColumnSort.dll NppConverter.dll NppExport.dll NppFTP.dll NppTextFX.dll PluginManager.dll SpellChecker.dll Tidy2.dll

          1 Reply Last reply Reply Quote 0
          • chcgC Offline
            chcg
            last edited by

            I do not observe the descript behaviour. Maybe one of the plugins is causing it. You may want to test this be starting N++ without plugins. See http://docs.notepad-plus-plus.org/index.php/Command_Line_Switches, so notepad++ -noPlugins should show you the plain n++ behaviour.

            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