33e16435f5
Replace some problematic uses of String::num to String::num_int64
2025-01-15 12:51:51 -05:00
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
a1846b27ea
Improve use of Ref.is_null/valid
...
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
f41cd8ad52
Make Goto line a Popup and allow column input
2024-10-31 10:11:46 -04: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
99e997ae15
Make shader language editors inherit the same base class
2024-08-15 15:12:39 -07:00
06b17a4d2f
Fix goto line issues in code editor
2024-07-31 10:34:10 -04:00
ca18a06ecb
[Scene] Add SceneStringNames::confirmed
2024-06-19 09:40:54 +02:00
926afccbd8
[Scene] Add SceneStringNames::panel
2024-05-30 22:54:50 +02:00
755a0efbb6
[Scene] Add SceneStringNames::id_pressed
2024-05-30 22:54:04 +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
f9dc62b265
Merge pull request #89806 from timothyqiu/smart-undo
...
Disable shader editor's undo/redo menu items when they do nothing
2024-05-28 15:48:20 +02:00
9eff940a64
Merge pull request #91549 from magian1127/4.0ChangeHighlightingStartKey
...
Resolve conflict between shader uniform tooltips `/**` and general annotation `/**/`.
2024-05-17 11:13:48 +02:00
bdefe53992
Merge pull request #91909 from KoBeWi/have_fun_reviewing_this
...
Use Core/Scene stringnames consistently
2024-05-14 12:07:03 +02:00
8a92615ba0
Resolve conflict between shader uniform tooltips "/**" and general annotation "/**/".
2024-05-14 15:32:47 +08:00
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
194c940e72
Merge pull request #91497 from magian1127/4.0fixShaderHighlighting
...
Fix shader highlighting the interruption in `color_region` caused by `disabled_branch_regions`.
2024-05-13 17:32:02 +02:00
107fd30ae7
Merge pull request #91647 from jsjtxietian/fix-uint-hightlight
...
Make native shader source visualizer highlight uint suffix
2024-05-07 09:04:55 +02:00
cff1111359
Make native shader source visualizer can highlight uint suffix
2024-05-07 14:18:48 +08: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
b851514b10
Fix uint's suffix is not highlighted in text shader editor
2024-05-03 21:45:53 +08:00
c538b30021
Fix shader highlighting the interruption in color_region caused by disabled_branch_regions.
2024-05-03 12:49:39 +08:00
b4c1634b52
Implement trim_final_newlines functionality
2024-05-02 22:57:34 -04:00
e19b808a7a
Merge pull request #86978 from kitbdev/multicaret-overhaul
...
Overhaul multicaret editing and selection in TextEdit
2024-04-30 17:03:04 +02: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
e3a7c751f2
Implement tooltips for shader uniform in the inspector.
...
using regular expressions
2024-04-26 17:48:11 +08:00
5a687e9e2c
Disable shader editor's undo/redo menu items when they do nothing
2024-03-23 21:23:24 +08:00
9dadeac658
Translate "Line N" as a whole
2024-03-23 18:39:01 +08:00
e770a38d00
Merge pull request #88742 from MajorMcDoom/text-editor-zoom
...
Fix the text editor theme not being applied on editor start
2024-02-27 10:17:47 +01:00
1638c1b28f
Add const lvalue ref to editor/* container parameters
2024-02-26 15:28:15 -03:00
ea401f9853
Fixed the text editor theme not being applied on editor start.
2024-02-25 14:42:48 -06: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
a031911c82
Use check_changed_settings_in_group() everywhere
2024-02-19 21:34:45 +01:00
48e2f43ccf
Merge pull request #87479 from kitbdev/apply-ime
...
Fix TextEdit IME issues
2024-02-13 17:23:55 +01:00
684752e75b
Replace error checks against size with is_empty
2024-02-09 12:50:15 +01:00
a6af442b05
Apply TextEdit IME on most actions
2024-01-29 15:07:19 -05: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
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
b04b546092
Fix node names of submenu items across the editor
...
Also removes some programmer remarks and fixes some docs.
2023-11-08 14:42:42 +01:00
d2e651f403
Add Duplicate Lines shortcut to CodeTextEditor
...
This keyboard shortcut has been made with inspiration from the VS Code keyboard shortcut editor.action.copyLinesDownAction. It duplicates all selected lines and inserts them below no matter where the caret is within the line.
2023-09-25 23:41:31 +02:00
8ecc0c4f47
Fix accessing editor theme items throughout the UI
...
This also exposes `EditorInterface::get_editor_theme`.
2023-09-15 14:51:01 +02:00
d50595c0e9
Fix shader text editor include file reloading
2023-09-07 14:35:26 +03:00
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +02:00
fca3ab5564
Deprecate project_settings_changed signal
2023-08-10 15:07:25 +02:00
de4a3fa151
Unify and streamline connecting to Resource changes
2023-07-17 19:35:57 +02:00
71b8a9d274
Fix comments and indentation in .gdshaderinc files
...
Fixes #78205
The handling of comments and indentation in the shader editor
wasn't considering shader include files.
2023-07-07 11:18:30 -03:00
a5d6152949
Make shader preprocessor keyword colors consistent
2023-07-06 17:56:26 +03:00