summaryrefslogtreecommitdiffstats
path: root/tools/editor/code_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-051-1323/+0
| | | | | | The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.
* Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-161-0/+1
| | | | | | | | | Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-2/+2
| | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* New API for visibility in both CanvasItem and SpatialJuan Linietsky2017-01-131-7/+7
| | | | | | visible (property) - access set_visible(bool) is_visible() is_visible_in_tree() - true when visible and parents visible show() hide() - for convenience
* Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a ↵Juan Linietsky2017-01-101-1/+1
| | | | container!
* renamed _input_event for GUI events to _gui_input, so it's more ↵Juan Linietsky2017-01-081-3/+3
| | | | differentiated than generalized _input
* Fix code completion for new getnode syntaxJuan Linietsky2017-01-081-0/+1
|
* Editor settings categories are now tidy and beautiful!Juan Linietsky2017-01-051-25/+25
|
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-25/+25
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-1/+1
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * Begining of GLES3 renderer:Juan Linietsky2016-10-031-1/+1
| | | | | | | | | | | | | | | | -Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | | | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* | Allow turing off zero-padding for line numbersPedro J. Estébanez2016-10-131-0/+1
| |
* | Merge pull request #6775 from RandomShaper/one-based-col-numbersRémi Verschelde2016-10-111-1/+1
|\ \ | | | | | | Make text column numbers one-based
| * | Make text column numbers one-basedPedro J. Estébanez2016-10-101-1/+1
| |/ | | | | | | | | | | | | | | Make one-based the column number on the code editor Make one-based the column number for GDScript error messages Make one-based the column number for shader code error messages
* / Refactor duplicated codePedro J. Estébanez2016-10-101-0/+17
|/
* -Added a ColorFrame control, kind of like Texture but for color.Juan Linietsky2016-09-111-2/+4
| | | | | -Added dropping nodes to text editor for them to become a path -Fixed issues with font not properly being set in code editor
* -Cleaned up find/replace bar for replace (made selection only default if ↵Juan Linietsky2016-09-111-6/+22
| | | | | | selection exists), also made buttons look like buttons -Fixed a bug related to theme propagation, may be able to solve #6443, #6302 and others. Please test.
* Merge branch 'master' of https://github.com/godotengine/godotJuan Linietsky2016-08-021-16/+39
|\
| * Fix infinite loop when replacing textIgnacio Etcheverry2016-07-301-4/+6
| |
| * Fix non-visible col number in text editorRémi Verschelde2016-07-241-10/+30
| | | | | | | | | | | | | | | | | | The issue itself cannot be fully fixed due to the changes in 864c0e8, but this solution makes the bug less likely to happen (it would only happen with > 5 digits for line or column, and/or a much bigger font. Could be further refined by taking the configured font into account... Fixed #5890.
| * TextEdit: Center search resultsIgnacio Etcheverry2016-07-211-2/+3
| |
* | WIP visual scripting, not working yet but you can check out stuffJuan Linietsky2016-08-021-2/+20
|/
* Added code editor zoom shortcutsPaulb232016-07-141-21/+36
|
* line/col label was changing size with each cursor move, forcing the GUI to ↵Juan Linietsky2016-07-091-0/+5
| | | | | | | resize upwards and costing considerably CPU usage. It has been changed so it won't resize the UI when modified. This will make the code editor feel a lot smoother.
* TextEdit: Change font size with Ctrl+Mouse Wheel Up/DownIgnacio Etcheverry2016-06-181-3/+72
|
* Merge pull request #5160 from neikeq/pr-issue-5136Juan Linietsky2016-06-131-2/+12
|\ | | | | FindReplaceBar: Fix search bug when text is selected
| * FindReplaceBar: Fix search bug when text is selectedIgnacio Etcheverry2016-06-111-2/+12
| |
* | change "No matches" noticeable on findervolzhs2016-06-131-0/+3
|/
* Fixed and improved search barIgnacio Etcheverry2016-05-301-83/+117
| | | | | | | - Search no longer selects the results - Return focus to the text editor when hiding the bar - Fix connecting to invalid signal - Update/redraw the text editor after searching
* Merge pull request #4812 from neikeq/pr-search-barRémi Verschelde2016-05-291-14/+457
|\ | | | | ScriptEditor/ShaderEditor: Replace find/replace dialog with a bar
| * ScriptEditor/ShaderEditor: Replace find/replace dialog with a barIgnacio Etcheverry2016-05-291-14/+457
| |
* | Finalized DynamicFont implementationJuan Linietsky2016-05-291-15/+10
|/ | | | | | -DynamicFont uses Freetype by default -Editor fonts are now scalable thanks to this -Cleaned up documentation browser and added fonts for this
* i18n: Use %d instead of %i in vformatRémi Verschelde2016-05-211-1/+1
| | | | Fixes #4742.
* i18n: Proofreading of all stringsRémi Verschelde2016-05-211-3/+3
| | | | | | Done to ensure that no important identifiers are translatable, to fix compound strings using the new vformat() function, and some general English proofreading here and there.
* Modified editor strings to be translatable in the futureJuan Linietsky2016-05-031-20/+20
|
* Fixed undo redo interaction with find replacePaulb232016-04-091-1/+2
|
* remove trailing whitespaceHubert Jarosz2016-03-091-4/+4
|
* Add editor settings for call hint placementMartin Chuckeles2016-03-041-0/+6
| | | | | Added settings: text_editor/put_callhint_tooltip_below_current_line and text_editor/callhint_tooltip_offset
* Make buttons properly obey stylebox content marins, closes #2156Juan Linietsky2016-01-021-0/+1
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* Script Editor: automatic indentation after a colonkoalefant2015-11-291-0/+1
|
* -Merged Script and Help tabsJuan Linietsky2015-11-171-2/+2
| | | | | | -Help tabs can be opened many at the same time -Color temperatures for opened scripts -Dominant script opening when switching scene tab
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* -make sure selected font is applied on load (#1050)Juan Linietsky2015-01-021-1/+13
|
* -added brace matching to go with the new code completionJuan Linietsky2014-12-171-0/+1
|
* New Code CompletionJuan Linietsky2014-12-161-3/+10
| | | | | | | | | | | | -=-=-=-=-=-=-=-=-=- -Massive improvement to code completion -Argument hinting for functions If you manage to out-smart the code-completion in a situation where completion should be possible to guess, let me know. Please enter the commit message for your changes. Lines starting
* Fixed too many little issues, check the issues closed today.Juan Linietsky2014-09-211-3/+17
|
* Script editor: Put selected text in replace dialog automatically (unless ↵marynate2014-06-131-5/+14
| | | | selected more than 1 line); Replace textbox get focus when there's search text but no replace text; Bump up transparency of FindReplaceDialog
* Added a setting to disable autocomplete popup and fixed the autocomplete ↵Jonas Rudlang2014-05-221-3/+11
| | | | timer to updated when the setting has changed