summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-2/+2
| | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* Fixup last commit, change misleading CodeEditor for consistencyRémi Verschelde2021-12-091-3/+3
|
* align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke2021-12-091-3/+3
|
* ScrollContainer's scrollbar visibility is now enumkobewi2021-12-071-1/+1
|
* Make delete_lines work correctly regardless of the selectionator-dev2021-11-261-1/+1
|
* Use "enum class" for input enumsAaron Franke2021-11-121-9/+9
|
* Add option to make selection uniqueConteZero2021-10-271-0/+1
|
* Improve GDScript Editor and Improve latencyGordon MacPherson2021-09-211-8/+1
| | | | | | | | | 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
* Merge pull request #52655 from Chaosus/toggle_scripts_panelRémi Verschelde2021-09-171-8/+5
|\
| * Added status bar and toggle scripts panel button to EditorHelp/VScriptsYuri Roubinsky2021-09-151-8/+5
| |
* | Tweak the script editor's line/column indicator for readabilityHugo Locurcio2021-09-141-4/+2
|/ | | | | | | - 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.
* Prevent error generates if `Delete Line` used on last line in CodeEditorYuri Roubinsky2021-09-141-1/+3
|
* Merge pull request #52662 from Chaosus/fix_bookmarksRémi Verschelde2021-09-141-1/+1
|\ | | | | Fix editor crash on pressing `Go to Previous Bookmark` menu button
| * Fix editor crash on pressing `Go to Previous Bookmark` menu buttonYuri Roubinsky2021-09-141-1/+1
| |
* | Fix Find Next shortcut not working when search bar is focusedThreeRhinosInAnElephantCostume2021-09-021-1/+21
|/
* Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz2021-08-231-5/+2
| | | | | | | | * `_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.
* Fix carret not following while debugging (Fix #51754)jmb4622021-08-161-3/+3
|
* Reorganise text editor settingsPaulb232021-08-161-31/+48
|
* Move CodeEdit theme overrides into EditorThemePaulb232021-08-131-34/+5
|
* Cleanup and bind remaing methods in TextEditPaulb232021-08-121-13/+9
|
* Cleanup and expose viewport / scrolling methodsPaulb232021-08-121-1/+1
|
* Cleanup TextEdit selection methodsPaulb232021-08-121-18/+18
|
* Expose and cleanup TextEdit line wrap APIPaulb232021-08-121-1/+1
|
* Cleanup and rename caret operationsPaulb232021-08-121-85/+85
|
* Move line length guidelines into CodeEditPaulb232021-08-011-3/+9
|
* Move brace matching into CodeEditPaulb232021-08-011-1/+1
|
* Move auto brace completion to CodeEditPaulb232021-08-011-9/+2
|
* Optimize theme change in code editorPouleyKetchoupp2021-07-301-0/+12
| | | | | Postpone applying the whole theme when a setting changes, to avoid updating everything many times when the whole editor theme is changed.
* Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-1/+1
|
* Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-3/+1
|
* Optimize StringName usagereduz2021-07-181-60/+60
| | | | | | | | | | | * 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.
* Script editor: Rename 'Clone Down' to 'Duplicate Selection'Rémi Verschelde2021-06-291-3/+3
| | | | Fixes #36670.
* Merge pull request #49719 from LightningAA/rename-node-is-ancestor-ofRémi Verschelde2021-06-291-1/+1
|\ | | | | Rename `is_a_parent_of()` to `is_ancestor_of()`
| * Rename `is_a_parent_of()` to `is_ancestor_of()`Lightning_A2021-06-211-1/+1
| |
* | Merge pull request #49650 from KoBeWi/FindReplaceCrashRémi Verschelde2021-06-241-0/+14
|\ \ | | | | | | Fix crash with FindReplaceBar
| * | Fix crash with FindReplaceBarkobewi2021-06-241-0/+14
| | |
* | | Move indent management to CodeEditPaulb232021-06-201-3/+3
| | |
* | | Added support for scripts reporting multiple errors to ScriptTextEditorEric M2021-06-191-22/+43
| |/ |/| | | | | Scripts can now report multiple errors to the scripting editors in the engine. UI elements were added to support multiple errors.
* | Merge pull request #49258 from megalobyte/editor-fixRémi Verschelde2021-06-171-4/+4
|\ \ | | | | | | Fixes for documentation search
| * | Documentation search fixesGregory Basile2021-06-161-4/+4
| |/ | | | | | | | | | | 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"
* | Merge pull request #49238 from Paulb23/code_edit_code_foldingRémi Verschelde2021-06-161-1/+2
|\ \ | |/ |/| Move code folding into CodeEdit and hide line hiding API
| * Move code folding into CodeEdit and hide line hiding APIPaulb232021-06-011-1/+2
| |
* | Move FindReplaceBar out of CodeTextEditorkobewi2021-06-081-12/+36
|/
* Move and expose Code Hint in CodeEditPaulb232021-06-011-3/+1
|
* Move and expose AutoComplete in CodeEditPaulb232021-06-011-13/+16
|
* Fix FindReplaceBar text_change signal binding after replace allPaulb232021-05-281-1/+1
|
* Add custom background line colour to TextEdit and remove marked linesPaulb232021-05-221-4/+30
|
* Change behavior of String.rightTomasz Chabora2021-05-201-3/+3
|
* Rename "Control" key to "Ctrl" and add "_pressed" suffix to all ↵Lightning_A2021-05-071-1/+1
| | | | InputEventWithModifiers properties/methods