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

Select next ocurrence when value is inside a collapsed function #87310

Closed
christianmateus opened this issue Jan 17, 2024 · 1 comment · Fixed by #91390
Closed

Select next ocurrence when value is inside a collapsed function #87310

christianmateus opened this issue Jan 17, 2024 · 1 comment · Fixed by #91390

Comments

@christianmateus
Copy link

Tested versions

  • Reproducible in v4.2.1.stable.official [b09f793], v4.3.dev2.official [3524346]

System information

Godot v4.2.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated AMD Radeon RX 6600 XT (Advanced Micro Devices, Inc.; 27.20.22016.2) - Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz (24 Threads)

Issue description

Trying to select the next ocurrence of anything in the code editor, while it's inside a collapsed function, returns an error:

image

I believe it should expand the function, then select the ocurrence.

Steps to reproduce

Select a word and press Ctrl + D to find and select the next ocurrence of it. A function must contain the word, and it must be collapsed.

Minimal reproduction project (MRP)

Select_next_Ocurrence.zip

@kitbdev
Copy link
Contributor

kitbdev commented Apr 4, 2024

This should be easy to fix after #86978 since it adds a _unhide_carets() method in TextEdit that can probably be used for 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.

4 participants