forked from qt-creator/qt-creator
TextEditor: Fix clean whitespace action
This is a partial revert of: e7f784ca73
Fixes: QTCREATORBUG-24565
Change-Id: Iffa149e0f97c315355f211f6ae3856fad08f4f3d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -170,7 +170,7 @@ protected:
|
||||
private:
|
||||
OpenResult openImpl(QString *errorString, const QString &fileName, const QString &realFileName,
|
||||
bool reload);
|
||||
void cleanWhitespace(QTextCursor &cursor, const StorageSettings &storageSettings);
|
||||
void cleanWhitespace(QTextCursor &cursor, bool inEntireDocument, bool cleanIndentation);
|
||||
void ensureFinalNewLine(QTextCursor &cursor);
|
||||
void modificationChanged(bool modified);
|
||||
void updateLayout() const;
|
||||
|
||||
Reference in New Issue
Block a user