Bug 328348 - in LATEX files it misses \end{split} while folding
Summary: in LATEX files it misses \end{split} while folding
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: folding (show other bugs)
Version: 3.10.5
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-03 01:39 UTC by maynak
Modified: 2015-10-07 19:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshots about bug (198.66 KB, image/jpeg)
2013-12-03 01:42 UTC, maynak
Details

Note You need to log in before you can comment on or make changes to this 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