Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26215
    spiros
    Participant

    I would like to be able to select a string, then hit a shortcut and get that string enclosed in brackets, I.e. [[get that string enclosed in brackets]] (or in any other character I may want).
    How can this be done?

    #26216
    David
    Participant

    Go to “properties for current configuration” and activate the wanted brackets, such as (),[],{}………
    In Editor,place the cursor at the first backet and press Ctrl+Shift+] to select the string enclosed in brackets. Here a small GIF.
    http://ys-i.ys168.com/198138914/n6S2X7U2LHJL3Mkeerii/EmEditor%E5%8A%9F%E8%83%BD%E5%8A%A8%E7%94%BB-%E5%BF%AB%E6%8D%B7%E9%94%AE%E9%80%89%E5%8F%96%E6%8B%AC%E5%8F%B7%E4%B8%AD%E7%9A%84%E5%AD%97%E7%AC%A6%E4%B8%B2.gif

    #26217
    spiros
    Participant

    Hi, thanks. I do not want to select a string enclosed in brackets already. I want to be able to select a non-bracket string and add with one shortcut double brackets at the end and the beginning so that for example the word test when selected becomes [[test]]

    #26218
    spiros
    Participant

    Just selecting text and pressing “[” results in text surround in one bracket from each side. In my case I need 2 on each side.
    Ctrl+Shift+] simply selects string enclosed in brackets, which is not something I need.

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