LaTeX: fix folding in \end{...} and in regions markers BEGIN-END
ClosedPublic

Authored by nibags on May 8 2020, 7:52 AM.

Details

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.

Diff Detail

Repository
R216 Syntax Highlighting
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nibags created this revision.May 8 2020, 7:52 AM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptMay 8 2020, 7:52 AM
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel. · View Herald Transcript
nibags requested review of this revision.May 8 2020, 7:52 AM
nibags edited the summary of this revision. (Show Details)May 8 2020, 7:53 AM

Looks fine for me, thanks for improvement!

cullmann accepted this revision.May 9 2020, 11:08 AM
This revision is now accepted and ready to land.May 9 2020, 11:08 AM
This revision was automatically updated to reflect the committed changes.