Folding detects \begin{split} but it misses \end{split} and make the folding untill next \end{*} which makes all foldings are messed. example: \begin{align} % Folding 1 starts here \begin{split} % Folding 1.1 starts here Something in math mode... \end{split} % misses here \end{align} % Folding 1.1 ends here all foldings after here are shifted
Created attachment 83890 [details] Screenshots about bug
Git commit e86c1215360c5d6dc3ff27153d6b9186d88667f4 by Christoph Cullmann. Committed on 07/10/2015 at 19:10. Pushed by cullmann into branch 'master'. fix folding for tex M +3 -3 src/syntax/data/latex.xml http://commits.kde.org/ktexteditor/e86c1215360c5d6dc3ff27153d6b9186d88667f4