nibags created this revision. nibags added reviewers: Framework: Syntax Highlighting, dhaumann, cullmann. Herald added projects: Kate, Frameworks. Herald added subscribers: kde-frameworks-devel, kwrite-devel. nibags requested review of this revision.
REVISION SUMMARY BUG: 419125 Fix folding in \end{...} ------------------------ In `\end{...}` the folding region "block" is terminated twice, which causes a folding error. Add folding in regions BEGIN/END -------------------------------- Add code folding in the rules of the region markers BEGIN/END. The context "FindComments" is created with the rules of comments. REPOSITORY R216 Syntax Highlighting BRANCH fix-folding-latex REVISION DETAIL https://phabricator.kde.org/D29521 AFFECTED FILES autotests/folding/example.rmd.fold autotests/folding/highlight.tex.fold autotests/html/highlight.tex.html autotests/input/highlight.tex autotests/reference/highlight.tex.ref data/syntax/latex.xml To: nibags, #framework_syntax_highlighting, dhaumann, cullmann Cc: kwrite-devel, kde-frameworks-devel, rrosch, LeGast00n, cblack, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann