forked from qt-creator/qt-creator
C++: Implement context-aware expand / shrink selection actions.
Implement selection expanding / shrinking, that is aware of C++ semantics, thus giving smart selection changing. Change-Id: I1386a20597fa6bb85c3aa0d8ddfb87cdb3fd7c38 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
committed by
Nikolai Kosjar
parent
8bfdc82c5a
commit
bed88818ce
@@ -449,7 +449,7 @@ void TextEditorActionHandlerPrivate::createActions()
|
||||
G_EDIT_BLOCKS, advancedEditMenu);
|
||||
m_selectBlockDownAction = registerAction(SELECT_BLOCK_DOWN,
|
||||
[this] (TextEditorWidget *w) { w->selectBlockDown(); }, true, tr("Select Block Down"),
|
||||
QKeySequence(),
|
||||
QKeySequence(tr("Ctrl+Shift+Alt+U")),
|
||||
G_EDIT_BLOCKS, advancedEditMenu);
|
||||
|
||||
// register GOTO Actions
|
||||
|
||||
Reference in New Issue
Block a user