## #708 Bracket pairs: the closing bracket remains highlighted

None
closed
nobody
None
5*
2013-08-04
2013-03-30
notargets
No

In TeXstudio 2.5.2 (SVN 3661) under Windows XP SP3, I've spotted the following (minor) bug:

1. At Macros - Edit Macros, add the following: \hl{%|}
2. In the editor, write something inside any kind of brackets, like "(blah blah)"
3. Highlight this piece of text either including the brackets or not
4. Insert the macro
5. Move the cursor to another position except one character to the right (by pressing the right arrow on your keyboard)
6. Result: one or both of the closing bracket(s) remain(s) highlighted (depending on whether you highlighted the brackets too in step 3)

## Discussion

• notargets
2013-03-30

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.

• Tim Hoffmann
2013-08-04

workaround in rev. 4143

• Tim Hoffmann
2013-08-04

• status: open --> closed
• Group: -->