68f638cf02
Use (r)find_char instead of (r)find for single characters
2024-11-17 10:02:18 +01:00
5be53c36c0
Simplify some UID conversions
2024-11-14 23:22:59 +01:00
a751c05b15
Fix script editor wrongly replaces and quotes non-ASCII letters
2024-09-23 00:05:16 +08:00
d0a7dcd8c0
Merge pull request #96371 from KoBeWi/mentos
...
Improve dropping code in script editor
2024-09-03 16:14:02 +02:00
69888aabb8
Merge pull request #96179 from passivestar/mac-breakpoint-shortcuts
...
[macOS] Change breakpoint shortcuts to avoid conflicts
2024-09-03 11:43:31 +02:00
731fd1f0b9
Improve dropping code in script editor
2024-08-31 11:35:59 +02:00
b4c92dbd0e
Refactor toggling script list
2024-08-28 17:00:51 +02:00
d35bee9cdd
Merge pull request #94002 from kitbdev/fix-goto-error
...
Fix goto line issues in code editor
2024-08-27 22:27:25 +02:00
06baff5f01
[macOS] Change breakpoint shortcuts to avoid conflict with the settings shortcut
2024-08-27 23:12:32 +04:00
8bf4ecc026
Add String.is_valid_unicode_identifier()
...
- Adds `is_valid_unicode_identifier()`
- Adds `is_valid_ascii_identifier()`
- Deprecates `is_valid_identifier()`
- Renames `validate_identifier()` to `validate_ascii_identifier()`
2024-08-27 11:34:08 +08:00
06b17a4d2f
Fix goto line issues in code editor
2024-07-31 10:34:10 -04:00
063a362755
Editor: Consider tabs when calculating column for jump to error
2024-07-17 18:20:50 +03:00
fc16465d17
Fix dropping on selection in script editor
2024-07-04 19:42:38 -04:00
755a0efbb6
[Scene] Add SceneStringNames::id_pressed
2024-05-30 22:54:04 +02:00
aa147b74ea
Merge pull request #90664 from KoBeWi/shadowdropped_resource
...
Prevent crash when dropping Resource that can't load
2024-05-30 11:47:38 +02:00
838eb5a0fd
Merge pull request #87099 from bitwise-aiden/ba-add-trim-newlines
...
Implement `trim_final_newlines` setting and functionality
2024-05-30 11:47:28 +02:00
408228889f
Merge pull request #92223 from KoBeWi/do_people_really_copy_whole_shortcut_definitions_multiple_times_and_unironically_think_this_is_alright_ 🤔
...
Remove duplicate shortcut definitions
2024-05-22 09:27:00 +02:00
e34b97312e
Merge pull request #89630 from jsjtxietian/pick-color
...
Make "Pick Color"'s result less precise, keep only 3 decimals
2024-05-22 09:26:37 +02:00
e065d7132a
Remove duplicate shortcut definitions
2024-05-21 23:28:49 +02:00
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
955d5affa8
Reduce and prevent unnecessary random-access to List
...
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)
* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
b4c1634b52
Implement trim_final_newlines functionality
2024-05-02 22:57:34 -04:00
773a473807
Overhaul multiple caret editing in TextEdit.
...
Use a multicaret edit to delay merging overlapping carets until the end.
2024-04-26 14:26:10 -04:00
154f727c7a
Overhaul TextEdit selection.
...
The caret is now a part of the selection.
2024-04-26 14:24:10 -04:00
3a1246c198
Store line change in script navigation history
2024-04-25 23:22:47 +02:00
be0dc52718
Make "Pick Color"'s result less precise, keep only 3 decimals
2024-04-15 19:48:41 +08:00
64eff14a46
Prevent crash when dropping Resource that can't load
2024-04-14 15:26:53 +02:00
fcb0b8d0bf
Refactor check for overriden methods in inner classes
2024-03-26 22:14:57 +01:00
1d93a1fbb8
Fix missing gutter icon for inner class method overrides
2024-03-25 22:39:33 +01:00
05372773e1
Merge pull request #89599 from timothyqiu/vegetate
...
Fix unexpected auto translation of editor `Tree` content
2024-03-23 21:15:39 -07:00
1999b661d0
Merge pull request #89799 from timothyqiu/line-numbers
...
Translate "Line N" as a whole
2024-03-24 01:23:47 +01:00
9dadeac658
Translate "Line N" as a whole
2024-03-23 18:39:01 +08:00
de8b6f7a3c
Add editor settings for autocompletion with NodePath and StringName
2024-03-19 17:23:54 +02:00
8cd1ebbd6d
Fix unexpected auto translation of Tree content
2024-03-18 09:31:00 +08:00
4320d53a2b
Merge pull request #84907 from miv391/fix-gutter-error
...
Do not bother with line colors if `line_number_gutter` is not yet calculated
2024-03-04 20:43:30 +01:00
0fbc857e3f
Do not call _validate_script if editor is not enabled
2024-03-01 19:48:48 +02:00
1638c1b28f
Add const lvalue ref to editor/* container parameters
2024-02-26 15:28:15 -03:00
aeec3c1309
Add methods to add submenus without using names
2024-02-22 15:13:53 +01:00
9281c441f6
Improved text editor status bar and zooming UX.
2024-02-21 17:33:16 -06:00
09df8f4a56
Merge pull request #87952 from paulloz/dotnet/byebye-signal-callback-generation
...
Disable signal callback generation in C#
2024-02-15 15:44:55 +01:00
9fa2355cef
Disable signal callback generation in C#
2024-02-14 13:26:45 +01:00
48e2f43ccf
Merge pull request #87479 from kitbdev/apply-ime
...
Fix TextEdit IME issues
2024-02-13 17:23:55 +01:00
76170379b3
Merge pull request #86633 from rune-scape/regression-79882
...
Fix possible crash (use after free) in ScriptTextEditor
2024-02-13 11:24:51 +01:00
a6af442b05
Apply TextEdit IME on most actions
2024-01-29 15:07:19 -05:00
745f8e112f
Revert "Add UID support to GDScript files"
...
This reverts commit c7f68a27ec .
We still think GDScript files need UIDs to allow safe refactoring,
but we're still debating what form those should take exactly.
So far there seems to be agreement that it shouldn't be done via an
annotation as implemented here, so we're reverting this one for now,
to revisit the feature in a future PR.
2024-01-29 21:00:26 +01:00
15369fdb1d
Remove unnecessary this-> expressions
2024-01-29 09:59:18 +01:00
d3003c48b3
Merge pull request #67132 from KoBeWi/This_commit_message_is_auto-generated._Do_not_modify_it-
...
Add UID support to GDScript files
2024-01-18 16:33:14 +01:00
c7f68a27ec
Add UID support to GDScript files
2024-01-17 22:30:56 +01:00
c027aecc2e
Merge pull request #86676 from rune-scape/sparse-script-reload
...
GDScript: Hot-reload changed scripts only
2024-01-17 18:52:54 +01:00
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