summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add a soft line length guideline to the script editorHugo Locurcio2020-02-151-2/+3
| | | | | | | | | | | | | | | | | | | | | | The default value is 80. The hard line length guideline's default column has been moved to 100 to account for the new soft line length guideline. It can be disabled by setting its value to the same column as the hard line length guideline. This closes https://github.com/godotengine/godot-proposals/issues/347.
* | Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-27/+27
| | | | | | | | objects and made them default.
* | Allow for continuous deletion/duplication of linesTomasz Chabora2020-02-161-0/+10
|/
* Merge pull request #36030 from dreamsComeTrue/fix-replace-text-enteredRémi Verschelde2020-02-141-0/+5
|\ | | | | Allow using Enter key for replacing text in code editors
| * Allow using Enter key for replacing text in code editors (also Shift + Enter ↵Dominik 'squ@ll' Jasiński2020-02-081-0/+5
| | | | | | | | | | | | works backwards) Fixes issue #31762
* | Texture refactorJuan Linietsky2020-02-111-2/+2
|/ | | | | | | | -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
* Merge pull request #33639 from YeldhamDev/replaced_label_locationRémi Verschelde2020-01-311-1/+2
|\ | | | | Make the replaced results appear in the matches counter
| * Make the replaced results appear in the matches counterMichael Alexsander2019-11-151-1/+2
| |
* | Fix typos with codespellRémi Verschelde2020-01-151-1/+1
| | | | | | | | | | | | Using codespell 1.16.0. See ab3bccdb78cc7dffb6ab796053ef63489f05558d for procedure.
* | Fixes minimap width on HiDPI monitorHaoyu Qiu2020-01-111-1/+1
| |
* | 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.
* | Merge pull request #34441 from KoBeWi/wrapping_things_upRémi Verschelde2019-12-221-0/+2
|\ \ | | | | | | Fix code editor not always centering to bookmarks
| * | Fix code editor not always centering to bookmarksTomasz Chabora2019-12-181-0/+2
| | |
* | | Fix ScriptTextEditor encapsulationYuri Roubinsky2019-12-191-1/+1
|/ /
* | Updates toggle scripts switch tooltip (if user changed the shortcut)Yuri Roubinsky2019-12-181-1/+1
| |
* | Fix toggle scripts panel to allow using shortcut in other areasYuri Roubinsky2019-12-171-3/+10
| |
* | Prevent showing toggle scripts panel switch in shader editorYuri Roubinsky2019-12-171-1/+8
| |
* | Moves switch for show scripts panel from File menu to status barYuri Roubinsky2019-12-151-0/+11
| |
* | Fixes Delete Line doesn't delete first line in scriptHaoyu Qiu2019-12-091-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Center Script Editor when jumping to bookmarks/breakpointsTomasz Chabora2019-12-011-0/+2
|/
* Fix incorrect error label color when switching from light to dark themeYuri Roubinsky2019-11-141-2/+5
|
* Fix "matches" label color in light themeYuri Roubinsky2019-11-141-1/+1
|
* Code editor: select next occurrence after ReplacelupoDharkael2019-10-141-1/+3
|
* Fix text search bar not correctly switching from replacing to just searchingMichael Alexsander2019-10-011-2/+2
|
* Fix editor infinit loop in search_prevamakarenko2019-09-021-8/+6
| | | | Fixes godotengine#31328
* Reorganize & rename text editor settings categoriesCykyrios2019-09-011-20/+20
| | | | | | | | Add Navigation category for scroll and minimap settings. Rename Line Numbers category to Appearance. Rename Open Scripts category to Script List. Rename "Draw Minimap" setting to "Show Minimap" (this is more consistent with other settings). Reorder settings by category in code_editor.cpp to match settings list
* Add minimap to text_editPaulb232019-08-211-0/+2
|
* Fix matches result in the code search not appearing when the quantity is 0Michael Alexsander Silva Dias2019-08-141-11/+12
|
* Merge pull request #31329 from KoBeWi/vscode_ftwRémi Verschelde2019-08-141-24/+35
|\ | | | | Tweak the behavior of search/replace bar
| * Tweak the behavior of search/replace barTomasz Chabora2019-08-131-24/+35
| |
* | Merge pull request #31355 from nekomatata/fix-select-prev-freezeRémi Verschelde2019-08-131-6/+8
|\ \ | |/ |/| Fixed freeze on search previous
| * Fixed freeze on search_prev (missing condition for searching from a previous ↵PouleyKetchoupp2019-08-131-6/+8
| | | | | | | | | | | | result, now the same as search_next) Fixes #31328
* | Make the script search have a proper matches counterMichael Alexsander Silva Dias2019-08-131-3/+21
|/
* Select found text in Script EditorTomasz Chabora2019-08-021-0/+1
|
* Enable the script editor's "Auto Brace Complete" by defaultHugo Locurcio2019-07-181-7/+7
| | | | | | | This also adds a setting hint for the "Code Complete Delay" setting and cleans up some duplicated default setting values. This closes #30662.
* i18n: Sync translation template with current sourceRémi Verschelde2019-07-091-1/+1
|
* Display a count of matches when searching in the code editorBojidar Marinov2019-07-081-1/+40
| | | | Fixes #14513
* Merge pull request #30326 from Anutrix/replace-all-fix-for-nowRémi Verschelde2019-07-051-1/+5
|\ | | | | Got replace-all working without breaking search
| * Got replace-all working without breaking searchunknown2019-07-051-1/+5
| |
* | Show icons for code completion optionsGeequlim2019-07-051-6/+45
|/
* Parse more informations for code completionGeequlim2019-07-041-7/+8
|
* Fixed search highlight when search text not found or emptyunknown2019-06-271-0/+2
|
* Center script line when double clicked on error in debuggerDawid Wdowiak2019-06-231-0/+5
|
* Merge pull request #28787 from mitchcurtis/fix-28059Rémi Verschelde2019-06-191-0/+24
|\ | | | | 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/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+4
|\ \ | | | | | | 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-1/+4
| |/ | | | | | | in typed GDScript #28685
* | Merge pull request #29306 from qarmin/small_code_fixesRémi Verschelde2019-06-121-1/+1
|\ \ | | | | | | Small fixes to unrechable code, possibly overflows, using NULL pointers
| * | Small fixes to unrechable code, possibly overflows, using NULL pointersqarmin2019-06-031-1/+1
| | |
* | | Merge pull request #29262 from DarknessCatt/issue-27476Rémi Verschelde2019-06-111-0/+18
|\ \ \ | | | | | | | | Automatically add new line to scripts