| Summary: | doxygen latex formulas are highlighted differently in single-line and multi-line comment blocks (C/C++) | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-syntax-highlighting | Reporter: | Michael Uleysky <uleysky> |
| Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | walter.von.entferndt |
| Priority: | NOR | ||
| Version First Reported In: | 5.74.0 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/syntax-highlighting/commit/498db9aaa888f994c282bda6de98e22b40c1cf7b | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Illustration of incorrect text highlighting | ||
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/72 Git commit 498db9aaa888f994c282bda6de98e22b40c1cf7b by Christoph Cullmann, on behalf of jonathan poelen. Committed on 28/09/2020 at 19:15. Pushed by cullmann into branch 'master'. Fix doxygen latex formulas M +7 -0 autotests/folding/highlight.cpp.fold M +7 -0 autotests/html/highlight.cpp.dark.html M +7 -0 autotests/html/highlight.cpp.html M +7 -0 autotests/input/highlight.cpp M +7 -0 autotests/reference/highlight.cpp.ref M +9 -9 data/syntax/doxygen.xml https://invent.kde.org/frameworks/syntax-highlighting/commit/498db9aaa888f994c282bda6de98e22b40c1cf7b |
Created attachment 131587 [details] Illustration of incorrect text highlighting STEPS TO REPRODUCE 1. Create file test.c or test.cpp 2. Open it in kate (or kdevelop) 3. Type /*! * Correctly highlighted text @f$a+b@f$ Incorrectly highlighted text */ //! Correctly highlighted text @f$a+b@f$ Correctly highlighted text 4. See result OBSERVED RESULT Text in a multiline block is not highlighted correctly. EXPECTED RESULT Text in a multiline block is highlighted correctly. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Gentoo Linux (available in About System) KDE Plasma Version: 5.74.0 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.1 ADDITIONAL INFORMATION Screenshot attached