forked from qt-creator/qt-creator
be more conservative when reindenting code: only change the
actual whitespace when the indentation column changes. Complete whitespace cleanup can still be done either automatically on save (when configured) or when explicitely called with the "Clean Whitespace" action from Edit/Advanced.
This commit is contained in:
@@ -146,7 +146,7 @@ private:
|
||||
bool m_hasDecodingError;
|
||||
QByteArray m_decodingErrorSample;
|
||||
|
||||
void cleanWhitespace(QTextCursor& cursor, bool onlyInModifiedLines);
|
||||
void cleanWhitespace(QTextCursor& cursor, bool cleanIndentation, bool inEntireDocument);
|
||||
void ensureFinalNewLine(QTextCursor& cursor);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user