summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #88546 from bruvzg/indent_wrapRémi Verschelde2024-03-051-0/+1
|\ | | | | | | [TextEdit] Add support for optional wrapped line indentation.
| * [TextEdit] Add support for optional wrapped line indentation.bruvzg2024-02-261-0/+1
| |
* | Merge pull request #79387 from HolonProduction/completion-update-keep-openRémi Verschelde2024-03-041-3/+0
|\ \ | | | | | | | | | Update completion menu even if no options exist
| * | Update completion menu even if no options existHolonProduction2024-02-051-3/+0
| | |
* | | Fixed the text editor theme not being applied on editor start.Zi Ye2024-02-251-5/+0
| |/ |/|
* | Improved text editor status bar and zooming UX.Zi Ye2024-02-211-139/+126
| |
* | Use check_changed_settings_in_group() everywherekobewi2024-02-191-2/+12
|/
* Reorganize code related to editor themingYuri Sizov2024-01-161-1/+1
| | | | | | | | | | | | | 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.
* Update deferred calls to use Callableskobewi2024-01-091-7/+7
|
* Add const references detected by clang-tidyWilson E. Alvarez2023-12-161-2/+2
|
* Search terms are now highlighted when the bar opens with a selection.Brian MacIntosh2023-10-301-30/+20
| | | | This is achieved by triggering a search when the bar opens. This is slightly inefficient but cleanly updates everything that's dependent on the search and reduces code duplication.
* Fix unable to uncomment code in text shader editorjsjtxietian2023-10-241-2/+2
|
* Add bulk change guards to successive theme overrides in Editor and GUIYuri Sizov2023-10-191-6/+10
|
* Fix close button in FindReplaceBarkobewi2023-10-161-1/+1
|
* Merge pull request #83382 from Lunarisnia/fix/diff-comment-delimiterRémi Verschelde2023-10-161-1/+2
|\ | | | | | | Fix multiple comment delimiter break toggle comment shortcut
| * Fix multiple comment delimiter break toggle comment shortcutLunarisnia2023-10-161-1/+2
| |
* | Fix FindReplaceBar focus problemskobewi2023-10-161-3/+12
|/
* Highlight doc comments in a different colorDanil Alexeev2023-10-081-0/+3
|
* "Whole Words" search can detect word boundaries inside the search term.Brian MacIntosh2023-10-021-2/+5
| | | | For example, searching for ".func" will now match in "a.func" even with Whole Words enabled.
* Merge pull request #81486 from ↵Rémi Verschelde2023-09-261-2/+11
|\ | | | | | | | | | | jsjtxietian/Ignoring-empty-lines--when-uncommenting Ignore empty lines when uncommenting code
| * Ignore empty lines when commenting/uncommenting codejsjtxietian2023-09-201-2/+11
| |
* | Add Duplicate Lines shortcut to CodeTextEditorPucklaMotzer092023-09-251-0/+5
|/ | | | 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.
* Merge pull request #80573 from KoBeWi/2k_lines_of_changes_created_at_2AMYuri Sizov2023-09-061-38/+39
|\ | | | | | | Add EditorStringNames singleton
| * Add EditorStringNames singletonkobewi2023-09-031-38/+39
| |
* | Add coloring for completion of vector componentsYuri Rubinsky2023-08-301-1/+3
|/
* Merge pull request #79358 from timothyqiu/indentationYuri Sizov2023-07-311-1/+1
|\ | | | | | | Make indentation indicators translatable
| * Make indentation indicators translatableHaoyu Qiu2023-07-121-1/+1
| |
* | Merge pull request #68140 from quinnyo/auto-complete-optionYuri Sizov2023-07-121-1/+3
|\ \ | | | | | | | | | Add editor setting to toggle automatic code completion
| * | Add code_complete_enabled code editor settingquinnyo2023-06-211-1/+3
| | |
* | | Merge pull request #44557 from iwek7/improved_comment_toggleYuri Sizov2023-07-121-5/+6
|\ \ \ | | | | | | | | | | | | Improve `CodeEdit`'s toggle comments behavior
| * | | Update comment toggle behavior in CodeEditiwek2023-06-011-5/+6
| | | |
* | | | Merge pull request #79079 from stmSi/ESC-key-not-closing-FindReplaceBarYuri Sizov2023-07-121-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | Fix ESC (ui_cancel) not closing FindReplaceBar
| * | | Fix: ESC (ui_cancel) not closing FindReplaceBarstmSi2023-07-061-1/+1
| | |/ | |/|
* / | Translate "No match" message in FindReplaceBarHaoyu Qiu2023-07-021-1/+1
|/ /
* | [TextEdit] Expose all auto-wrap modes.bruvzg2023-06-131-0/+1
| |
* | Merge pull request #75746 from ajreckof/order_autocompleteRémi Verschelde2023-06-081-1/+1
|\ \ | | | | | | Sort code autocompletion with rules
| * | sort code completions with rulesajreckof2023-05-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixups Add levenshtein distance for comparisons, remove kind sort order, try to improve as many different use cases as possible Trying again to improve code completion Sort code autocompletion options by similarity based on input To make it really brief, uses a combination `String.similiary`, the category system introduced in a previous PR, and some filtering to yield more predictable results, instead of scattering every completion option at seemingly random. It also gives much higher priority to strings that contain the base in full, closer to the beginning or are perfect matches. Also moves CodeCompletionOptionCompare to code_edit.cpp Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com> Co-Authored-By: Eric M <41730826+EricEzaM@users.noreply.github.com>
* | | Enable bookmarks gutterkobewi2023-06-021-0/+1
| |/ |/|
* | Merge pull request #66763 from MewPurPur/remove-bookmark-hidingRémi Verschelde2023-05-291-1/+0
|\ \ | | | | | | | | | Remove editor setting for hiding bookmarks
| * | Remove editor setting for hiding bookmarksVolTer2022-11-021-1/+0
| | |
* | | Use defined key mapping for closing popups and dialogsArman Elgudzhyan2023-05-201-16/+4
| |/ |/| | | | | As opposed to hardcoding the escape key. Also removed such hardcoding in a few other places as well as a hardcoded enter key in one of the affected input fields.
* | Move convert_indent into CodeEditPaulb232023-05-071-105/+3
| |
* | Merge pull request #72288 from MewPurPur/use-string-repeatClay John2023-05-051-5/+1
|\ \ | | | | | | Use `String.repeat()` to optimize several String methods
| * | Use String.repeat() in more placesVolTer2023-05-011-5/+1
| | |
* | | Fix `line_spacing` in code editor will not take effect immediately on changeRindbee2023-04-241-0/+1
| | | | | | | | | | | | | | | Previously, in CodeTextEditor, `line_spacing` was forgotten to update when the editor setting property changed.
* | | Code style improvements to text_edit and relatedVolTer2023-04-081-27/+28
| | |
* | | Merge pull request #75070 from jmb462/74802Yuri Sizov2023-04-031-1/+7
|\ \ \ | | | | | | | | Fix commenting collapsed function issue
| * | | Fix commenting collapsed function issueJean-Michel Bernard2023-03-251-1/+7
| | | |
* | | | Fix off-by-one issue where Go to Line dialog shows the incorrect lineRon B. Yeh2023-03-301-8/+11
|/ / / | | | | | | | | | number (one less than the actual current line).
* | | Fix toggle comment not moving caretaXu-AP2023-02-161-2/+3
| | | | | | | | | | | | Fix regression if caret is at the beginning of the line and comment is toggled.