C++: Select All select the symbol while renaming symbol

https://bugreports.qt.nokia.com//browse/QTCREATORBUG-5520

Change-Id: Ifb163adb2609e17cdbc3df1e90b7e583c75fac49
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
Bojan Petrovic
2012-01-18 12:09:41 +01:00
committed by Leandro Melo
parent d96c1a746e
commit a138465848
4 changed files with 29 additions and 0 deletions

View File

@@ -5763,6 +5763,12 @@ void BaseTextEditorWidget::cut()
QPlainTextEdit::cut();
}
void BaseTextEditorWidget::selectAll()
{
d->clearBlockSelection();
QPlainTextEdit::selectAll();
}
void BaseTextEditorWidget::copy()
{
if (!textCursor().hasSelection())