texstudio-org/texstudio

Improper highlighting of braces when there is a comment

开放

#2,621 创建于 2022年10月1日

 (1 条评论) (0 个反应) (0 位负责人)C++ (397 个派生)auto 404
enhancementhelp wanted

仓库指标

星标
 (3,516 个星标)
PR 合并指标
 (平均合并 5小时 26分钟) (30 天内合并 19 个 PR)

描述

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.

贡献者指南