forked from qt-creator/qt-creator
Make "Edit/Advanced/Clean_Whitespace work on the current
selection (if there is one)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user