- AuthorPosts
- May 24, 2018 at 1:34 pm #23254LTT ParticipantEnable “Auto-Complete Brackets/Quotation Marks”. 
 Run any snippet that results a selection, e.g. this one: ${0:${SelText/.(.+)./\1/}}
 Then press ”
 ** The selection is erased by “”.May 26, 2018 at 11:28 am #23264Yutaka Emura KeymasterThis issue will be fixed on the next beta. Thank you! June 1, 2018 at 3:53 am #23294LTT ParticipantSelect the text: 
 [aaa]Use this snippet: ${0:${SelText/.(.+)./\1/}} Now the selected text is: 
 aaaPress { key. Now the text is: 
 {aaa}Undo. 
 ** Now the text is:
 [aaa]I think it should be: 
 aaaJune 4, 2018 at 2:51 pm #23304Yutaka Emura KeymasterThe next version (v17.7.93) addressed this issue. Thanks! October 14, 2018 at 1:51 pm #23845LTT ParticipantSimilar to the 1st post, Enable “Auto-Complete Brackets/Quotation Marks”. 
 Select “ABC”.
 Use this Snippet: ${0:${SelText}}$0
 Now the Text should be “ABCABC”. And the left “ABC” is selected.
 Press “(“.
 ** The selected text is erased by “()”.October 15, 2018 at 10:45 am #23857Yutaka Emura KeymasterThe next beta version (v18.2.91) will address this issue. March 3, 2019 at 12:48 am #25457LTT Participant1: 
 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?March 23, 2019 at 4:35 pm #25543Yutaka Emura Keymaster1. will be fixed on the next version (v18.6.95). Thanks! 
- AuthorPosts
- You must be logged in to reply to this topic.