summaryrefslogtreecommitdiff
path: root/editor/code_editor.cpp
AgeCommit message (Collapse)Author
2022-01-05Prevent error emitting when clicking on error in code text editorYuri Roubinsky
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-09Fixup last commit, change misleading CodeEditor for consistencyRémi Verschelde
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-12-07ScrollContainer's scrollbar visibility is now enumkobewi
2021-11-26Make delete_lines work correctly regardless of the selectionator-dev
2021-11-12Use "enum class" for input enumsAaron Franke
2021-10-27Add option to make selection uniqueConteZero
2021-09-21Improve GDScript Editor and Improve latencyGordon MacPherson
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-17Merge pull request #52655 from Chaosus/toggle_scripts_panelRémi Verschelde
2021-09-15Added status bar and toggle scripts panel button to EditorHelp/VScriptsYuri Roubinsky
2021-09-14Tweak the script editor's line/column indicator for readabilityHugo Locurcio
- 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-14Prevent error generates if `Delete Line` used on last line in CodeEditorYuri Roubinsky
2021-09-14Merge pull request #52662 from Chaosus/fix_bookmarksRémi Verschelde
Fix editor crash on pressing `Go to Previous Bookmark` menu button
2021-09-14Fix editor crash on pressing `Go to Previous Bookmark` menu buttonYuri Roubinsky
2021-09-02Fix Find Next shortcut not working when search bar is focusedThreeRhinosInAnElephantCostume
2021-08-23Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz
* `_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-16Fix carret not following while debugging (Fix #51754)jmb462
2021-08-16Reorganise text editor settingsPaulb23
2021-08-13Move CodeEdit theme overrides into EditorThemePaulb23
2021-08-12Cleanup and bind remaing methods in TextEditPaulb23
2021-08-12Cleanup and expose viewport / scrolling methodsPaulb23
2021-08-12Cleanup TextEdit selection methodsPaulb23
2021-08-12Expose and cleanup TextEdit line wrap APIPaulb23
2021-08-12Cleanup and rename caret operationsPaulb23
2021-08-01Move line length guidelines into CodeEditPaulb23
2021-08-01Move brace matching into CodeEditPaulb23
2021-08-01Move auto brace completion to CodeEditPaulb23
2021-07-30Optimize theme change in code editorPouleyKetchoupp
Postpone applying the whole theme when a setting changes, to avoid updating everything many times when the whole editor theme is changed.
2021-07-25Use const references where possible for List range iteratorsRémi Verschelde
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-18Optimize StringName usagereduz
* 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-06-29Script editor: Rename 'Clone Down' to 'Duplicate Selection'Rémi Verschelde
Fixes #36670.
2021-06-29Merge pull request #49719 from LightningAA/rename-node-is-ancestor-ofRémi Verschelde
Rename `is_a_parent_of()` to `is_ancestor_of()`
2021-06-24Merge pull request #49650 from KoBeWi/FindReplaceCrashRémi Verschelde
Fix crash with FindReplaceBar
2021-06-24Fix crash with FindReplaceBarkobewi
2021-06-21Rename `is_a_parent_of()` to `is_ancestor_of()`Lightning_A
2021-06-20Move indent management to CodeEditPaulb23
2021-06-19Added support for scripts reporting multiple errors to ScriptTextEditorEric M
Scripts can now report multiple errors to the scripting editors in the engine. UI elements were added to support multiple errors.
2021-06-17Merge pull request #49258 from megalobyte/editor-fixRémi Verschelde
Fixes for documentation search
2021-06-16Merge pull request #49238 from Paulb23/code_edit_code_foldingRémi Verschelde
Move code folding into CodeEdit and hide line hiding API
2021-06-16Documentation search fixesGregory Basile
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-08Move FindReplaceBar out of CodeTextEditorkobewi
2021-06-01Move code folding into CodeEdit and hide line hiding APIPaulb23
2021-06-01Move and expose Code Hint in CodeEditPaulb23
2021-06-01Move and expose AutoComplete in CodeEditPaulb23
2021-05-28Fix FindReplaceBar text_change signal binding after replace allPaulb23
2021-05-22Add custom background line colour to TextEdit and remove marked linesPaulb23
2021-05-20Change behavior of String.rightTomasz Chabora