Community
    • Login

    Auto position to selected line in file?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 3 Posters 749 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.
    • David SlipperD Offline
      David Slipper
      last edited by

      When I start NP++ I often do so with the “-nxxx” switch which opens the file and positions the highlight to line number “xxx”. However it doesnt position (scroll) the file so that the highlighted line is visible.
      I seem to remember that this used to work, but my memory may be faulty.
      Is there a way to scroll the screen automatically on file open so that the highlighted line is visible ???
      TIA
      Dave

      David SlipperD 1 Reply Last reply Reply Quote 0
      • David SlipperD Offline
        David Slipper @David Slipper
        last edited by

        @David-Slipper - I’ve done a bit more investigation and it works on one machine under Win7 32 bit but not Win7 64 bit !!
        Both machines are running the same version (v7.8.5) and have the same settings – the only difference is that one is the 64bit version and the other the 32bit version.
        Is this a bug or am I missing something ??
        Dave

        Alan KilbornA 1 Reply Last reply Reply Quote 1
        • Alan KilbornA Offline
          Alan Kilborn @David Slipper
          last edited by

          @David-Slipper

          I think I remember a bug report that if Word Wrap is enabled it won’t do it. Maybe you have Word Wrap turned on on one machine and not the other?

          Is there a way to scroll the screen automatically on file open so that the highlighted line is visible

          Probably not, until the bug is fixed.

          1 Reply Last reply Reply Quote 2
          • David SlipperD Offline
            David Slipper
            last edited by

            That is exactly the case.

            It is associated with Word Wrap.

            I dont often use word wrap, but it seems I have recently and that is the cause,

            Thanks
            Dave

            1 Reply Last reply Reply Quote 1
            • Alan KilbornA Offline
              Alan Kilborn
              last edited by

              See HERE

              Alan KilbornA EkopalypseE 2 Replies Last reply Reply Quote 1
              • Alan KilbornA Offline
                Alan Kilborn @Alan Kilborn
                last edited by

                @Alan-Kilborn

                Oops, typo in link; actually, see HERE .

                1 Reply Last reply Reply Quote 1
                • EkopalypseE Offline
                  Ekopalypse @Alan Kilborn
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0

                  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