D7976: Highlighting indexer: factor out checks for smaller while loop

Dominik Haumann noreply at phabricator.kde.org
Sun Sep 24 20:09:06 UTC 2017


dhaumann created this revision.
dhaumann added a reviewer: vkrause.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  Reduce while loop that iterates over the XML elements. This helps
  to reduce the logic in the loop, making it a bit more readable.
  Additionally, this will allow us to add more checks in the future.

TEST PLAN
  make && make test

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  refactorindexer

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

AFFECTED FILES
  src/indexer/katehighlightingindexer.cpp

To: dhaumann, vkrause
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170924/5184270d/attachment.html>


More information about the Kde-frameworks-devel mailing list