Notepad3: Press esc to exit the selected state not to exit the program.

Created on 13 Nov 2019  路  16Comments  路  Source: rizonesoft/Notepad3

I set the esc key to exit the program, when selecting all the text
editing state, I want to press esc to exit the selected state, can i do this?

change request enhancement / feature req.

Most helpful comment

@RaiKoHoff, thank you!

All 16 comments

I set the esc key to exit the program, when selecting all the text
editing state, I want to press esc to exit the selected state, can i do this?

No, in this case, "exit the program" has priority on "exit selected text".

  • A suggestion is to "reverse" this priority (claiming 2x "Esc" to exit, if there is a "selected text").
    We will investigate this possibility... 馃

Hello @doneself , It should work as you requested. 馃槂

Feel free to test the BETA version "Notepad3Portable_5.19.1113.2673_BETA" or higher.
See "Notepad3 BETA-channel access #1129" or here Notepad3Portable_5.19.1113.2673_BETA.

Hello @doneself , It should work as you requested. 馃槂

Feel free to test the BETA version "Notepad3Portable_5.19.1113.2673_BETA" or higher.
See "Notepad3 BETA-channel access #1129" or here Notepad3Portable_5.19.1113.2673_BETA.

thanks

Hello @doneself ,
As far as I'm concerned, I think you (as requester) can close this issue...

And how to exit with selected text immediately without deselection?

  • 2x Esc 馃槈

It was a great period of productive work since #846. I'll miss it.

Seriously, 100 millisecond more? 馃槈

One additional key press.

Oh, I forgot about #846 馃
Current behavior (cancel selection first before exit) fits to more people workflow.
I reject to add a menu item for this, so I think a configuration switch ([Settings2] would be good enough for @alexantr to "deselect and exit" at once. (ESC is also used to hide tool-tips and auto-completion boxes) - @alexantr : shall they also be skipped to proceed for exit?
@alexantr : Any suggestion for naming this switch ?
Maybe multi stage: 0=current behavior, 1=deselect&exit, 2=skip-any&exit ?

Maybe: ";MultiStageEsc=0" (default) 馃

@RaiKoHoff @hpwamr I just want Esc key to work like it works in another notepads (flo's Notepad2, Notepad++, AkelPad, EditPlus, TextPad).
Maybe option PreventEscFunction2:
0 - exit immediately
1 - current behavior, cancel any process before (need to press Esc twice to exit) _(default)_
2 - like 1, except selection cancellation (what I want)

Nope, for me the "default" should be "0=current behavior" !

The leveling of ESC behavior (msg-boxes -> selection -> exit) leads to following implementation:
New parameter "[Settings2] ExitOnESCSkipLevel = 2"

  • Level 2 : ESC cancels every single state separately (the default)
  • Level 1 : ESC cancels message-box and ignores Selection (what you want?)
  • Level 0 : ESC cancels all states and proceeds to Exit (if configured)

Feel free to test development beta version _5.19.1119.2679_BETA.

Yes. Level 1 is what I want! 馃帀

@RaiKoHoff, thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RaffaeleBianc0 picture RaffaeleBianc0  路  3Comments

craigo- picture craigo-  路  3Comments

wmsrww picture wmsrww  路  3Comments

craigo- picture craigo-  路  4Comments

dlong500 picture dlong500  路  3Comments