Bug 328348

Summary: in LATEX files it misses \end{split} while folding
Product: [Applications] kate Reporter: maynak
Component: foldingAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: 3.10.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshots about bug

Description maynak 2013-12-03 01:39:58 UTC
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
Comment 1 maynak 2013-12-03 01:42:43 UTC
Created attachment 83890 [details]
Screenshots about bug
Comment 2 Christoph Cullmann 2015-10-07 19:13:12 UTC
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