diff options
author | Leandro Melo <leandro.melo@nokia.com> | 2010-12-06 19:20:37 +0100 |
---|---|---|
committer | Leandro Melo <leandro.melo@nokia.com> | 2010-12-07 10:17:26 +0100 |
commit | b5739e36cb9808dfd0688ebcb26d1b35397e660a (patch) | |
tree | c089c2eb0232c39f11b1d60eb8045f48dfbb9aee /tests/tools | |
parent | 6a6d9dacc7ede5294d09b4769885ecd1d8976861 (diff) | |
download | qt-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