Mounir Tohami
f84f734696
Expose LineEdit
edit
and unedit
methods.
2024-10-04 10:37:33 +00:00
David Snopek
36293a2dbf
Fix renaming nodes on X11
2024-09-25 09:05:51 -05:00
Rémi Verschelde
77f779d326
Merge pull request #97167 from MewPurPur/reveal-undoredo
...
Expose `has_undo()` and `has_redo()` of LineEdit
2024-09-20 16:26:32 +02:00
Haoyu Qiu
14321b8ed5
Set auto translate mode for drag previews
...
- Controls
- `LineEdit`, `TextEdit`: Always disabled since it's dragging user input.
- `TabBar`: Use the same auto translate mode as the node.
- `RichTextLabel`: Always disable since auto translation is done
differently from other controls (selection text you get
programmatically is always after auto translation).
- Editor
- Disable drag preview auto translation if the text is user input,
filename, or class name.
- Also disabled unexpected auto translation for audio bus effect names.
2024-09-19 19:21:29 +08:00
MewPurPur
f7a7ecc10a
Expose has_undo() and has_redo() of LineEdit
2024-09-19 13:18:04 +03:00
David Snopek
b1871cdabf
Fix project manager stealing focus on i3
2024-09-16 16:55:57 -05:00
bruvzg
b776f55bcb
Add Control+Shift+U (rebindabe) action for Unicode input, show hex as it is entered.
2024-09-12 11:47:24 +03:00
Mounir Tohami
c36f466a4c
Prevent LineEdit
from losing focus when text is submitted or rejected.
2024-09-10 13:43:31 +00:00
Rémi Verschelde
f69de1c522
Merge pull request #96038 from kitbdev/fix-line-edit-caret-word-mode
...
Fix LineEdit word mode when there are no more words
2024-09-04 17:12:06 +02:00
rune-scape
154049ce17
StringName Dictionary keys
...
also added 'is_string()' method to Variant
and refactored many String type comparisons to use it instead
2024-08-29 13:39:27 -07:00
kit
3da4f457d0
Fix LineEdit word mode when there are no words
2024-08-24 12:28:18 -04:00
A Thousand Ships
832695eb2c
[Tests] Fix various unit tests on minimal builds
2024-07-18 15:17:28 +02:00
A Thousand Ships
fbb879debd
[Scene] Add SceneStringNames::text/value_changed
2024-06-19 09:44:38 +02:00
bruvzg
d45b896673
Fix IME activation in subviewports.
2024-06-04 00:03:02 +03:00
A Thousand Ships
755a0efbb6
[Scene] Add SceneStringNames::id_pressed
2024-05-30 22:54:04 +02:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
aaronp64
3337c160a4
Update LineEdit to include read_only StyleBox in get_minimum_size()
...
Fixes #90522
2024-04-29 14:43:16 -04:00
kobewi
0b877a9962
Expose is_part_of_edited_scene()
2024-04-26 11:49:38 +02:00
Rémi Verschelde
8e45506070
Merge pull request #85801 from HolonProduction/select-whole-words-line-edit
...
Allow dragging selection when selecting whole words in `LineEdit`
2024-03-01 14:55:53 +01:00
Michael Alexsander
d70c45b5c8
Add option to add built-in strings in the POT generation
2024-02-28 11:34:26 -03:00
kobewi
aeec3c1309
Add methods to add submenus without using names
2024-02-22 15:13:53 +01:00
kobewi
a031911c82
Use check_changed_settings_in_group() everywhere
2024-02-19 21:34:45 +01:00
passivestar
c2a4a0d4cb
Fix LineEdit
delete all the way to the left/right when something is selected
2024-02-18 11:58:37 +04:00
Rémi Verschelde
21f0529aa9
Revert "Update Node::get_configuration_warnings signature"
...
This reverts commit d3852deaa4
.
2024-02-17 19:03:21 +01:00
Rémi Verschelde
768ab25562
Merge pull request #88057 from passivestar/cmd-backspace-lineedit
...
Fix LineEdit behavior for deleting all the way to the left/right
2024-02-13 17:24:18 +01:00
RedMser
d3852deaa4
Update Node::get_configuration_warnings signature
2024-02-08 23:05:20 +01:00
passivestar
2c0d0c1473
Fix LineEdit behavior for deleting all the way to the left/right
2024-02-07 16:29:32 +04:00
HolonProduction
da6bacbc4a
Allow dragging selection when selecting whole words in LineEdit
2024-02-05 20:30:53 +01:00
Rémi Verschelde
3482da422d
Merge pull request #87012 from TheSofox/line-edit-undo-caret-fix
...
Fix `LineEdit` caret rendering/positioning on Undo.
2024-01-15 13:27:02 +01:00
Sofox
6888d957dc
Fix LineEdit caret rendering/positioning on Undo.
2024-01-09 17:14:55 +00:00
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
Rémi Verschelde
50a073cb0e
Merge pull request #86732 from TheSofox/line-edit-delete-fix
...
Make `LineEdit` scrolling show as much text as possible
2024-01-04 14:26:30 +01:00
Sofox
8661667dde
Make LineEdit scrolling show as much text as possible
2024-01-04 04:13:35 +00:00
Mateus Reis
cab48493d8
Fix double text_changed signal when overwriting selection in LineEdit
...
The part of gui_input that handles unicode wasn't checking
text_changed_dirty before emitting the signal, unlike the rest of the text editing functions.
Fixes #86451
2023-12-24 14:23:01 +02:00
bruvzg
56579f397d
[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback.
2023-12-04 08:21:42 +02:00
BlueCube3310
bd67e0a0bc
Change dropdown type filter to Texture2D in certain nodes
2023-10-28 17:39:47 +02:00
jsjtxietian
6950aab078
Make LineEdit secret character easier to change and enter
...
1. Allow values longer than 1 character in the property,
but trim characters after the first one.
2. Allow empty strings, this acts like if a space was used as a secret character,
so that an error isn't printed when you erase all characters in the property.
2023-10-19 21:32:38 +08:00
kobewi
1fee40a189
Accept cancel event when unfocusing LineEdit
2023-10-06 16:00:56 +02:00
Rémi Verschelde
3075e4ef1d
Merge pull request #82811 from MewPurPur/more-line-edit-organization
...
Place LineEdit secret in its own section
2023-10-06 12:52:58 +02:00
MewPurPur
dc2e0aab6f
Place LineEdit secret in its own section
2023-10-04 22:41:45 +03:00
ajreckof
6afadbaa9f
Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform
2023-09-19 10:29:07 +02:00
Rémi Verschelde
d08401236c
Merge pull request #81312 from YuriSizov/theme-static-binds
...
Register theme properties with ThemeDB
2023-09-11 15:38:06 +02:00
Yuri Sizov
2924bfd4d3
Register theme properties with ThemeDB
2023-09-11 13:45:23 +02:00
kobewi
db4daa5249
Fix FindReplaceBar losing focus too early
2023-09-08 14:46:34 +02:00
bruvzg
6a1fdc213c
[LineEdit] Update line edit offset on text delete.
2023-09-08 08:58:51 +03:00
kobewi
e21c30ec11
Unfocus LineEdit when pressing Escape
2023-08-29 14:53:49 +02:00
bruvzg
5453503697
[Text Server] Store extra spacing of individual font variations.
2023-08-24 11:58:12 +03:00
bruvzg
5d3fcc5766
[TextServer] Fix system font fallback and caret/selection behavior for composite characters.
2023-08-15 11:42:40 +03:00
unknown
cfe98c57b9
Add drag and drop option for line edit and rich text label
2023-07-19 22:18:34 -04:00
kobewi
968c5f6247
Preserve selection when focusing SpinBox
2023-06-10 21:29:24 +02:00