texstudio-org/texstudio

Improper highlighting of braces when there is a comment

Aperta

#2621 aperta il 1 ott 2022

 (1 commento) (0 reazioni) (0 assegnatari)C++ (397 fork)auto 404
enhancementhelp wanted

Metriche repository

Star
 (3516 stelle)
Metriche merge PR
 (Merge medio 5h 26m) (19 PR mergiate in 30 g)

Descrizione

Environment

  • TeXstudio: 4.3.1
  • Qt: 6.3.1
  • OS: Windows 10

Expected behavior

In the editor, when the cursor is moved to a brace that is not commented out, the brace and the matching brace, which is also not commented out, are highlighted.

Example for the bug

Consider

{%}
}

Here, when I move the cursor to the first brace, this brace and the commented out brace are highlighted instead of that in the second line.

Guida contributor