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>
Showing
- src/plugins/texteditor/basetextdocument.cpp 1 addition, 1 deletionsrc/plugins/texteditor/basetextdocument.cpp
- src/plugins/texteditor/generalsettingspage.cpp 2 additions, 0 deletionssrc/plugins/texteditor/generalsettingspage.cpp
- src/plugins/texteditor/generalsettingspage.ui 36 additions, 0 deletionssrc/plugins/texteditor/generalsettingspage.ui
- src/plugins/texteditor/storagesettings.cpp 7 additions, 2 deletionssrc/plugins/texteditor/storagesettings.cpp
- src/plugins/texteditor/storagesettings.h 1 addition, 0 deletionssrc/plugins/texteditor/storagesettings.h
Loading
Please register or sign in to comment