Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Find" and "Find Next" should highlight found text, so any typing/pasting replaces found text #24542

Closed
ArdaE opened this issue Dec 22, 2018 · 0 comments · Fixed by #31032
Closed

Comments

@ArdaE
Copy link
Contributor

ArdaE commented Dec 22, 2018

Godot version:
Godot 3.0 through 3.1 Alpha 3.

OS/device including version:
macOS 10.13.6

Issue description:
A common feature of all IDE editors I've ever used is that typing text after a Find operation replaces the found text. In Godot's text editors (GDScript and shader editors), a box is drawn around each occurrence of the searched text and the cursor moves to the next box with each Find Next operation, but the text that the cursor moves next to is not actually selected. This results in a very unusual (as far as text editors go) behaviour where typed/pasted text is appended to the found text instead of replacing it, even though the found text looks like it was selected due to the box around it and hence should have gotten replaced.

So my request is to please automatically select the current occurrence of the searched text that the cursor is placed next to as a result of a "Find" or "Find Next" operation.

P.S. #2982 seems to track script editor related enhancement requests, which might be a good place to add this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants