D14799: Add bool Definition::foldingEnabled() const

Dominik Haumann noreply at phabricator.kde.org
Mon Aug 13 17:42:40 BST 2018


dhaumann created this revision.
dhaumann added reviewers: cullmann, vkrause.
Restricted Application added projects: Kate, Frameworks.
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel.
dhaumann requested review of this revision.

REVISION SUMMARY
  foldingEnabled() returns true, if either indentationbased folding
  or folding via folding regions are defined. This is required for
  showing/hiding the code folding region in KTextEditor.

TEST PLAN
  make && make test

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  expose-folding-enabled (branched from master)

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

AFFECTED FILES
  autotests/syntaxrepository_test.cpp
  src/lib/definition.cpp
  src/lib/definition.h
  src/lib/definition_p.h

To: dhaumann, cullmann, vkrause
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/20180813/f737abea/attachment.html>


More information about the KWrite-Devel mailing list