#25457
LTT
Participant

1:
Go on with the last example above:
Do the steps and Undo once.
** The result is not correct.
It should undo the “()” only.

Another example:
Select “123” and run this snippet: ${0:${SelText}}$0
(Now it should be “123123” with the left half selected.)
Press Left or Right key.
Type “xxx”.
Undo.
** An “x” remained.

—————
2:
Should be able to quit the snippet inputting mode by pressing Esc key.

—————
3:
Select “xxx” and run this snippet: ${1:?}${2:${SelText}}$1$0
By pressing Enter key I wanted to insert a new line before and after “xxx” but failed.
Is it possible to make it support new lines in such cases?