In TeXstudio 2.5.2 (SVN 3661) under Windows XP SP3, I've spotted the following (minor) bug:
- At Macros - Edit Macros, add the following: \hl{%|}
- In the editor, write something inside any kind of brackets, like "(blah blah)"
- Highlight this piece of text either including the brackets or not
- Insert the macro
- Move the cursor to another position except one character to the right (by pressing the right arrow on your keyboard)
- Result: one or both of the closing bracket(s) remain(s) highlighted (depending on whether you highlighted the brackets too in step 3)
I've found out that I can reproduce the same behaviour by inserting not a macro but something like \textit (by pressing ctrl+i), \textbf etc. too.
workaround in rev. 4143