Community
    • Login

    Bug when opening file and showing requested line

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 373 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.
    • Atlas InformatikA Offline
      Atlas Informatik
      last edited by

      If a file is not open and a then the exe is started with argument -n{Line} -c{Col} “{PathName}” the view is not showing the page with the position. This was introduced somewhere from 7.7 to 7.8. 7.7 can do it correctly. In 7.8.6 You can still press the cursor keys and then the view is repositioned to show the correct page, but still it’s annoying.

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @Atlas Informatik
        last edited by

        @Atlas-Informatik

        I believe it is a KNOWN ISSUE.

        But the issue mentions word-wrap being on – is this the case for you as well?

        1 Reply Last reply Reply Quote 1
        • Atlas InformatikA Offline
          Atlas Informatik
          last edited by

          Hi, yes, it’s exactly this issue. Just checked now:

          • Versions > 7.7: If word wrap is switched on the viewport shows Line 1 instead of the desired line. If it is switched off the positioning works correctly.
          • Version 7.7: Correct line in both cases.

          Nice to have: If the desired line could be positioned about in the middle of the window. Then you see immediately the code above and below the line.

          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