[TextEdit / LineEdit] Add support for OEM Alt codes input.
In addition to existing Unicode Alt codes (Alt + Num+ + hex code):
- Adds support for OEM (CP437) Alt codes (
Alt+ dec code without leading zero). - Adds support for Windows (CP1252) Alt codes (
Alt+ dec code with leading zero). - Codes greater than
255produces Unicode characters.
Fixes https://github.com/godotengine/godot-proposals/issues/9981 Fixes https://github.com/godotengine/godot/issues/83294
How come it's a draft?
@bruvzg Could you look into rebasing this so I can review it?
Unicode Alt input was previously changed to display input code as uXXXX, so I have updated this to do the same for OEM/Win codes as well for consistency (displayed as oXXX and wXXX).
I suggest adding these notes to TextEdit.xml and LineEdit.xml at the end of their class description (before other notes)
Added.
I'm make a app with code scanner, this feature was very useful. need this.
Thanks!