Commit graph

476 commits

Author SHA1 Message Date
Artemy Fedotov
40d56c98bc
Fix LineEdit's placeholder text being selected when double clicking 2025-09-25 12:05:48 +04:00
Michael Alexsander
aeb3a45c97
Hide Control focus when given via mouse input 2025-09-19 13:43:29 -03:00
Thaddeus Crews
ebb51d1f7d
Merge pull request #109363 from Giganzo/line_edit_rtl_icon
Fix LineEdit icon positon in right-to-left layout
2025-09-16 09:48:58 -05:00
Pāvels Nadtočajevs
67f80aaa23
[LineEdit] Fix double click not selecting single character words. 2025-08-13 10:42:46 +03:00
Pāvels Nadtočajevs
d13b5361b4
[TextServer] Fix caret hit test rounding. 2025-08-08 11:06:07 +03:00
Giganzo
fbf27dbfc6 Fix LineEdit icon positon in right-to-left layout 2025-08-06 21:55:37 +02:00
Giganzo
e3232b226d Fix LineEdit center alignment 2025-08-05 10:05:45 +02:00
A Thousand Ships
f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Thaddeus Crews
a39a83a990
Merge pull request #106526 from roughbits01/line-edit-select-all-web
[Web] Fix `LineEdit` `select_all_on_focus` behavior when using a virtual keyboard
2025-06-27 09:39:58 -05:00
Haoyu Qiu
a7ab249a2a Make PROPERTY_HINT_GROUP_ENABLE hide properties by default 2025-06-16 20:03:49 +08:00
Rémi Verschelde
c3ce623b54
Merge pull request #107413 from roughbits01/fix-ime-window-position
Fix IME window position not taking into account window transform
2025-06-12 11:56:50 +02:00
LuoZhihao
8ba4656ea3 Compile out editor-only logic within validate_property in games 2025-06-12 12:54:19 +08:00
Marwen Azouzi
76d782d291
Fix IME window position not taking into account window transform 2025-06-11 17:43:21 +02:00
Marwen Azouzi
402a527827
Fix select_all_on_focus behaviour on web export with virtual keyboard 2025-06-10 13:18:59 +02:00
Marwen Azouzi
5cba0b22e9
Fix LineEdit's caret desyncing issue when toggling secret mode 2025-06-05 10:01:11 +02:00
Thaddeus Crews
56b492d154
Merge pull request #107055 from roughbits01/line-edit-drag-selection
Fix LineEdit continues to force showing the caret after drag is aborted
2025-06-04 10:34:34 -05:00
Thaddeus Crews
2a74c5e521
Merge pull request #106729 from roughbits01/line-edit-vk-keep_editing_on_text_submit
Keep virtual keyboard visible when `keep_editing_on_text_submit` is enabled
2025-06-04 10:34:29 -05:00
Marwen Azouzi
3e1e686d31
Fix LineEdit forcing caret to show after aborted selection drag 2025-06-04 00:24:45 +02:00
Michael Alexsander
454e4f817c
Make build profile project detection also set build options 2025-06-03 11:11:33 -03:00
Marwen Azouzi
873833b4a7
Remove redundant queue_redraw() & fix typo 2025-05-29 17:22:32 +02:00
Marwen Azouzi
f03943f37b
[Web] Keep virtual keyboard visible when keep_editing_on_text_submit is enabled 2025-05-27 17:16:51 +02:00
Logan Detrick
1a427d3dec Add feature hint string and "On" text for checkable groups 2025-05-21 14:56:55 -07:00
Marwen Azouzi
296bee6bce
Fix LineEdit with secret checked reveals the secret when a selection is dragged 2025-05-19 08:52:45 +02:00
Thaddeus Crews
cc5857728d
Merge pull request #106114 from m4gr3d/disable_auto_keyboard_popup
Add property to control showing the virtual keyboard on focus events
2025-05-06 08:37:40 -05:00
Fredia Huya-Kouadio
f29feac7a5 Add a LineEdit / TextEdit property to control whether the virtual keyboard should show on focus 2025-05-05 22:01:34 -04:00
Danil Alexeev
413cb795cd
Move alt_code_oem437 and alt_code_cp1252 to separate header file 2025-05-03 11:52:49 +03:00
Thaddeus Crews
3947cbe3b2
Merge pull request #104386 from Repiteo/core/cpp-math
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
Thaddeus Crews
d9122205ec
Merge pull request #105656 from Koyper/fix_line_edit_text_edit_composite_character_backspace_delete
[LineEdit/TextEdit] Add composite character backspace delete and get composite character positions
2025-04-24 09:09:30 -05:00
Koyper
b668f45fd0 Fix LineEdit and TextEdit composite character backspace delete. 2025-04-23 15:14:09 -05:00
Pāvels Nadtočajevs
5b49fd4207
Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default. 2025-04-23 12:47:31 +03:00
Thaddeus Crews
ad40939b6f
Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Thaddeus Crews
717df3ee88
Merge pull request #105249 from Repiteo/core/math-defs-namespace
Core: Use `Math` namespace for constants
2025-04-11 09:51:04 -05:00
Thaddeus Crews
94282d88f9
Core: Use Math namespace for constants 2025-04-10 16:29:30 -05:00
bruvzg
aa0ade5b49
[TextEdit / LineEdit] Add support for OEM Alt codes input. 2025-04-10 08:52:19 +03:00
Pāvels Nadtočajevs
b106dfd4f9
Base accessibility API. 2025-04-08 20:14:28 +03:00
Aryombre
209189b969 fix selection in LineEdit 2025-03-19 10:50:47 +01:00
Rémi Verschelde
cbb1e0ef7a
Merge pull request #103653 from dugramen/popup_respect_scale
Apply transforms for LineEdit, RichTextLabel, and TextEdit popup positions
2025-03-12 22:56:58 +01:00
dugramen
ad812cf29d Apply transform for LineEdit, RichTextLabel, and TextEdit popup positions 2025-03-08 17:57:44 -05:00
Thaddeus Crews
3c43508ed7
Merge pull request #102427 from AThousandShips/fix_substr
Clean up some uses of `String::substr`
2025-03-07 15:12:33 -06:00
kobewi
92ab92114e Don't duplicate internal nodes 2025-03-07 16:08:53 +01:00
A Thousand Ships
5113022dfe
Clean up some uses of String::substr
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
kobewi
6d2f18c6c6 Fix caret_force_displayed 2025-03-03 15:58:58 +01:00
Pāvels Nadtočajevs
84a2e3fdb0 [IME] Do not redraw and move caret on IME update w/o text/position changes. 2025-02-20 08:23:50 +02:00
A Thousand Ships
5dcab0e606
Prevent some internal nodes being duplicated in Controls 2025-02-10 13:27:08 +01:00
Pāvels Nadtočajevs
b252867145 [macOS/Windows] Add Emoji & Symbols context menu item to LineEdit/TextEdit to show system character picker. 2025-01-10 09:25:34 +02:00
Rémi Verschelde
07093c4a34 Merge pull request #100275 from KoBeWi/highest_level_clearance
Don't emit `text_changed` signal when clearing empty LineEdit
2025-01-07 23:17:13 +01:00
Rémi Verschelde
703552c51b
Merge pull request #100240 from WhalesState/line-edit-focus
`LineEdit` add member `keep_editing_on_text_submit`
2025-01-03 00:48:34 +01:00
Mounir Tohami
e89c196a80 LineEdit add member keep_editing_on_text_submit.
Allow users to exit edit mode when Enter is pressed.
2025-01-02 23:41:27 +02:00
Yufeng Ying
73d85f46c9 Remove unused headers in scene.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
kobewi
b8b1584f5a Don't emit text_changed signal when clearing empty LineEdit 2024-12-11 14:16:36 +01:00