texstudio-org/texstudio

Improper highlighting of braces when there is a comment

Offen

#2.621 geöffnet am 01.10.2022

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C++ (397 Forks)auto 404
enhancementhelp wanted

Repository-Metriken

Stars
 (3.516 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 5h 26m) (19 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide