summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Updates error label font in status barChaosus2019-03-011-0/+1
|
* Merge pull request #24574 from SeleckyErik/issue-21814Rémi Verschelde2019-02-161-18/+26
|\ | | | | Made clone (CTRL+B) in code editor clone only the selection.
| * Made clone (CTRL+B) in code editor clone only the selection.Erik2018-12-251-18/+26
| | | | | | | | | | | | In code editor, when code is selected, cloning (CTRL+B) now clones only the selected code. The code is cloned to the end of selection. The previous behaviour was to clone the full line which the selection "touches" to the new line after the end of selection.
* | Hide the warnings panel when no warnings presents.allkhor2019-02-131-2/+10
| |
* | General cleanup of script and doc search barsMichael Alexsander Silva Dias2019-02-101-25/+7
| |
* | Merge pull request #25552 from groud/better_error_messageRémi Verschelde2019-02-081-91/+82
|\ \ | | | | | | Displays errors and warnings in a better way in the script editor
| * | Displays errors and warnings in a better way in the script editorGilles Roudière2019-02-011-91/+82
| | |
* | | Moved script editor search bar to the bottom, so it doesn't shift everything ↵Marc Gilleron2019-01-311-4/+5
|/ / | | | | | | down
* / 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-18/+17
|
* EditorSettings: Remove enable_code_completion_delayRémi Verschelde2018-12-181-6/+1
| | | | | | | | | | | It was badly named (it disables code completion, not just the delay), and also badly implemented (not preventing the timer for running, but just preventing it to show the autocompletion). It could be readded with a proper name and cleaner implementation if there's an actual need for it. Supersedes #24407 and closes #24352.
* Revert "Use more subtle indentation guides in the script editor"Rémi Verschelde2018-12-131-1/+0
|
* Merge pull request #20725 from Calinou/textedit-subtle-indent-guidesRémi Verschelde2018-12-091-0/+1
|\ | | | | Use more subtle indentation guides in the script editor
| * Use more subtle indentation guides in the script editorHugo Locurcio2018-10-031-0/+1
| |
* | Merge pull request #23924 from Kanabenki/font-size-updateRémi Verschelde2018-11-281-20/+23
|\ \ | | | | | | 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-20/+23
| | |
* | | Allows user to click on error line to jump into error.Chaosus2018-11-221-5/+28
|/ /
* | Fix clone line undo history and extra new line, issue 21811Paulb232018-11-041-11/+10
| |
* | Fixed delete line being off by one, issue 22819Paulb232018-10-131-0/+2
| |
* | Fix find-in-files and go-to-line dialog (partially)Poommetee Ketson2018-09-181-7/+11
| |
* | Fixed clicking on Find/Replace doesn't set the focus on the text fieldDualMatrix2018-09-181-1/+1
| | | | | | | | Fixed clicking on Find/Replace doesn't set the focus on the text field
* | Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-1/+1
| | | | | | | | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* | Make some debug prints verbose-only, remove othersRémi Verschelde2018-08-241-1/+0
| |
* | Merge pull request #20670 from Calinou/script-editor-zoom-hidpiRémi Verschelde2018-08-131-2/+2
|\ \ | | | | | | Fix zoom display in the script editor on hiDPI displays
| * | Fix zoom display in the script editor on hiDPI displaysHugo Locurcio2018-08-021-2/+2
| |/
* / Added system for GDScript warningsGeorge Marques2018-08-101-0/+23
|/ | | | | | | - 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.
* Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam2018-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
* Refactored text manipulation into CodeTexteditorPaulb232018-07-221-0/+339
|
* Merge pull request #19498 from guilhermefelipecgs/fix_regressionMax Hilbrunner2018-07-051-1/+1
|\ | | | | Fix "find and replace" initializing with wrong size
| * Fix "find and replace" initializing with wrong sizeGuilherme Felipe2018-06-131-1/+1
| | | | | | | | Fix the code editor outside the allowed limits.
* | Improve breakpoints and breakpoint gutter API in TextEditGabriel Gavilan2018-05-301-1/+1
|/ | | | | | Added breakpoint_gutter, is_breakpoint_gutter_enabled, set_breakpoint_gutter_enabled, get_breakpoints, remove_breakpoints. Fixed breakpoint_toggled signal not fierd when text is edited. Fixes #18026.
* Add margin bottom with find/replace bar on script editorvolzhs2018-05-161-5/+4
|
* TextEdit word wrapIan2018-05-141-0/+1
|
* Fix:code editor text size should change at least one each time, don't mind ↵RaphaelHunter2018-05-071-2/+2
| | | | how you setting your display scale
* Script Editor now displays positional columnUnknown2018-05-031-1/+14
| | | This solves #17931 and makes the script editor consistent with other text editors(Sublime, Gedit, Vim) in displaying the position rather than the raw number of characters.
* Fixes replace all not replacing the first wordCrazy-P2018-03-251-23/+27
|
* Merge pull request #16241 from Chaosus/zoomlabelRémi Verschelde2018-02-191-1/+24
|\ | | | | Added zoom label to code editor
| * Added zoom label to code editorChaosus2018-01-311-1/+24
| |
* | Maked status bar label fonts updateableChaosus2018-02-141-1/+9
|/
* Fix find/replace barvolzhs2018-01-181-67/+83
| | | | | | | | - 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-385/+0
|
* Set source code font with ttf, otfvolzhs2018-01-081-16/+3
| | | | | | | renamed interface/editor/custom_font to interface/editor/main_font moved text_editor/theme/font to interface/editor/code_font renamed interface/editor/font_size to interface/editor/main_font_size renamed interface/editor/source_code_size to interface/editor/code_font_size
* 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.
* Merge pull request #15126 from poke1024/code-editor-autowrap-errorRémi Verschelde2018-01-031-1/+1
|\ | | | | Make code editor's error display autowrap
| * Make code editor's error display autowrapBernhard Liebl2018-01-031-1/+1
| |
* | 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-5/+33
|
* scrolling fixesIan2017-11-181-0/+1
|
* TextEdit code foldingIan2017-11-171-0/+6
|
* Added setting to toggle current line highlightingPaulb232017-10-221-0/+1
|