Commit Graph

1086 Commits

Author SHA1 Message Date
Thaddeus Crews 4e03f41779 Merge pull request #111156 from WhalesState/insp-groups
Group `virtual keyboard` and `word separators` properties in the inspector.
2025-10-20 18:09:39 -05:00
Thaddeus Crews 9e96c7d9b8 Merge pull request #110378 from timothyqiu/rtl-preview
Make text-related nodes translation domain aware
2025-10-16 12:48:05 -05:00
Mounir Tohami 2421dfaab3 Group virtual keyboard properties in the inspector 2025-10-02 14:15:10 +03:00
Thaddeus Crews caefb0f1c1 Merge pull request #110527 from WhalesState/text-edit-styles
Fix TextEdit `read_only` drawing.
2025-10-01 13:12:47 -05:00
Aaron Franke 9fbf5808a0 Rename server "free" functions to "free_rid" to match exposed API 2025-09-30 16:52:25 -07:00
Aaron Franke 1a7be001d2 Use const Array ref in set_structured_text_bidi_override_options 2025-09-26 14:31:38 -07:00
Mounir Tohami c07966583f Fix editor theme margins and TextEdit normal/read_only styles draw. 2025-09-24 20:42:22 +03:00
Thaddeus Crews 5db618a2db Merge pull request #109078 from WhalesState/text-edit-clipping
Fix TextEdit clips children and focus style.
2025-09-24 09:59:12 -05:00
Haoyu Qiu 172c80df67 Make text-related nodes translation domain aware
- Makes `is_layout_rtl()` translation domain aware
- Makes various text-drawing controls translation domain aware
- Makes translation preview use the project's fallback locale when disabled
2025-09-22 09:39:14 +08:00
Mounir Tohami b25e35cf58 Fix TextEdit styles and disable clipping.
Co-Authored-By: kit <kitbdev@gmail.com>
2025-09-21 07:32:30 +03:00
Michael Alexsander aeb3a45c97 Hide Control focus when given via mouse input 2025-09-19 13:43:29 -03:00
Thaddeus Crews 2c1ad5b07a Merge pull request #109031 from bruvzg/tab_spacing
Include `SPACING_SPACE` in tab stops calculation.
2025-09-19 09:17:00 -05:00
Pāvels Nadtočajevs 7368d148c1 [TextEdit] Fix text edit font update order. 2025-09-02 08:51:18 +03:00
aaronp64 019f4ab403 Update TextEdit to use center alignment for inline objects
Updated to use center alignment instead of top to avoid shifting the line of text up when adding an object.
2025-08-20 17:19:58 -04:00
Pāvels Nadtočajevs d13b5361b4 [TextServer] Fix caret hit test rounding. 2025-08-08 11:06:07 +03:00
Pāvels Nadtočajevs 3f757c41fc Update access-kit to 0.17.0 2025-07-29 08:37:01 +03:00
Pāvels Nadtočajevs 2409956297 Include SPACING_SPACE into tab stops calculation. 2025-07-27 21:26:36 +03:00
kit addae393a4 Fix TextEdit line wrap indent when disabled 2025-07-22 22:29:05 -04:00
Pāvels Nadtočajevs 8624134c89 [TextEdit] Draw guidelines under the text and caret. 2025-07-14 16:31:35 +03:00
kit 927208a92e Fix ScriptEditor line number in color objects 2025-07-09 16:18:57 -04:00
Thaddeus Crews d4fa7e15ed Merge pull request #106919 from kitbdev/fix-codeedit-hover-word-lookup
Fix CodeEdit hover word lookup
2025-06-18 18:13:43 -05:00
Marwen Azouzi 76d782d291 Fix IME window position not taking into account window transform 2025-06-11 17:43:21 +02:00
Michael Alexsander 454e4f817c Make build profile project detection also set build options 2025-06-03 11:11:33 -03:00
kit ebf71cd4f3 Fix CodeEdit hover word lookup 2025-05-28 18:35:15 -04:00
Thaddeus Crews da9fb81e1f Merge pull request #89556 from smntic/single-char
Fix words not being selected by endpoints
2025-05-15 14:53:24 -05:00
Thaddeus Crews 8b4dd7a34e Merge pull request #105724 from dugramen/recovery/split-commit
Add inline color pickers to script editor
2025-05-14 09:44:16 -05:00
Lukas Tenbrink 581e899785 Refactor TextEdit::search to be more robust to failure. 2025-05-14 10:16:42 +02:00
dugramen b9f59ae6ca Add color pickers to script editor 2025-05-13 18:03:21 -04: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
lawnjelly f8f350a32a Add GLOBAL_GET cached macros.
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +01:00
Thaddeus Crews fc1ffeb5e0 Merge pull request #105870 from bruvzg/te_margin_round
[TextEdit] Fix margin rounding at sub 100% scale.
2025-04-28 14:10:52 -05:00
Pāvels Nadtočajevs 1794098b47 [TextEdit] Fix margin rounding at sub 100% scale. 2025-04-28 17:22:58 +03:00
Pāvels Nadtočajevs fb99c01381 [TextEdit] Fix caret cut of in RTL layout, account for wrapped line indents in accessibility updates. 2025-04-28 11:22:33 +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
Jayden Sipe 292119dd68 Fix smooth scrolling tied to physics process 2025-04-11 17:14:25 -04: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
Thaddeus Crews 9bbda47794 Merge pull request #104776 from BrotherShort/TextEdit-VScroll-max-tolerance
Fix TextEdit VScroll max tolerance
2025-04-03 16:50:14 -05:00
BrotherShort 1077fdb15a fix TextEdit VScroll max tolerance
newline

Co-Authored-By: Kit Bishop <kitbdev@gmail.com>
2025-04-03 21:22:57 +08:00
Yufeng Ying 4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
kobewi 10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
Pāvels Nadtočajevs 2fb5059c63 [TextEdit] Use actual indentation offset instead of space width for wrapped lines. 2025-03-19 12:50:43 +02:00