summaryrefslogtreecommitdiff
path: root/editor/project_export.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-07-06 12:49:27 +0200
committerRémi Verschelde <rverschelde@gmail.com>2021-07-06 18:03:03 +0200
commit9a1ce8e6c32534c3452f80d0245935498d97af66 (patch)
treea79c7b33801affed550bc20873a9d5ebc99d669d /editor/project_export.h
parentf56ae4045f73d7a532f0694860053f6356e9d29c (diff)
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>
Diffstat (limited to 'editor/project_export.h')
0 files changed, 0 insertions, 0 deletions