Bug 344562 - Bug in Highlighting when use \begin{alignat} tag
Summary: Bug in Highlighting when use \begin{alignat} tag
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: 16.04.1
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-25 17:45 UTC by Pablo
Modified: 2017-02-05 13:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: KDE Frameworks 5.31


Attachments
Example of the bug (52.43 KB, image/png)
2015-02-25 17:45 UTC, Pablo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo 2015-02-25 17:45:24 UTC
Created attachment 91293 [details]
Example of the bug

[code]
\begin{alignat}{2}
A  &= B &= C \\
A  &= B &= C
\end{alignat}
My text...
[/code]

When I use this, the following text it's shown like it would be inside the tags. 
I've attached a screenshot of the bug.
Comment 1 Buovjaga 2016-06-25 12:51:21 UTC
Confirmed with LaTeX highlighting (the last alignat has "at" in a different color).

Arch Linux 64-bit
Kate 16.04.2
KDE Frameworks 5.23.0
Qt 5.7
xcb wm
Comment 2 Dominik Haumann 2017-02-05 13:31:30 UTC
Git commit 540fb97a8764e35b88a74978ce3a9ae69feea61c by Dominik Haumann.
Committed on 05/02/2017 at 13:28.
Pushed by dhaumann into branch 'master'.

LaTeX highlighting: fix alignat environment
Related: bug 373286
Differential Revision: D4294

M  +8    -0    autotests/folding/highlight.tex.fold
M  +8    -0    autotests/html/highlight.tex.html
M  +9    -1    autotests/input/highlight.tex
M  +8    -0    autotests/reference/highlight.tex.ref
M  +2    -2    data/syntax/latex.xml

https://commits.kde.org/syntax-highlighting/540fb97a8764e35b88a74978ce3a9ae69feea61c