Notepad2e icon indicating copy to clipboard operation
Notepad2e copied to clipboard

Document the command line

Open ProgerXP opened this issue 5 years ago • 3 comments
trafficstars

I can't find a clear description of Notepad2's command-line. The help text /? is overly succinct - for example, how one uses -, why /e does nothing or why + is necessary given that notepad2.exe file1 file2 always gives an error and + could be implicit?

Please go through the code and provide a description of how exactly the command line is parsed and which switches it accepts. The FAQ http://www.flos-freeware.ch/development-releases/notepad2-FAQs.html gives info for some switches like /g but not enough.

After this we will need to allow concatenating #250 since right now notepad2.exe file1 + file2 opens several windows.

ProgerXP avatar Feb 29 '20 12:02 ProgerXP

Hey, I was hoping to find some information on how to pass a line number with a filepath and have N2e jump right to it -- like many other editor do. So thanks for the link to the FAQ which answered my question :)

After remembering it's part of TortoiseGit I'm evaluating Notepad2e as my "go to" editor for it's "powerful simplicity" :-)

Thanks for the program!

(I wished there was a built-in "open as admin" command like in n++)

WebMechanic avatar Oct 30 '21 14:10 WebMechanic

Thanks for nice words, it means a lot! Notepad2/e is definitely an underrated tool.

I was hoping to find some information on how to pass a line number with a filepath and have N2e jump right to it -- like many other editor do.

You might be also interested in #249.

So thanks for the link to the FAQ which answered my question :)

There's also notepad2e /? as you'd expect.

(I wished there was a built-in "open as admin" command like in n++)

There is one of course. From README: https://github.com/ProgerXP/Notepad2e#file--launch:

File > Elevate allows obtaining admin permissions without restarting the program (checked if already elevated, otherwise call it to elevate). #166

ProgerXP avatar Oct 30 '21 16:10 ProgerXP

Thank you, this were very useful information and links!

WebMechanic avatar Nov 11 '21 19:11 WebMechanic