D29521: LaTeX: fix folding in \end{...} and in regions markers BEGIN-END
Nibaldo González
noreply at phabricator.kde.org
Fri May 8 08:52:35 BST 2020
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20200508/2eb892b9/attachment.htm>
More information about the KWrite-Devel
mailing list