virtualx-engine/scene
Rémi Verschelde 9a1ce8e6c3
LineEdit: Respect max_length by truncating text to append
When appending text (either via `set_text()` or by pasting from clipboard),
if the input would make the `LineEdit` exceed its configured `max_length`,
the input text is truncated to fit. The discard part is passed as a parameter
in the `text_change_rejected` signal.

Fixes #33321.
Fixes #41278.

Also cleaned up unimplemented `max_chars` property in `TextEdit`.

Co-authored-by: Tony-Goat <70238376+Tony-Goat@users.noreply.github.com>
2021-07-06 18:03:03 +02:00
..
2d Use PROPERTY_USAGE_NONE instead of 0 for no property usage 2021-07-01 14:13:27 -04:00
3d Remove leftovers from the DirectionalLight3D Optimized shadow depth range 2021-07-02 20:32:43 +02:00
animation Use PROPERTY_USAGE_NONE instead of 0 for no property usage 2021-07-01 14:13:27 -04:00
audio Fixes small typos and grammar correction 2021-03-12 19:05:16 +05:30
debugger Merge pull request #49719 from LightningAA/rename-node-is-ancestor-of 2021-06-29 12:07:25 +02:00
gui LineEdit: Respect max_length by truncating text to append 2021-07-06 18:03:03 +02:00
main Fix Render Info 2021-07-03 10:15:04 -03:00
resources Fix TileSet::CellNeighbor enum binding 2021-07-06 11:07:58 -03:00
register_scene_types.cpp Remove unused PhysicsShapeQueryResult3D & PhysicsShapeQueryResult2D 2021-07-05 11:16:11 -07:00
register_scene_types.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
scene_string_names.cpp Fix editor suffixes and degrees conversion 2021-06-30 12:38:25 -03:00
scene_string_names.h Remove clips_input() method and use clip_content 2021-06-25 15:46:37 +02:00
SCsub SCons: Add explicit dependencies on thirdparty code in cloned env 2020-12-18 10:29:34 +01:00