diff options
author | Roopesh Chander <roop@forwardbias.in> | 2009-10-31 15:26:45 +0530 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2010-02-08 16:59:10 +0100 |
commit | 9822fb65df6d0514bfdb48b79d72824f3e6d5781 (patch) | |
tree | 1544c9efb67057e45dd9b85c329e4a9a265e03c2 /src/plugins/texteditor/tabsettings.h | |
parent | fde766016aedff7f9f7aa6be2eb073a244612cf8 (diff) | |
download | qt-creator-9822fb65df6d0514bfdb48b79d72824f3e6d5781.tar.gz |
cleanWhitespace() checkes whether it has to change indentation or not. handle that.
Diffstat (limited to 'src/plugins/texteditor/tabsettings.h')
-rw-r--r-- | src/plugins/texteditor/tabsettings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/tabsettings.h b/src/plugins/texteditor/tabsettings.h index d6bd2b0afe..88950bd597 100644 --- a/src/plugins/texteditor/tabsettings.h +++ b/src/plugins/texteditor/tabsettings.h @@ -72,7 +72,7 @@ struct TEXTEDITOR_EXPORT TabSettings void reindentLine(QTextBlock block, int delta) const; int trailingWhitespaces(const QString &text) const; - bool isIndentationClean(const QString &text) const; + bool isIndentationClean(const QTextBlock &block) const; bool tabShouldIndent(const QTextDocument *document, QTextCursor cursor, int *suggestedPosition = 0) const; bool guessSpacesForTabs(const QTextBlock& block) const; |