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

Regression: ui_text_caret_left includes $ #81384

Closed
novalis opened this issue Sep 6, 2023 · 3 comments
Closed

Regression: ui_text_caret_left includes $ #81384

novalis opened this issue Sep 6, 2023 · 3 comments
Labels

Comments

@novalis
Copy link
Contributor

novalis commented Sep 6, 2023

Godot version

4.1.1

System information

Godot v4.1.1.stable - Debian GNU/Linux bookworm/sid bookworm - Vulkan (Forward+) - dedicated AMD Radeon RX 5600 XT (RADV NAVI10) () - AMD Ryzen 5 2600X Six-Core Processor (12 Threads)

Issue description

Consider the following code:

func foo():
    $Foo.text = "foo"
    #     ^<-- cursor is here

In the Godot editor, when I press ctrl-left (ui_text_caret_left) in Godot 3.x, ny cursor goes to just after the $. In 4.1, my cursor goes to just before $. This is not what I prefer, because what I usually want to do is to insert another layer of UI. Or maybe I want to replace $Up with $Down because I've copy-pasted. Now I have to type the $ again.

Steps to reproduce

Move all your UI elements into a VBoxContainer because you suddenly realize that you need another column. Try to insert V/ in front of all node names. Get annoyed because you can't use ctrl-left to navigate to the beginning of the node name.

Minimal reproduction project

n/a

@MewPurPur
Copy link
Contributor

This has been reported before; it's a bug that's existed before 4.0 was in alpha.

@AThousandShips
Copy link
Member

@KoBeWi
Copy link
Member

KoBeWi commented Sep 6, 2023

Closing as duplicate of #56402, as it has the same cause.
From what I understand this is intended behavior, but it's inconsistent between $ and %.

@KoBeWi KoBeWi closed this as not planned Won't fix, can't repro, duplicate, stale Sep 6, 2023
@KoBeWi KoBeWi added the archived label Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants