I am working in TexStudio (2.9.0). I want to change the type of a pair of matching parenthesis. For example,
\command{something (involving (even)(more)parenthesis)}
should become
\command{something [involving (even)(more)parenthesis]}
Note that the parenthesis after something
changed from ( )
to [ ]
.
Am I overlooking a feature of TeXstudio? Might this be possible with user-defined makros?
As a remark: Creation of these parentheses is easily possible by selecting the text and pressing the opening parenthesis of the desired type. So a selected text
becomes (text)
on pressing (
. Unfortunately, there is no way to later change this comfortably to [text]
.