Commit graph

156 commits

Author SHA1 Message Date
Rémi Verschelde 1b0e2b0c39 Refactoring: rename tools/editor/ to editor/
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.

(Manual redo of 49c065d29c)
2017-03-18 23:45:45 +01:00
Andreas Haas 7bf7fe854f Don't switch to script on breakpoint hit when using external editor.
Fixes #7705

(cherry picked from commit 10fa752ae7)
2017-03-18 20:13:59 +01:00
Rémi Verschelde eff8fc4dfb Merge pull request #7751 from bojidar-bg/sort-scripts-by-path-2.1
Sort settings for scripts in the editor (2.1)
2017-02-12 23:19:28 +01:00
Bojidar Marinov 9fa3713d76
Sort settings for scripts in the editor 2017-02-07 18:57:49 +02:00
Pedro J. Estébanez 0dbfb864ad Backport goodies for the code editors
Refactor duplicated code (from 0159e4f969)
Add line length guideline to code editors (from d9c1729a8f)
Allow turning off zero-padding for line numbers (from 00b3af246b)
(In 3.0 zero-padding is off by default, but for 2.1 I'm setting the default to be on because it's how it always worked.)
Fixed line lenght guideline drawing with color option (from @Paulb23's 6b42cd5fe6)
2017-02-04 16:24:33 +01:00
Rémi Verschelde d8223ffa75 Welcome in 2017, dear changelog reader!
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!

(cherry picked from commit c7bc44d5ad)
2017-01-12 19:15:30 +01:00
volzhs d67bbd183e Fix p_index out of size error when closing script
(cherry picked from commit 707185d9d8)
2016-10-31 00:07:56 +01:00
Henrique Lacreta Alves 58daf901f9 Prevent unwanted script editor input on game crash
Fixes #6530.
(cherry picked from commit 853d1ce9f3)
2016-10-31 00:01:11 +01:00
Paulb23 8dca3f3f42 Fix highlight current script when script temputure is disabled
(cherry picked from commit fbd0b6f995)
2016-09-18 23:21:48 +02:00
Paulb23 9b9870ed9f Update current script color on change
(cherry picked from commit a0136838b3)
2016-09-18 23:19:58 +02:00
Paulb23 aae720e488 Added setting to change current script background color, issue 5450
(cherry picked from commit 9e92fcaef9)
2016-09-18 23:12:15 +02:00
Saracen 5035edb7fd Explicitly initialize 'pending_auto_reload' to false. 2016-07-29 13:51:26 +01:00
Rémi Verschelde 13fe615ea3 Merge pull request #5760 from r1cebank/issue-5636__add-close-docs-option
Script Editor: adding close all docs menu option
2016-07-19 07:35:20 +02:00
Juan Linietsky 3e3108abe2 Always soft reload editor plugins. Closes #5273 2016-07-18 19:24:38 -03:00
Siyuan Gao 0c3b1b51b8 Script Editor: adding close all docs menu option 2016-07-18 10:09:42 -07:00
Franklin Sobrinho 3ca6e584e5 Fix ScriptEditor don't saving the layout when opening a help page
- Use ScriptEditor::_update_script_names just once when re-creating the layout
2016-07-18 12:30:43 -03:00
Rémi Verschelde 62eae7cbe2 Merge pull request #5723 from Paulb23/toggle_breakpoint_gutter_issue_5712
Fixed toggle breakpoint gutter not updating when the game is running, issue 5712
2016-07-18 00:52:36 +02:00
Paulb23 b550471a14 Fixed breakpoint gutter toggle not updating when game is running, issue 5712 2016-07-15 15:02:55 +01:00
Paulb23 54f720ac06 Added block caret to TextEdit 2016-07-12 16:07:17 +01:00
Paulb23 a9956be63d Added completion font colors 2016-07-11 14:25:56 +01:00
Paulb23 8e5c40b364 Added completion scroll color 2016-07-11 14:11:34 +01:00
Juan Linietsky b0f0ae0723 Finally fixes the infamous bug #4444, hoping to never see you again.
Closes #4444.
2016-07-09 12:12:03 -03:00
Juan Linietsky d8c31e0e74 remove warnings if a script is missing and can't be opened 2016-07-07 21:27:20 -03:00
Juan Linietsky a78226c32c Only allow built-in scripts to be edited when the scene they belong to is loaded, closes #5403 2016-07-06 20:36:37 -03:00
Daniel J. Ramirez 8f259ff5ca Shortcuts for script switching in script Mode 2016-06-26 10:21:02 -05:00
Paulb23 c68e4e8cbe Fixed save as not working with scripts 2016-06-22 17:39:02 +01:00
Paulb23 45f0dec55c Added code completion existing color setting 2016-06-21 17:34:38 +01:00
Paulb23 706895a922 Added code completion selected color setting 2016-06-21 17:21:55 +01:00
Paulb23 a40cb680ca Added code completion background color setting 2016-06-21 16:50:31 +01:00
Juan Linietsky f1af0fd25c Changed save all scripts shortcut to avoid collision, fixes #4278 2016-06-20 16:18:12 -03:00
Juan Linietsky 00bc06b50b Make sure that scripts are reloaded if needed when they enter editing, fixes #4456 2016-06-19 22:07:07 -03:00
Daniel J. Ramirez 422fac5066 Removed lots of prints 2016-06-18 18:01:06 -05:00
Rémi Verschelde 2345f7fcae Merge pull request #5163 from Paulb23/script_editor_shortcuts 2016-06-15 08:34:39 +02:00
Juan Linietsky dca382647e Merge pull request #5165 from neikeq/pr-issue-5116
ConnectionsDock: Double click to create and go to signal connection
2016-06-13 15:46:41 -03:00
Paulb23 52d2d52c31 Added script editor shortcuts 2016-06-13 15:14:55 +01:00
Juan Linietsky 45443a1651 Changed reload logic to auto-hard-reload scripts on save. It's simpler to use and also fixes #4756 2016-06-13 10:58:32 -03:00
Juan Linietsky 482b21a5a4 apply built-in scripts when running the game, closes #4987 2016-06-11 21:59:35 -03:00
Ignacio Etcheverry 10881802ba ConnectionsDock: Double click to create and go to signal connection 2016-06-12 01:05:54 +02:00
volzhs 990956c4e0 add line spacing option to script and shader editor (#5105) 2016-06-09 20:43:19 +02:00
Juan Linietsky f8f30662d9 -Ability to reload (and soft reload) tool scripts. Please test! 2016-06-08 20:00:52 -03:00
Paulb23 d66b034bd1 Improved breakpoint marker position, and scales with font size 2016-06-07 16:59:16 +01:00
Juan Linietsky 2ca4995a6f Cleaned up remote menu
-Merged fileserver & deploy dumb clients option
-Live Script Reloading can now happen automatically on script save
-Changed Live to Mirror term to differentiate from Unity and Unreal, as
what Godot does is not the same thing.
2016-06-03 12:34:25 -03:00
Juan Linietsky 9b1f8230ec -Some fixes to OSX retina scaling for window functions
-Implemented HiDPI detection and support for Godot Editor!
2016-05-30 00:28:29 -03:00
Rémi Verschelde a2fee79459 Merge pull request #4843 from Paulb23/breakpoints_next_prev_and_remove_issue_1690
Added, goto next and previous breakpoint and remove all, issue 1690
2016-05-29 18:35:07 +02:00
Rémi Verschelde d3b46b6bf2 Merge pull request #4822 from Paulb23/breakpoint_marker_issue_4750
Added breakpoint markers, issue 4750
2016-05-29 18:34:13 +02:00
Ignacio Etcheverry 51be9beec9 ScriptEditor/ShaderEditor: Replace find/replace dialog with a bar 2016-05-29 14:26:19 +02:00
Paulb23 daf0ed646f Added, goto next and previous breakpoint and remove all, issue 1690 2016-05-27 15:29:04 +01:00
Paulb23 72fda444d1 Added breakpoint markers, issue 4750 2016-05-26 14:17:14 +01:00
Paulb23 27dbbd68d5 Added settings to change marked and breakpoint color 2016-05-25 16:57:33 +01:00
Paulb23 d7073a77e1 Added color themes to the text editor 2016-05-23 15:15:55 +01:00