-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Labels
Description
Extend the Alt+K dialog (Add to Favorites):
- add 4 radio buttons under the input:
Cursor position: [X] &first line [ ] l&ast line [ ] ¤t line [ ] &selectionwhere[X]is the default (Notepad2 behaviour) first lineworks just like Notepad2: creates a new LNK file to the currently opened filelast linecreates a LNK file with a different command-line:"<c:\absolute\Notepad2e.exe>" /g -1 "<c:\absolute\current.file>"current linecreates a similar LNK but with a positive/gselectioncreates a similar LNK but instead of/g -1it sets/gs start:endwherestartandendare current selection's positions (as displayed in the statusbar)- this radio button is disabled if current selection is rectangular (drag over the text area while holding Alt)
- selection can be empty, in this case
start=end - Notepad2 has
/gbut no/gsso it should be also added (bothstartandendmust be given;startmust be non-negative integer;endcan be-1to assume EOF)- add
/gsinfo to the help text too (/?)
- add