aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/tabsettings.h
diff options
context:
space:
mode:
authorRoopesh Chander <roop@forwardbias.in>2009-10-31 15:26:45 +0530
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2010-02-08 16:59:10 +0100
commit9822fb65df6d0514bfdb48b79d72824f3e6d5781 (patch)
tree1544c9efb67057e45dd9b85c329e4a9a265e03c2 /src/plugins/texteditor/tabsettings.h
parentfde766016aedff7f9f7aa6be2eb073a244612cf8 (diff)
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.h2
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;