diff options
author | Leandro Melo <leandro.melo@nokia.com> | 2010-06-17 15:27:28 +0200 |
---|---|---|
committer | Leandro Melo <leandro.melo@nokia.com> | 2010-06-18 16:31:42 +0200 |
commit | 81955e045e440dc5932181daccfb1046dd18ba6c (patch) | |
tree | b5ece28cc8cdcb71ad6df37f34e4cd3baedd11c4 /src/plugins/texteditor/generichighlighter/highlighter.cpp | |
parent | 4fb15071878db4feec9cf78d87a5b131e3c30429 (diff) | |
download | qt-creator-81955e045e440dc5932181daccfb1046dd18ba6c.tar.gz |
Generic highlighter: Renaming a couple of methods.
Diffstat (limited to 'src/plugins/texteditor/generichighlighter/highlighter.cpp')
-rw-r--r-- | src/plugins/texteditor/generichighlighter/highlighter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/texteditor/generichighlighter/highlighter.cpp b/src/plugins/texteditor/generichighlighter/highlighter.cpp index 3e28bb93c5..443b2d2338 100644 --- a/src/plugins/texteditor/generichighlighter/highlighter.cpp +++ b/src/plugins/texteditor/generichighlighter/highlighter.cpp @@ -202,7 +202,7 @@ void Highlighter::iterateThroughRules(const QString &text, if (rule->matchSucceed(text, length, progress)) { atLeastOneMatch = true; - if (progress->willContinueLine()) { + if (progress->isWillContinueLine()) { createWillContinueBlock(); progress->setWillContinueLine(false); } else { @@ -247,7 +247,7 @@ void Highlighter::iterateThroughRules(const QString &text, } else { applyFormat(progress->offset(), 1, m_currentContext->itemData(), m_currentContext->definition()); - if (progress->onlySpacesSoFar() && !text.at(progress->offset()).isSpace()) + if (progress->isOnlySpacesSoFar() && !text.at(progress->offset()).isSpace()) progress->setOnlySpacesSoFar(false); progress->incrementOffset(); } |