Community
    • Login

    Bug when opening file and showing requested line

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 195 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
      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
        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
          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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors