diff options
author | mae <qtc-committer@nokia.com> | 2008-12-09 17:43:31 +0100 |
---|---|---|
committer | mae <qtc-committer@nokia.com> | 2008-12-09 17:43:31 +0100 |
commit | 1931304da1b59fcc396b3a550d0c9817ba73f8af (patch) | |
tree | 6afbac0fa6e13a56b2def7fdf1c0ee6965752574 /src/plugins/texteditor/basetexteditor.cpp | |
parent | 98f35da62952bd7b4a4514b821395daa9b9f2bd2 (diff) | |
download | qt-creator-1931304da1b59fcc396b3a550d0c9817ba73f8af.tar.gz |
add explicit "Clean Whitespace" advanced action
Diffstat (limited to 'src/plugins/texteditor/basetexteditor.cpp')
-rw-r--r-- | src/plugins/texteditor/basetexteditor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp index cb222dd9fd..db5413c344 100644 --- a/src/plugins/texteditor/basetexteditor.cpp +++ b/src/plugins/texteditor/basetexteditor.cpp @@ -685,6 +685,10 @@ void BaseTextEditor::selectBlockDown() } +void BaseTextEditor::cleanWhitespace() +{ + d->m_document->cleanWhitespace(); +} void BaseTextEditor::keyPressEvent(QKeyEvent *e) { |