Make "Edit/Advanced/Clean_Whitespace work on the current

selection (if there is one)
This commit is contained in:
mae
2009-09-09 16:37:09 +02:00
parent 16e7f0c16f
commit 99435d5f0e
3 changed files with 16 additions and 10 deletions

View File

@@ -833,7 +833,7 @@ void BaseTextEditor::moveLineUpDown(bool up)
void BaseTextEditor::cleanWhitespace()
{
d->m_document->cleanWhitespace();
d->m_document->cleanWhitespace(textCursor());
}
void BaseTextEditor::keyPressEvent(QKeyEvent *e)