A Thousand Ships
331a43a9d8
Add String::remove_char(s) methods for performance and convenience
2025-03-10 13:19:28 +01:00
A Thousand Ships
466590d0ec
Use get_slicec instead of get_slice for single character splitters
2025-03-08 20:36:37 +01: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
Thaddeus Crews
1237536364
Merge pull request #102630 from KoBeWi/what_the_loop
...
Improve `_is_drop_valid()` code in EditorPropertyArray
2025-03-07 15:12:28 -06: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
风青山
62aa4a6f9e
Make EditorProperty and its child EditorProperties behave more like sibling nodes
...
Let `EditorProperty::gui_input()` no longer handle mouse events that
occur in the child EditorProperty rect.
2025-02-28 07:40:04 +08:00
kobewi
b9a60574b4
Improve _is_drop_valid() code in EditorPropertyArray
2025-02-09 20:36:14 +01:00
Malcolm Anderson
bbfbde99e9
Hide slider for array size selector in editor
...
Use `editing_integer` so that editor has step buttons
2025-02-04 16:04:02 -08:00
Thaddeus Crews
7d185473bf
Merge pull request #96623 from ajreckof/avoid-bubbling-up-changed-notification-when-on-new-item/key-of-dictionaries-to-avoid-inspector-whipeout-
...
Avoid bubbling up changed notification when on new item/key of dictionaries to avoid inspector wipeout.
2025-01-27 09:46:19 -06:00
Haoyu Qiu
4c4f29a490
Fix several i18n issues in editor
2025-01-26 16:41:10 +08:00
Thaddeus Crews
d6adc775a4
Merge pull request #89763 from ajreckof/fix-focus-on-reorder
...
Fix focus when reordering array
2025-01-16 17:17:42 -06:00
bruvzg
b8860f1c11
Fix non-typed Dictionary keys displayed as <null> in the inspector.
2025-01-09 11:38:17 +02:00
Rémi Verschelde
452f1fa0e9
Merge pull request #100512 from bruvzg/dict_keys
...
[Dictionary Property Editor] Use property editors instead of labels to display keys.
2025-01-07 00:45:00 +01:00
ajreckof
ba3f2bf4a3
Fix dictionary editor steals focus when reloading script.
2024-12-30 16:28:06 +01:00
Yufeng Ying
f241c1fda0
Remove unused header in editor.
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
2024-12-24 00:40:38 +08:00
Pāvels Nadtočajevs
1e982a49c3
[Dictionary Property Editor] Use property editors instead of labels to display keys.
2024-12-18 08:14:38 +02:00
A Thousand Ships
68f638cf02
Use (r)find_char instead of (r)find for single characters
2024-11-17 10:02:18 +01:00
Thaddeus Crews
f5431fe3f0
Merge pull request #98220 from bruvzg/dict_ed_fix
...
[Editor] Fix dictionary editor removing wrong keys and not updating key labels.
2024-11-15 10:42:37 -06:00
Aaron Franke
562c666e3d
Rename internal Button icon to button_icon to match exposed methods
2024-10-29 16:23:03 -07:00
bruvzg
cbc8468e3e
[Editor] Fix dictionary editor removing wrong keys and not updating key labels.
2024-10-16 10:35:39 +03:00
ajreckof
72f4394d8c
avoid bubbling up changed notification when on new item/key of dictionaries to avoid inspector whipeout.
2024-09-06 18:33:44 +02:00
Thaddeus Crews
9853a69144
Implement typed dictionaries
2024-09-04 10:27:26 -05:00
Rémi Verschelde
51c7ff86ff
Merge pull request #94522 from RoyBerardo/move-array-dict-remove-item
...
Make "Remove Item" appear at the top of the list when editing the value of an array or dictionary
2024-08-28 09:45:31 +02:00
kobewi
065dd099dd
Remove empty bind_methods()
2024-08-15 08:24:32 +02:00
ajreckof
6577a39bd0
Fix label update for dict on item deletion.
2024-08-10 23:25:46 +02:00
ajreckof
d113a68e43
fix focus on reorder array
2024-08-10 23:24:42 +02:00
ajreckof
f46e94d460
Fix Object encoded as id in dictionnaries to be represented as int in the inspector.
2024-07-22 09:53:03 +02:00
Roy Berardo
298432317d
Make "Remove Item" appear at the top of the list that appears when editing the type of value in an array or dictionary
2024-07-19 03:14:47 -07:00
kobewi
f0da5cac7b
Always call _can_handle() before _parse_property()
2024-06-26 13:10:08 +02:00
A Thousand Ships
fbb879debd
[Scene] Add SceneStringNames::text/value_changed
2024-06-19 09:44:38 +02:00
Valentin Cocaud
c31111f5ec
Editor: Focus value editor on type change in Dictionary and Array editors
2024-06-04 16:51:29 +02:00
A Thousand Ships
926afccbd8
[Scene] Add SceneStringNames::panel
2024-05-30 22:54:50 +02:00
A Thousand Ships
755a0efbb6
[Scene] Add SceneStringNames::id_pressed
2024-05-30 22:54:04 +02:00
Rémi Verschelde
25519867f2
Merge pull request #92225 from ajreckof/fix-multiline-array
...
Fix array variable with `@export_multiline` not registering changes.
2024-05-29 23:11:57 +02:00
ajreckof
f764c5336a
Fix crash on dictionary initialization after return to default in C#.
2024-05-25 11:12:10 +02:00
ajreckof
0e8abb5132
Fix array variable with@export_multiline not registering changes.
2024-05-21 22:57:32 +02:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed
2024-05-14 15:51:28 +02:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
ajreckof
114ab9dd04
fix infinite call loop on theme change.
...
Apply suggestions from code review
2024-05-13 14:39:02 +02:00
ajreckof
cba9606611
Add colored margin in Inspector for arrays and dictionaries.
...
Apply suggestions from code review
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
Co-Authored-By: Tomek <kobewi4e@gmail.com >
2024-05-03 10:56:23 +02:00
Danil Alexeev
a714cb9f65
Editor: Display deprecated/experimental messages in tooltips
2024-04-18 14:32:04 +03:00
Rémi Verschelde
e6d0d0b391
Merge pull request #89406 from AeioMuch/drag_drop_array_nodes
...
Allow batch drag and drop in typed array of Node and NodePath.
2024-04-06 13:06:18 +02:00
AeioMuch
409c71bdfd
Allow batch drag and drop in typed array of Node and NodePath.
2024-04-06 08:18:44 +02:00
ajreckof
866452c75e
Fix crash on invalid values in EditorPropertyArray/Dict
2024-04-05 16:42:21 +02:00
ajreckof
0331ecb527
Fix update property for dictionnaries so that it updates only what is necessary
2024-03-21 19:31:46 +01:00
Muller-Castro
1638c1b28f
Add const lvalue ref to editor/* container parameters
2024-02-26 15:28:15 -03:00
ajreckof
a8173439ef
Fix paste Value can empty a dictionary depending on right-click location
2024-02-26 06:53:40 +01:00
ajreckof
4f2074ebd9
Removing element in array will not change page when emptying page.
2024-02-23 20:41:32 +01:00
ajreckof
7f7d253e53
Dictionary Editor : keep the type of the last added item.
2024-02-21 17:44:05 +01:00
Yuri Sizov
95b27fe8c7
Reorganize code related to editor theming
...
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.
Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.
All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00