summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | 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 🎆
* Add and convert editor to use CodeEditPaulb232020-09-101-8/+8
|
* Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighterPaulb232020-07-111-0/+3
| | | | | | | | - Extacted all syntax highlighting code from text edit - Removed enable syntax highlighting from text edit - Added line_edited_from signal to text_edit - Renamed get/set_syntax_highlighting to get/set_syntax_highlighter - Added EditorSyntaxHighligher
* Add override keywords.Marcel Admiraal2020-07-101-1/+1
|
* Remove ToolButton in favor of ButtonHugo Locurcio2020-06-191-5/+4
| | | | | | | | | | | ToolButton has no redeeming differences with Button; it's just a Button with the Flat property enabled by default. Removing it avoids some confusion when creating GUIs. Existing ToolButtons will be converted to Buttons, but the Flat property won't be enabled automatically. This closes https://github.com/godotengine/godot-proposals/issues/1081.
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-3/+0
| | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* Texture refactorJuan Linietsky2020-02-111-1/+1
| | | | | | | | -Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Fix toggle scripts panel to allow using shortcut in other areasYuri Roubinsky2019-12-171-0/+1
|
* Prevent showing toggle scripts panel switch in shader editorYuri Roubinsky2019-12-171-0/+2
|
* Moves switch for show scripts panel from File menu to status barYuri Roubinsky2019-12-151-0/+2
|
* Fixes Delete Line doesn't delete first line in scriptHaoyu Qiu2019-12-091-0/+2
| | | | | | | | | | | | | | | | Also, match multi-line delete behavior in script with single line: If there are four lines: A, B, C, D. Before the change: Delete C: Cursor lands on D Delete B and C: Cursor lands on A After the change: Delete C: Cursor lands on D Delete B and C: Cursor lands on D
* Tweak the behavior of search/replace barTomasz Chabora2019-08-131-2/+2
|
* Make the script search have a proper matches counterMichael Alexsander Silva Dias2019-08-131-0/+2
|
* Display a count of matches when searching in the code editorBojidar Marinov2019-07-081-0/+2
| | | | Fixes #14513
* Show icons for code completion optionsGeequlim2019-07-051-0/+1
|
* Parse more informations for code completionGeequlim2019-07-041-2/+2
|
* Center script line when double clicked on error in debuggerDawid Wdowiak2019-06-231-0/+1
|
* Merge pull request #28787 from mitchcurtis/fix-28059Rémi Verschelde2019-06-191-0/+1
|\ | | | | Script Text Editor: respect Move Down and Move Up shortcuts on macOS
| * Script Text Editor: respect Move Down and Move Up shortcuts on macOSMitch Curtis2019-05-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle shortcuts in CodeTextEditor::_input() so that we get them before its text_editor's TextEdit::_gui_input() function does. If we don't, that function will execute the following code: if (k->get_shift()) { _pre_shift_selection(); } #ifdef APPLE_STYLE_KEYS if (k->get_command()) { cursor_set_line(0); } else #endif So using Command+Shift+Up for the Move Up shortcut would just result in selecting all text to the beginning of the document, rather than moving the current line up. Fixes #28059.
* | Merge pull request #28766 from pgoral/editor_validation_issueRémi Verschelde2019-06-171-0/+2
|\ \ | | | | | | Changing method signature in other class in not recognized in working…
| * | Changing method signature in other class in not recognized in working class ↵Goral2019-05-291-0/+2
| |/ | | | | | | in typed GDScript #28685
* | Merge pull request #29262 from DarknessCatt/issue-27476Rémi Verschelde2019-06-111-0/+1
|\ \ | | | | | | Automatically add new line to scripts
| * | Automatically add new line to scriptsMatheus Lima Cunha2019-05-291-0/+1
| | |
* | | Add bookmarks for easier code navigationTomasz Chabora2019-05-051-0/+5
| |/ |/|
* | Added a marker in text_edit that tells which row is executing.Rikhardur Bjarni Einarsson2019-04-231-0/+2
|/
* Merge pull request #25782 from hsandt/feature/fix-toggle-comment-indentRémi Verschelde2019-03-161-0/+4
|\ | | | | Feature/fix toggle comment indent
| * [Script Editor] Refactored ScriptTextEditor::_edit_option by extracting ↵hsandt2019-02-041-0/+4
| | | | | | | | | | | | EDIT_TOGGLE_COMMENT case CodeEditor::toggle_inline_comment is now used by both ScriptTextEditor and ShaderEditor
* | Hide the warnings panel when no warnings presents.allkhor2019-02-131-0/+3
| |
* | General cleanup of script and doc search barsMichael Alexsander Silva Dias2019-02-101-2/+0
| |
* | Displays errors and warnings in a better way in the script editorGilles Roudière2019-02-011-7/+10
|/
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Change LinkLabel back to Label in error status barChaosus2018-12-211-3/+3
|
* CodeEditor: Drop unused enable_complete_timer variableRémi Verschelde2018-12-191-1/+0
| | | | Its use was removed in 1039ba9ffb8588e8b0abddaa753d270979147c23.
* Merge pull request #23924 from Kanabenki/font-size-updateRémi Verschelde2018-11-281-1/+1
|\ | | | | Display font size with zoom in code editor and refresh on settings change
| * Display font size with zoom in code editor and refresh on settings changeKanabenki2018-11-221-1/+1
| |
* | Allows user to click on error line to jump into error.Chaosus2018-11-221-1/+6
|/
* Fix clone line undo history and extra new line, issue 21811Paulb232018-11-041-1/+1
|
* Added system for GDScript warningsGeorge Marques2018-08-101-0/+4
| | | | | | | - Count and panel per script. - Ability to disable warnings per script using special comments. - Ability to disable warnings globally using Project Settings. - Option to treat enabled warnings as errors.
* Refactored text manipulation into CodeTexteditorPaulb232018-07-221-0/+23
|
* Add margin bottom with find/replace bar on script editorvolzhs2018-05-161-1/+1
|
* Merge pull request #16241 from Chaosus/zoomlabelRémi Verschelde2018-02-191-0/+1
|\ | | | | Added zoom label to code editor
| * Added zoom label to code editorChaosus2018-01-311-0/+1
| |
* | Maked status bar label fonts updateableChaosus2018-02-141-0/+1
|/
* Fix find/replace barvolzhs2018-01-181-4/+6
| | | | | | | | - make LineEdit resizable for find/replace - move replaced count/no match message to status bar - fix replaced n occuurence message is not displayed when n > 0 Fixes #15394
* Remove the unused FindReplaceDialog classGilles Roudiere2018-01-141-56/+0
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Native pan and zoom for macOSBernhard Liebl2017-11-211-0/+3
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|