Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jeremypw
Copy link
Collaborator

Fixes #1549
Fixes #1550

It is not clear why the search entry no longer automatically selected the contents on focus in - this should be the default behaviour of the widget. It is now done explicitly after focusing signal handlers have finished.

The previous search term was sometimes reappearing unexpectedly because it was still selected in the document. This is fixed by not using the selected text as the search term when the search entry is already focused.

@jeremypw jeremypw requested a review from danirabbit April 20, 2025 17:43
Copy link
Collaborator

@leonardo-lemos leonardo-lemos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice job!

@leonardo-lemos leonardo-lemos merged commit 9d653cd into master May 9, 2025
6 checks passed
@leonardo-lemos leonardo-lemos deleted the jeremypw/search/select-on-ctrl-F branch May 9, 2025 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Manually overwritten search term is reverted on immediately pressing Ctrl-F Search entry is no longer highlighted after pressing Ctrl F

4 participants