summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merge pull request #11646 from djrm/pr_visual_improvementsPoommetee Ketson2017-10-021-9/+11
|\ | | | | Several visual improvements.
| * Several visual improvements.Daniel J. Ramirez2017-09-281-9/+11
| | | | | | | | | | | | | | | | | | Added proper label sizing Improved text editor status bar Fixed some issues with ItemList and also some style fixes Added background to color picker samples (the mrcdk fix) Fixed slider ticks. Added VS breakpoint and error styleboxes.
* | Merge pull request #11661 from mhilbrunner/issue-11616-always-validatePoommetee Ketson2017-10-021-1/+2
|\ \ | | | | | | Editor: Run validation on every text change, not only inserts
| * | Editor: Run validation on every text change, not only insertsmhilbrunner2017-09-301-1/+2
| |/
* / EditorSettings: Move interface/ properties to interface/editorAndreas Haas2017-09-291-2/+2
|/ | | | | | Fixes inconsistent behaviour where clicking on the "Interface" in the Editor Settings wouldn't collapse the category as is the case for all the other categories.
* Fix missing code editor find and replace missing hover icon.Daniel J. Ramirez2017-09-251-2/+2
|
* Rename pos to position in user facing methods and variablesletheed2017-09-201-1/+1
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* Merge pull request #11422 from poke1024/fixsourcefontsize2Rémi Verschelde2017-09-201-7/+6
|\ | | | | Better script code font size rescaling on retina displays
| * better script code font size rescaling on retina displayspoke10242017-09-191-7/+6
| |
* | second take at autocomplete logic, using a TextOperation check.Paulo Gomes2017-09-061-2/+4
|/
* Added setting to toggle auto indentPaulb232017-08-311-0/+1
|
* added icon updating to most ui elementstoger52017-08-301-0/+7
|
* White Themetoger52017-08-301-9/+5
| | | | | | | - almost all the colors are generated now. They get adapted based on the theme color. All the correct icons are used - error label now uses error color - added missing button colors in editor theme
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Code editor: Don't play hide and seek with error labelRémi Verschelde2017-08-261-8/+1
|
* -Code completion for enumerationsJuan Linietsky2017-08-241-2/+4
| | | | -Disabled GDNative and GDNativeScript so build compiles again
* Merge pull request #10340 from Rubonnek/remove-unnecessary-assignmentsRémi Verschelde2017-08-221-1/+0
|\ | | | | Removed unnecessary assignments
| * Removed unnecessary assignmentsWilson E. Alvarez2017-08-211-1/+0
| |
* | Increased smooth scroll speed and added user settingPaulb232017-08-211-0/+1
|/
* Added smooth scrolling to TextEditPaulb232017-08-191-0/+1
|
* Fixes to label and code editor to make editing code hopefully fast again.Juan Linietsky2017-08-191-4/+7
|
* Replace GUI anchor type by a float between 0 and 1Gilles Roudiere2017-08-131-4/+4
|