D15211: ::match and ::doMatch => const

Christoph Cullmann noreply at phabricator.kde.org
Sat Sep 1 20:44:30 BST 2018


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

REVISION SUMMARY
  make ::match and ::doMatch const
  ATM the keyword list is still mutable (internal it uses mutable, too)
  
  for isDynamic, we just construct a new regex if needed
  that is nicer than working on the stored one

TEST PLAN
  make && make test

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  master

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

AFFECTED FILES
  src/lib/rule.cpp
  src/lib/rule_p.h

To: cullmann, vkrause, dhaumann
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/kde-frameworks-devel/attachments/20180901/dcf52afc/attachment.html>


More information about the Kde-frameworks-devel mailing list