D15485: Paint code folding marker only for multiline code folding regions

Dominik Haumann noreply at phabricator.kde.org
Thu Sep 13 19:33:57 BST 2018


dhaumann created this revision.
dhaumann added a reviewer: cullmann.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
dhaumann requested review of this revision.

REVISION SUMMARY
  Before, a XML line like <bla> ... </bla> on the same line
  resulted in a painted code folding marker. This patch only
  paints the code folding marker, if the code folding region spans
  multiple lines.

TEST PLAN
  make && make test

REPOSITORY
  R39 KTextEditor

BRANCH
  fix-code-folding-markers (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D15485

AFFECTED FILES
  src/view/kateviewhelpers.cpp

To: dhaumann, cullmann
Cc: kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20180913/de46b7f2/attachment.html>


More information about the KWrite-Devel mailing list