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

Text Selection Forced when using LineEdit/TextEdit #31183

Closed
rokasv opened this issue Aug 7, 2019 · 0 comments · Fixed by #31188
Closed

Text Selection Forced when using LineEdit/TextEdit #31183

rokasv opened this issue Aug 7, 2019 · 0 comments · Fixed by #31188

Comments

@rokasv
Copy link

rokasv commented Aug 7, 2019

Godot 3.1.1

I am interested in implementing a custom text input field.
To do this, I have 2 options:

  1. Use the functionality of LineEdit TextEdit and hide the styling
  2. Read input manually

If I go with LineEdit, I can update the text, however I am forced to support visuals for selections. Because It features many built-in shortcuts which will always be available.

In other words, I have no visuals for text selection and do not want to support it. However disabling this feature is not possible using LineEdit/TextEdit nodes.

Going with the other option gimps me in terms of supporting unicode characters, decoding which from scancode/unicode symbols is not doable (ąčęėįš codes do not convert into the appropriate string letters using PoolByteArray([event.unicode]).get_string_from_utf8() magic from here).

TL;DR: please allow disabling text selection and/or shortcuts available when editing text.

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.

3 participants