forked from qt-creator/qt-creator
TextEditor: Fix action text
It adds the next match to the selection (as a multi-cursor selection), not the selection to the next match. Change-Id: I7520cb3b765562fac2dd45fce5d3b0e4ee7c22c7 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -330,7 +330,7 @@ void TextEditorActionHandlerPrivate::createActions()
|
||||
QKeySequence(tr("Ctrl+Ins")),
|
||||
G_EDIT_TEXT, advancedEditMenu);
|
||||
registerAction(ADD_SELECT_NEXT_FIND_MATCH,
|
||||
[] (TextEditorWidget *w) { w->addSelectionNextFindMatch(); }, false, tr("Add Selection to Next Find Match"),
|
||||
[] (TextEditorWidget *w) { w->addSelectionNextFindMatch(); }, false, tr("Add Next Occurrence to Selection"),
|
||||
QKeySequence(tr("Ctrl+D")),
|
||||
G_EDIT_TEXT, advancedEditMenu);
|
||||
m_modifyingActions << registerAction(DUPLICATE_SELECTION,
|
||||
|
Reference in New Issue
Block a user