Yuri Roubinsky
050f746e19
Fix theming update of shader editor
2022-01-25 12:10:07 +03:00
kobewi
1422c756ed
Rename request_code_completion signal
2022-01-22 14:04:35 +01:00
Yuri Roubinsky
eb95cdd690
Prevent error emitting when clicking on error in code text editor
2022-01-05 08:55:33 +03:00
Rémi Verschelde
fe52458154
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-03 21:27:34 +01:00
Nathan Franke
49403cbfa0
Replace String comparisons with "", String() to is_empty()
...
Also:
- Adds two stress tests to test_string.h
- Changes to .empty() on std::strings
2021-12-09 04:48:38 -06:00
Rémi Verschelde
31ded7e126
Fixup last commit, change misleading CodeEditor for consistency
2021-12-09 11:40:46 +01:00
Nathan Franke
41a20171eb
align to horizontal_alignment, valign to vertical_alignment, related
2021-12-09 01:38:46 -06:00
kobewi
841a9ef820
ScrollContainer's scrollbar visibility is now enum
2021-12-07 18:27:12 +01:00
ator-dev
3237950216
Make delete_lines work correctly regardless of the selection
2021-11-26 08:28:58 +00:00
Aaron Franke
3c0fdcc8ac
Use "enum class" for input enums
2021-11-12 15:37:54 -06:00
ConteZero
fbee4efa5f
Add option to make selection unique
2021-10-27 19:45:52 +02:00
Gordon MacPherson
1881b3adc5
Improve GDScript Editor and Improve latency
...
Improvements:
- GDScript Highlighter is faster by 25% as keys are smaller (hashes instead of strings)
- Removes message queue from _apply_settings_change to allow resize to work correctly
- Some performance fixes are pending still
Note: this resolves the code editor behaving badly when resizing in debug builds
2021-09-21 13:56:47 +02:00
Rémi Verschelde
949c268a68
Merge pull request #52655 from Chaosus/toggle_scripts_panel
2021-09-17 13:54:54 +02:00
Yuri Roubinsky
1dda47c280
Added status bar and toggle scripts panel button to EditorHelp/VScripts
2021-09-15 11:35:03 +03:00
Hugo Locurcio
1e8976fcb5
Tweak the script editor's line/column indicator for readability
...
- Use a colon instead of parentheses and a comma to reduce visual
clutter.
- Pad the line number with 4 spaces to account for scripts longer
than 999 lines.
2021-09-14 22:23:59 +02:00
Yuri Roubinsky
7ccbf49bda
Prevent error generates if Delete Line
used on last line in CodeEditor
2021-09-14 17:18:20 +03:00
Rémi Verschelde
ce8dbef6a0
Merge pull request #52662 from Chaosus/fix_bookmarks
...
Fix editor crash on pressing `Go to Previous Bookmark` menu button
2021-09-14 14:13:00 +02:00
Yuri Roubinsky
6a9e855af9
Fix editor crash on pressing Go to Previous Bookmark
menu button
2021-09-14 14:21:51 +03:00
ThreeRhinosInAnElephantCostume
a442b06313
Fix Find Next shortcut not working when search bar is focused
2021-09-02 09:54:26 +02:00
reduz
5cecdfa8af
Entirely removes BIND_VMETHOD in favor of GDVIRTUAL
...
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions.
* Everything else converted to GDVIRTUAL
* BIND_VMETHOD is gone, always use the new syntax from now on.
Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
2021-08-23 08:10:13 -03:00
jmb462
838f0d49e3
Fix carret not following while debugging ( Fix #51754 )
2021-08-16 23:12:46 +02:00
Paulb23
bcfc591f86
Reorganise text editor settings
2021-08-16 17:18:49 +01:00
Paulb23
b6f5912174
Move CodeEdit theme overrides into EditorTheme
2021-08-13 17:47:53 +01:00
Paulb23
ae4dcb8918
Cleanup and bind remaing methods in TextEdit
2021-08-12 11:43:35 +01:00
Paulb23
0a32a6907b
Cleanup and expose viewport / scrolling methods
2021-08-12 09:29:58 +01:00
Paulb23
9ec3e7f3d7
Cleanup TextEdit selection methods
2021-08-12 09:29:56 +01:00
Paulb23
7e70f9e0b9
Expose and cleanup TextEdit line wrap API
2021-08-12 09:29:16 +01:00
Paulb23
d5dcaee4c5
Cleanup and rename caret operations
2021-08-12 09:29:13 +01:00
Paulb23
8f900ac178
Move line length guidelines into CodeEdit
2021-08-01 12:06:33 +01:00
Paulb23
d1a1ad127e
Move brace matching into CodeEdit
2021-08-01 12:06:33 +01:00
Paulb23
12f0053555
Move auto brace completion to CodeEdit
2021-08-01 12:06:33 +01:00
PouleyKetchoupp
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
Rémi Verschelde
ac3322b0af
Use const references where possible for List range iterators
2021-07-25 12:22:25 +02:00
Aaron Franke
4e6efd1b07
Use C++ iterators for Lists in many situations
2021-07-23 17:38:28 -04:00
reduz
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
Rémi Verschelde
d41f4aca77
Script editor: Rename 'Clone Down' to 'Duplicate Selection'
...
Fixes #36670 .
2021-06-29 12:14:24 +02:00
Rémi Verschelde
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
Rémi Verschelde
cb8f045de8
Merge pull request #49650 from KoBeWi/FindReplaceCrash
...
Fix crash with FindReplaceBar
2021-06-24 19:21:01 +02:00
kobewi
35a38717e2
Fix crash with FindReplaceBar
2021-06-24 15:38:29 +02:00
Lightning_A
899e5f8685
Rename is_a_parent_of()
to is_ancestor_of()
2021-06-21 08:39:28 -06:00
Paulb23
1a0cfc219b
Move indent management to CodeEdit
2021-06-20 20:00:54 +01:00
Eric M
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
Rémi Verschelde
bb4c464fec
Merge pull request #49258 from megalobyte/editor-fix
...
Fixes for documentation search
2021-06-17 02:25:41 +02:00
Rémi Verschelde
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
Gregory Basile
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
kobewi
da6aebeb4c
Move FindReplaceBar out of CodeTextEditor
2021-06-08 23:23:07 +02:00
Paulb23
5c618dd03d
Move code folding into CodeEdit and hide line hiding API
2021-06-01 17:07:01 +01:00
Paulb23
c1b9971ad8
Move and expose Code Hint in CodeEdit
2021-06-01 15:38:45 +01:00
Paulb23
1c16673798
Move and expose AutoComplete in CodeEdit
2021-06-01 15:38:45 +01:00
Paulb23
7860710d27
Fix FindReplaceBar text_change signal binding after replace all
2021-05-28 10:12:58 +01:00