summaryrefslogtreecommitdiff
path: root/tests/tools
diff options
context:
space:
mode:
authorLeandro Melo <leandro.melo@nokia.com>2010-12-06 19:20:37 +0100
committerLeandro Melo <leandro.melo@nokia.com>2010-12-07 10:17:26 +0100
commitb5739e36cb9808dfd0688ebcb26d1b35397e660a (patch)
treec089c2eb0232c39f11b1d60eb8045f48dfbb9aee /tests/tools
parent6a6d9dacc7ede5294d09b4769885ecd1d8976861 (diff)
downloadqt-creator-b5739e36cb9808dfd0688ebcb26d1b35397e660a.tar.gz
Gen. highlighter: Improve performance (reg. exp.)
Cache matches of the RegExprRule to avoid unnecessary calls. This is essentially the same optimization existent in Kate. A colateral effect of this implementation is a mechanism to notify the rules when a progress (highlight of the current line) is finished.
Diffstat (limited to 'tests/tools')
0 files changed, 0 insertions, 0 deletions