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

Unhide carets in add selection for occurrence and fix error #91390

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

kitbdev
Copy link
Contributor

@kitbdev kitbdev commented May 1, 2024

Applies to both add_selection_for_next_occurrence (ctrl+d) and skip_selection_for_next_occurrence (ctrl+alt+d).
Uses the selection from line in the search, this way if multiple lines are selected nothing happens instead of printing an error.
Uses _unhide_carets(); from #86978 to make sure the carets are always visible.

@kitbdev kitbdev requested a review from a team as a code owner May 1, 2024 01:57
@YeldhamDev YeldhamDev added this to the 4.3 milestone May 1, 2024
@akien-mga akien-mga requested a review from a team May 1, 2024 06:36
@Paulb23
Copy link
Member

Paulb23 commented May 27, 2024

LGTM, worth adding a small unit test?

@kitbdev kitbdev force-pushed the add-selection-unhide-carets branch from 004445e to 8d8a7be Compare May 27, 2024 19:29
@kitbdev kitbdev force-pushed the add-selection-unhide-carets branch from 8d8a7be to 948f096 Compare May 27, 2024 19:30
@kitbdev kitbdev requested a review from a team as a code owner May 27, 2024 19:30
@kitbdev
Copy link
Contributor Author

kitbdev commented May 27, 2024

Added test to make sure it unfolds.

@akien-mga akien-mga merged commit c2d9835 into godotengine:master Jun 7, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@kitbdev kitbdev deleted the add-selection-unhide-carets branch June 7, 2024 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants