On -n, Np++ does not follow to the line number
-
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 -
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
-
@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.
-
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. :-(
-
@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.
-
-
@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/11146You 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.
-
@michael-vincent
Ok.