-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
Double clicking on a word can select prior not character symbol #69254
Comments
I searched for similar issue with : And only one related I found was a graphical issue : |
Found #56402 which is similar but restricted to $ |
I found that putting space before things is an acceptable workaround ; |
In fact I was chocked because Godot 3.5.x do not behave like that... it feels like some regression to me. |
You can change the list of non-word characters for the purpose of text navigation/selection in the Editor Settings, but I agree the default value should be changed to get the 3.x behavior back. Feel free to open a pull request for this 🙂 |
I can't find any setting. This seems to be caused by A way to solve this would be to add Differences between the two functions:
|
This also affects using ctrl+left/ctrl+shift+left/ctrl+backspace to move/select/delete the word to the left. On more than one occasion, this has introduced a bug: an inadvertent change of a (And on many occasions it has caused a In addition, presumably due the same cause, there is a discrepancy when editing GDScript code between |
CC @bruvzg |
(4.2 beta5 tests) As I can see, most work properly but when there is several ponctuation characters before selection ; exemples : |
Godot version
4.0-beta6
System information
Windows 10
Issue description
Word selection is not stopping to some symbols on left of word (tested +=>$) if prior symbol of this character is not a word or spacing character which is not very practical for most of them ; no problem with ,!-<%;* however.
It seems to be right too in Label and RichTextLabel text edit box... but there rules could be different ?
I tested too €uro, ₩on, ¥en as examples, but those characters arez similar to letters and I am less anoyed to see them selected...
Steps to reproduce
Just open any script, exit any Label or RichTextLabel text and type examples below,
then double-click on word in order to select it :
Minimal reproduction project
Any project, in any script or Label text edit box, or RighTextLabel text edit box
The text was updated successfully, but these errors were encountered: