diff options
author | Adam Majer <adamm@zombino.com> | 2009-01-26 13:14:28 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-01-26 14:32:04 +0100 |
commit | 18952c98b9436e49f849edfd2c4918c36165cc65 (patch) | |
tree | 0a2a1b02f13a6d722af320e0876b7712ea2233f8 /src/plugins/texteditor/storagesettings.h | |
parent | 62d78bb06244f0b5ba23759c55082626be4c7158 (diff) |
Add explicit option to clean indentation
It is desirable to have removal of trailing whitespace as a separate
option to "tab cleanup". Clean Whitespace option without Clean
Indentation option will now only remove trailing whitespace on file save
and on Clean Whitespace requests. Clean Indentation option is set to
true by default to maintain backward compatibility.
Signed-off-by: Adam Majer <adamm@zombino.com>
Diffstat (limited to 'src/plugins/texteditor/storagesettings.h')
-rw-r--r-- | src/plugins/texteditor/storagesettings.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/texteditor/storagesettings.h b/src/plugins/texteditor/storagesettings.h index d90b462d32..4fca30b284 100644 --- a/src/plugins/texteditor/storagesettings.h +++ b/src/plugins/texteditor/storagesettings.h @@ -54,6 +54,7 @@ struct TEXTEDITOR_EXPORT StorageSettings bool m_cleanWhitespace; bool m_inEntireDocument; bool m_addFinalNewLine; + bool m_cleanIndentation; }; inline bool operator==(const StorageSettings &t1, const StorageSettings &t2) { return t1.equals(t2); } |