Bug 373286

Summary: [PATCH] syntax highlighting wrong for latex with alignat
Product: [Frameworks and Libraries] frameworks-syntax-highlighting Reporter: Jan <jan>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: KDE Frameworks 5.31
Sentry Crash Report:

Description Jan 2016-12-05 12:06:37 UTC
In the snippet from a .tex file,

\begin{alignat*}{2}
3
\end{alignat*}
Zjavne $x(1+x) > x^2$.

syntax highlighting for latex breaks at the end of alignat* and is wrong for the rest of the document.
Comment 1 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 344562
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