Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #23254
    LTT
    Participant

    Enable “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 “”.

    #23264
    Yutaka Emura
    Keymaster

    This issue will be fixed on the next beta. Thank you!

    #23294
    LTT
    Participant

    Select the text:
    [aaa]

    Use this snippet: ${0:${SelText/.(.+)./\1/}}

    Now the selected text is:
    aaa

    Press { key.

    Now the text is:
    {aaa}

    Undo.
    ** Now the text is:
    [aaa]

    I think it should be:
    aaa

    #23304
    Yutaka Emura
    Keymaster

    The next version (v17.7.93) addressed this issue. Thanks!

    #23845
    LTT
    Participant

    Similar 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 “()”.

    #23857
    Yutaka Emura
    Keymaster

    The next beta version (v18.2.91) will address this issue.

    #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?

    #25543
    Yutaka Emura
    Keymaster

    1. will be fixed on the next version (v18.6.95). Thanks!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.