Community
    • Login

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

    Scheduled Pinned Locked Moved General Discussion
    8 Posts 3 Posters 917 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.
    • Iton HornI
      Iton Horn
      last edited by

      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

      PeterJonesP 1 Reply Last reply Reply Quote 1
      • PeterJonesP
        PeterJones @Iton Horn
        last edited by

        @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 
        
        Michael VincentM Iton HornI 2 Replies Last reply Reply Quote 1
        • Michael VincentM
          Michael Vincent @PeterJones
          last edited by

          @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.

          PeterJonesP 1 Reply Last reply Reply Quote 2
          • PeterJonesP
            PeterJones @Michael Vincent
            last edited by

            @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. :-(

            Michael VincentM 1 Reply Last reply Reply Quote 1
            • Michael VincentM
              Michael Vincent @PeterJones
              last edited by

              @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
              • Iton HornI
                Iton Horn @PeterJones
                last edited by

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

                Michael VincentM 1 Reply Last reply Reply Quote 0
                • Michael VincentM
                  Michael Vincent @Iton Horn
                  last edited by

                  @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.

                  Iton HornI 1 Reply Last reply Reply Quote 1
                  • Iton HornI
                    Iton Horn @Michael Vincent
                    last edited by

                    @michael-vincent
                    Ok.

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