summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/basetexteditor.cpp
diff options
context:
space:
mode:
authormae <qtc-committer@nokia.com>2008-12-09 17:43:31 +0100
committermae <qtc-committer@nokia.com>2008-12-09 17:43:31 +0100
commit1931304da1b59fcc396b3a550d0c9817ba73f8af (patch)
tree6afbac0fa6e13a56b2def7fdf1c0ee6965752574 /src/plugins/texteditor/basetexteditor.cpp
parent98f35da62952bd7b4a4514b821395daa9b9f2bd2 (diff)
downloadqt-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.cpp4
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)
{