• Login
Community
  • Login

On -n, Np++ does not follow to the line number

Scheduled Pinned Locked Moved General Discussion
8 Posts 3 Posters 920 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.
  • I
    Iton Horn
    last edited by Feb 7, 2022, 2:43 PM

    Hello, dear Notepad++ Community!

    The command line execution of the following command
    C:\Dir\notepad++.exe -n856 C:\Dir\File.txt
    opens the File.txt file on the first line, does not follow to the line 856.
    Please check.

    Debug information:
    Notepad++ v8.3 (32-bit)
    Build time : Feb 3 2022 - 03:35:48
    Path : C:\Dir\notepad++.exe
    Command Line : C:\Dir\File.txt
    Admin mode : OFF
    Local Conf mode : ON
    Cloud Config : OFF
    OS Name : Windows 10 Enterprise (64-bit)
    OS Version : 2009
    OS Build : 19043.1466
    Current ANSI codepage : 1251
    Plugins : ComparePlugin.dll

    P 1 Reply Last reply Feb 7, 2022, 2:55 PM Reply Quote 1
    • P
      PeterJones @Iton Horn
      last edited by Feb 7, 2022, 2:55 PM

      @iton-horn ,

      Interesting. It worked perfectly fine in v8.2.1 (debug info below), but when I downloaded a portable v8.3 and ran from that one, I could confirm that it did not scroll. So this seems like a bug introduced in v8.3.

      Could you follow the instructions in the bug report FAQ to create an issue (and include the information that it did work in v8.2.1 but doesn’t in v8.3) – if you do create that issue, please paste a link to that issue in reply to this topic. Thanks.

      Notepad++ v8.2.1   (64-bit)
      Build time : Jan 19 2022 - 18:43:05
      Path : C:\usr\local\apps\npp\npp.8.2.1.portable.x64\notepad++.exe
      Command Line : -n50 config.xml
      Admin mode : OFF
      Local Conf mode : ON
      Cloud Config : OFF
      OS Name : Windows 10 Enterprise (64-bit) 
      OS Version : 2009
      OS Build : 19042.1466
      Current ANSI codepage : 1252
      Plugins : mimeTools.dll NppConverter.dll NppExport.dll 
      
      M I 2 Replies Last reply Feb 7, 2022, 2:58 PM Reply Quote 1
      • M
        Michael Vincent @PeterJones
        last edited by Feb 7, 2022, 2:58 PM

        @peterjones said in On -n, Np++ does not follow to the line number:

        @iton-horn ,
        Interesting. It worked perfectly fine in v8.2.1 (debug info below), but when I downloaded a portable v8.3 and ran from that one, I could confirm that it did not scroll. So this seems like a bug introduced in v8.3.
        Could you follow the instructions in the bug report FAQ to create an issue (and include the information that it did work in v8.2.1 but doesn’t in v8.3) – if you do create that issue, please paste a link to that issue in reply to this topic. Thanks.

        It supposedly is fixed already but I still can’t get it to work for me.

        Cheers.

        P 1 Reply Last reply Feb 7, 2022, 3:20 PM Reply Quote 2
        • P
          PeterJones @Michael Vincent
          last edited by Feb 7, 2022, 3:20 PM

          @michael-vincent

          Thanks for finding that.

          I tried, but my IT apparently blocks the site that has the debug builds, so I will have to wait until tonight before I can download a debug build. :-(

          M 1 Reply Last reply Feb 7, 2022, 3:56 PM Reply Quote 1
          • M
            Michael Vincent @PeterJones
            last edited by Feb 7, 2022, 3:56 PM

            @peterjones said in On -n, Np++ does not follow to the line number:

            Thanks for finding that.
            I tried, but my IT apparently blocks the site that has the debug builds, so I will have to wait until tonight before I can download a debug build. :-(

            Hold the phone - 1D10T error. I was running as:

            notepad++.exe -n 44 mytestfile.txt
            

            There can be NO space between the -n and the linenumber:

            notepad++.exe -n44 mytestfile.txt
            

            works with the 64-bit Release version in the AppVeyor artifacts of the commit I reference above.

            Cheers.

            1 Reply Last reply Reply Quote 1
            • I
              Iton Horn @PeterJones
              last edited by Feb 7, 2022, 7:24 PM

              @peterjones
              Posted under
              https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11146

              M 1 Reply Last reply Feb 7, 2022, 7:30 PM Reply Quote 0
              • M
                Michael Vincent @Iton Horn
                last edited by Feb 7, 2022, 7:30 PM

                @iton-horn said in On -n, Np++ does not follow to the line number:

                Posted under
                https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11146

                You don’t need to open an issue. As I stated above, this is already fixed in the main branch and will be available in the next release.

                Cheers.

                I 1 Reply Last reply Feb 7, 2022, 7:36 PM Reply Quote 1
                • I
                  Iton Horn @Michael Vincent
                  last edited by Feb 7, 2022, 7:36 PM

                  @michael-vincent
                  Ok.

                  1 Reply Last reply Reply Quote 1
                  1 out of 8
                  • First post
                    1/8
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors