Skip to content

Commit

Permalink
TextOperationsWidget: mark text when choosing line
Browse files Browse the repository at this point in the history
When the goto line widget is displayed, text is marked. Meaning you can
just change the line number.
  • Loading branch information
diegoiast committed Dec 7, 2024
1 parent dd8e66d commit 24a8028
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/widgets/textoperationswidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ void TextOperationsWidget::showGotoLine() {
}

showBottomWidget(gotoLineWidget);
gotoLineFormUi->numberSpinBox->selectAll();
gotoLineWidget->setFocus();
gotoLineFormUi->numberSpinBox->setFocus();
}
Expand Down

0 comments on commit 24a8028

Please sign in to comment.