bcfc591f86
Reorganise text editor settings
2021-08-16 17:18:49 +01:00
b6f5912174
Move CodeEdit theme overrides into EditorTheme
2021-08-13 17:47:53 +01:00
ae4dcb8918
Cleanup and bind remaing methods in TextEdit
2021-08-12 11:43:35 +01:00
0a32a6907b
Cleanup and expose viewport / scrolling methods
2021-08-12 09:29:58 +01:00
9ec3e7f3d7
Cleanup TextEdit selection methods
2021-08-12 09:29:56 +01:00
7e70f9e0b9
Expose and cleanup TextEdit line wrap API
2021-08-12 09:29:16 +01:00
d5dcaee4c5
Cleanup and rename caret operations
2021-08-12 09:29:13 +01:00
8f900ac178
Move line length guidelines into CodeEdit
2021-08-01 12:06:33 +01:00
d1a1ad127e
Move brace matching into CodeEdit
2021-08-01 12:06:33 +01:00
12f0053555
Move auto brace completion to CodeEdit
2021-08-01 12:06:33 +01:00
edc858ad82
Optimize theme change in code editor
...
Postpone applying the whole theme when a setting changes, to avoid
updating everything many times when the whole editor theme is changed.
2021-07-30 10:40:59 -07:00
ac3322b0af
Use const references where possible for List range iterators
2021-07-25 12:22:25 +02:00
4e6efd1b07
Use C++ iterators for Lists in many situations
2021-07-23 17:38:28 -04:00
6631f66c2a
Optimize StringName usage
...
* Added a new macro SNAME() that constructs and caches a local stringname.
* Subsequent usages use the cached version.
* Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time.
* Replaced all theme usages by this new macro.
* Replace all signal emission usages by this new macro.
* Replace all call_deferred usages by this new macro.
This is part of ongoing work to optimize GUI and the editor.
2021-07-18 21:20:02 -03:00
d41f4aca77
Script editor: Rename 'Clone Down' to 'Duplicate Selection'
...
Fixes #36670 .
2021-06-29 12:14:24 +02:00
8fb7a9f023
Merge pull request #49719 from LightningAA/rename-node-is-ancestor-of
...
Rename `is_a_parent_of()` to `is_ancestor_of()`
2021-06-29 12:07:25 +02:00
cb8f045de8
Merge pull request #49650 from KoBeWi/FindReplaceCrash
...
Fix crash with FindReplaceBar
2021-06-24 19:21:01 +02:00
35a38717e2
Fix crash with FindReplaceBar
2021-06-24 15:38:29 +02:00
899e5f8685
Rename is_a_parent_of() to is_ancestor_of()
2021-06-21 08:39:28 -06:00
1a0cfc219b
Move indent management to CodeEdit
2021-06-20 20:00:54 +01:00
d0e78c86d7
Added support for scripts reporting multiple errors to ScriptTextEditor
...
Scripts can now report multiple errors to the scripting editors in the engine. UI elements were added to support multiple errors.
2021-06-19 22:20:30 +10:00
bb4c464fec
Merge pull request #49258 from megalobyte/editor-fix
...
Fixes for documentation search
2021-06-17 02:25:41 +02:00
341cb8da31
Merge pull request #49238 from Paulb23/code_edit_code_folding
...
Move code folding into CodeEdit and hide line hiding API
2021-06-16 20:11:39 +02:00
8ab13f8ace
Documentation search fixes
...
Updates rich_text_label so that the built-in documentation can be searched
Previously, it would only find the first result and would not select other results
Renames "_entered" functions to "_submitted"
2021-06-16 09:43:34 -07:00
da6aebeb4c
Move FindReplaceBar out of CodeTextEditor
2021-06-08 23:23:07 +02:00
5c618dd03d
Move code folding into CodeEdit and hide line hiding API
2021-06-01 17:07:01 +01:00
c1b9971ad8
Move and expose Code Hint in CodeEdit
2021-06-01 15:38:45 +01:00
1c16673798
Move and expose AutoComplete in CodeEdit
2021-06-01 15:38:45 +01:00
7860710d27
Fix FindReplaceBar text_change signal binding after replace all
2021-05-28 10:12:58 +01:00
00e10a842f
Add custom background line colour to TextEdit and remove marked lines
2021-05-22 14:41:55 +01:00
b1859510ab
Change behavior of String.right
2021-05-20 23:07:57 +02:00
97fecd1b69
Rename "Control" key to "Ctrl" and add "_pressed" suffix to all InputEventWithModifiers properties/methods
2021-05-07 14:00:50 -06:00
86822b187e
Rename LineEdit caret_* properties getters and setters to match property
2021-04-17 12:41:23 +01:00
a4d5664858
Fix: Selection Only in Find/Replace now preserves selection
2021-04-07 16:38:22 +02:00
504bc5cc67
Fix crashes in *_input functions
2021-04-05 08:52:21 +02:00
10d7fccb54
Rename ButtonList enum and members to MouseButton
2021-03-23 07:13:23 -04:00
b5334d14f7
Update copyright statements to 2021
...
Happy new year to the wonderful Godot community!
2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.
We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)
Here's to a great year 2021 for all Godot users 🎆
2021-01-01 20:19:21 +01:00
5b937d493f
Rename empty() to is_empty()
2020-12-28 10:39:56 +00:00
4b8b803931
Rename Control margin to offset
2020-12-23 06:25:56 +00:00
90bdba576a
Merge pull request #43742 from qarmin/editor_modules_default_values
...
Initialize class/struct variables with default values in platform/ and editor/
2020-12-08 15:53:42 +01:00
df6b061dbb
Rename CubeMesh BoxMesh
2020-12-05 11:48:26 +00:00
e1811b689b
Initialize class/struct variables with default values in platform/ and editor/
2020-12-02 16:09:11 +01:00
d936201a05
Reversed Toggle Script Button icon
2020-11-30 17:33:42 +03:00
3be31c4960
[Complex Text Layouts] Refactor TextEdit and CodeEdit controls.
2020-11-26 14:25:50 +02:00
99666de00f
[Complex Text Layouts] Refactor Font class, default themes and controls to use Text Server interface.
...
Implement interface mirroring.
Add TextLine and TextParagraph classes.
Handle UTF-16 input on macOS and Windows.
2020-11-26 14:25:48 +02:00
87fb2bde0c
Keep cursor relative position after multiline move
2020-11-11 18:29:32 +08:00
127458ed17
Reorganized core/ directory, it was too fatty already
...
-Removed FuncRef, since Callable makes it obsolete
-Removed int_types.h as its obsolete in c++11+
-Changed color names code
2020-11-07 20:17:12 -03:00
c0da97d29c
Remove breakpoints from editor settings
2020-09-10 20:35:28 +01:00
d18a90b8f0
Move ConnectionGutter to editor code_editor
2020-09-10 20:35:28 +01:00
4d7df24d46
Add main_gutter (breakpoints, bookmarks, execution lines) to code_edit
2020-09-10 20:35:28 +01:00