forked from qt-creator/qt-creator
Editor: Add action to select word under cursor
Task-number: QTCREATORBUG-641 Change-Id: I83e2705c7250646b13cd3ec52779a1496e6a472c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -451,6 +451,9 @@ void TextEditorActionHandlerPrivate::createActions()
|
||||
[this] (TextEditorWidget *w) { w->selectBlockDown(); }, true, tr("Select Block Down"),
|
||||
QKeySequence(tr("Ctrl+Shift+Alt+U")),
|
||||
G_EDIT_BLOCKS, advancedEditMenu);
|
||||
registerAction(SELECT_WORD_UNDER_CURSOR,
|
||||
[this] (TextEditorWidget *w) { w->selectWordUnderCursor(); }, true,
|
||||
tr("Select Word Under Cursor"));
|
||||
|
||||
// register GOTO Actions
|
||||
registerAction(GOTO_LINE_START,
|
||||
|
||||
Reference in New Issue
Block a user