Commit graph

123 commits

Author SHA1 Message Date
Michael Alexsander Silva Dias
6c058040b7 Small tooltip changes. 2018-05-18 14:54:40 -03:00
Daniel J. Ramirez
9a365a1216 Moved inspector functionality from EditorNode to InspectorDock. 2018-05-17 16:29:26 -05:00
Samuele Zolfanelli
375c94510f Changed the name displayed in the Script tab for built-in script with a more descriptive one 2018-05-16 15:23:56 +02:00
Julian Murgia
68b9fd79e4 Add button hbox with alphabetic sort toggle above methods outline. 2018-05-11 13:30:43 +02:00
Hugo Locurcio
1c419531a0 Change ".." punctuation for "..." in editor strings (#16507) 2018-04-22 19:36:01 +02:00
Juan Linietsky
3a08f1748b
Merge pull request #16571 from Zylann/find_in_files
Added find & replace in files
2018-04-08 17:24:26 -03:00
Paulb23
f7c727e6c3 Abstracted the syntax highlighter from text edit 2018-04-02 12:41:44 +01:00
Andreas Haas
1cfc43421e
ScriptEditor: Use EditorSettings instead of hardcoded values in constructor. 2018-03-01 21:45:24 +01:00
geequlim
095e2bcc26 Fix builtin script cannot open from debug stacks 2018-02-21 21:10:32 +08:00
Rémi Verschelde
55f00d9655
Merge pull request #16455 from volzhs/close-docs
Keep to show current script when closing all docs
2018-02-20 09:40:29 +01:00
volzhs
df84290a7e Keep to show current script when closing all docs
also fix error when removing multiple tabs from TabContainer at same frame.
like closing multiple docs at once.

Fix #16403
2018-02-20 14:39:52 +09:00
Marc Gilleron
f637ad84e3 Added find & replace in files 2018-02-19 22:38:58 +01:00
ianb96
e1778fb921 option to disable sort in script list 2018-02-14 11:38:02 -05:00
Michael Alexsander Silva Dias
4dbf6ac1b8 Added "allow_reselect" property to ItemList and enabled it for the method/help lists. 2018-02-14 03:38:07 -02:00
Rémi Verschelde
e8763ef130
Merge pull request #16518 from Paulb23/fix_members_overview_offset
Fixed members overview not scrolling to correct line
2018-02-13 22:12:48 +01:00
Rémi Verschelde
fd871b4d4f
Merge pull request #16383 from binbitten/issue_16335
Fix spaces and quotes in external editor flags
2018-02-13 15:21:37 +01:00
Paulb23
4d92c5e1c3 Fixed members overview not scrolling to correct line 2018-02-09 17:35:28 +00:00
binbitten
fb8d2420b5 Fix spaces and quotes in external editor flags 2018-02-04 11:18:54 +01:00
Michael Alexsander Silva Dias
140340978b Changes for the "Recent Scripts" menu. 2018-02-02 15:34:36 -02:00
Bernhard Liebl
89057dd289 Fix external editors always opening on scene change 2018-01-14 12:34:00 +01:00
Ignacio Etcheverry
1c6269f2dd External editor fixes
- Fix VS Code opening on the previous line to the desired one.
- Fix running MonoDevelop without the line and column parameters.
- Fix `ScriptEditor::_goto_script_line` not working with language overriden external editors.
2018-01-09 17:25:23 +01:00
Bernhard Liebl
7e1b39245f Don't delete edit menu too early when closing script tabs 2018-01-08 19:47:47 +01:00
Rémi Verschelde
2a1ce0fbc4 i18n: Sync translation templates with current source 2018-01-06 14:32:21 +01:00
Rémi Verschelde
e4213e66b2 Add missing copyright headers and fix formatting
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.
2018-01-05 01:22:23 +01:00
sersoong
77c9698785 Add Show In File System to script editor tabs 2018-01-02 10:11:54 +08:00
Rémi Verschelde
b50a9114b1 Update copyright statements to 2018
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Poommetee Ketson
6c897707ca Add missing parameter names 2017-12-25 21:19:56 +07:00
Noshyaar
b6c798a062
Merge pull request #14827 from RayKoopa/editor_patchwork
Some Editor UI patchwork
2017-12-25 08:28:53 +07:00
Ray Koopa
69ef89a8bd Limit code editor minimum width, clear Scene node subresource menu before refilling it 2017-12-19 18:29:01 +01:00
Michael Alexsander Silva Dias
36e835bbd4 Some fixes for the Script Editor and dead code cleaning. 2017-12-18 15:46:17 -02:00
Rémi Verschelde
03fb1fd7fa
Merge pull request #14613 from voithos/fold-jump-bugfix
Account for folded code blocks when navigating via members list
2017-12-16 01:16:25 +01:00
Will Nations
c38cd9b963 Added open_script_create_dialog func 2017-12-13 22:14:17 -06:00
Zaven Muradyan
f139d0e4e6 Account for folded code blocks when navigating via members list
Previously, the editor would attempt to set the scroll position to the
function's line number, but this would result in an invalid scroll
whenever functions above the target were folded.

This changes callback to use a combination of `goto_line` and
`set_edit_state` to navigate to the target line and reset the cursor to
column 0.

Using `goto_line` also has the side effect of automatically unfolding
the target function, which seems like useful behavior.

Fixes #14572.
2017-12-12 21:40:12 -08:00
sersoong
f0fda9fd87 Add 'copy script path' to script editor plugin 2017-12-07 11:57:41 +08:00
Daniel J. Ramirez
e5de5b4908 Visual fixes
Added some icons (Including the onion one)
Fixed text editor ellipsis style and editor tabs
2017-11-20 13:03:22 -06:00
sersoong
66f6a8b4b5 Add close other tabs to Script Editor 2017-11-20 15:06:52 +08:00
Rémi Verschelde
ecf80fbbba
Merge pull request #12988 from akien-mga/xdg-home-paths
Add support for XDG Base Directory spec
2017-11-20 00:42:51 +01:00
Rémi Verschelde
6e3f2f44af Use new XDG folders to dehardcode paths 2017-11-19 20:54:26 +01:00
Omar Al Halabi
cb86f6fbf6 fix set_current_tab: Indexp_current=-1 out of size 2017-11-19 13:14:00 +02:00
Rémi Verschelde
ad199c3964 EditorSettings: Rename settings_path to settings_dir
Also to prepare for upcoming refactoring for XDG support.
2017-11-17 20:55:09 +01:00
Ian
c478c1ded5 remove debug msg 2017-11-13 18:16:59 -05:00
Ian
9f6a06b992 add script list drag n drop 2017-11-12 15:45:42 -05:00
Ian
9126a2072c move item up/down context menu and shortcut 2017-11-12 15:45:42 -05:00
Ian
798a14eb33 add script editor list context menu 2017-11-12 15:45:42 -05:00
Chaosus
70566c0935 Added hotkey for Continue action 2017-10-25 00:01:18 +03:00
Felipe Seixas
651246cbff Fix drop-down size when resizing font #12207
Fixes Scene > Open Recent
Fixes ScriptEditor > File > Open Recent
2017-10-21 11:53:53 -04:00
Paulb23
ca24310a13 Fixed help overview visibility, issue 12011 and 10407 2017-10-14 18:51:35 +01:00
jagt
21c2bf84e6 fix script editor clear recent scripts crash 2017-10-11 16:24:57 +08:00
Paulb23
b07dfd75ea Consistant scroll when using members overview, issue 11648 2017-10-08 14:29:27 +01:00
Daniel J. Ramirez
6d874ea685 Added correct initialization for script editor theme.
Some style fixes for VS interface.
2017-10-02 18:33:42 -05:00