Commit Graph

352 Commits

Author SHA1 Message Date
3f672307d7 Made editor automatically open scenes of built in scripts.
Made editor automatically open scenes of built in scripts when attempting to open that script.
2018-09-07 00:34:39 +02:00
06e73522dc Fix vformat(), minor typos and word puzzles 2018-08-29 11:50:39 +03:00
df4f3aecd8 Fix Members/Help Overview getting their items deselected when a tooltip appears 2018-08-26 23:55:45 -03:00
1c17c2b9b3 Merge pull request #21023 from Paulb23/fix_reopening_text_file
Fix re-opening of TextFiles when its already being edited.
2018-08-15 23:16:19 +02:00
bec8c7770c Merge pull request #21022 from Paulb23/create_text_files
Ability to create TextFiles.
2018-08-15 23:15:14 +02:00
6741e7a15d Added method to create TextFiles 2018-08-15 21:09:34 +01:00
859f3bf5a9 Merge pull request #20873 from ttencate/master
Allow middle-click to close scripts
2018-08-15 01:10:21 +02:00
81bf150cdc Fix re-opening of TextFiles when its already being edited 2018-08-14 23:44:55 +01:00
d867f11820 Allow middle-click to close scripts
Fixes #20871
2018-08-14 18:01:06 +02:00
0d96902a0c Merge pull request #20731 from YeldhamDev/scr_editor_context_fix
Fix wrong context menu when right-clicking script/doc files
2018-08-13 13:35:53 +02:00
81fb81de9d Do not use theme to set LineEdit right_icon 2018-08-11 12:04:26 +02:00
e8a435c8cd Add clear text button to LineEdit
- Add pressed state to clear button
- Enable clear button on all inputs with search icon
- Remove duplicate clear buttons
- Fix rendering of icon for center and right alignments
- Add clear button to more search fields
- Add clear icon to default theme
- Add method to control enabled state of clear button
- Add property to enable clear button from inspector
2018-08-11 12:04:26 +02:00
1368bcfc53 Use a standard "OK" text for confirmation buttons in error dialogs
[ci skip]
2018-08-05 16:49:22 +02:00
9194e42175 Fix wrong context menu when right-clicking script/doc files 2018-08-05 04:53:36 -03:00
0fcc28b6f3 Merge pull request #15269 from ianb96/context_menu_improvements
Context Menu Improvements
2018-07-29 12:31:20 -03:00
Ian
1bb13e95a8 context menu improvements 2018-07-26 08:58:35 -04:00
eab105310b Merge pull request #19257 from volzhs/edit-visual-script
Open internal visual script editor while use external editor is on
2018-07-26 10:36:01 +02:00
0e29f7974b Reduce unnecessary COW on Vector by make writing explicit
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.
2018-07-26 00:54:16 +02:00
6696b16685 Fix crash on doc right click, issue 20429 2018-07-25 19:24:06 +01:00
6bdec4ffb6 Open internal visual script editor while use external editor is on 2018-07-25 11:59:31 +09:00
8ff747171f Allow opening and editing of any utf_8 file in script editor 2018-07-22 11:55:56 +01:00
a3f1ee5c57 Global class names (and GDScript support for it) 2018-07-15 19:29:00 -03:00
0705eb904a Merge pull request #19251 from YeldhamDev/script_templates_changes
Small changes to the comments in the script templates
2018-07-03 16:48:03 +02:00
7a18b95906 Move Theme options to submenu 2018-06-21 12:10:43 +03:00
fd17b960e9 Small changes to the comments in the script templates. 2018-06-11 02:04:51 -03:00
a8dd5750e2 Merge pull request #19334 from guilhermefelipecgs/fix_popup
Fixes popup_centered_* methods, dialogs with wrong sizes and visual script editor
2018-06-08 13:00:53 -03:00
048f149478 Fix theme not updating with changes 2018-06-06 17:58:12 -03:00
7a3882723c Fix #16069, #19292, #19267 and #18940 2018-06-06 13:16:52 -03:00
69ac6a1f3d Show opened script or help name 2018-06-06 06:18:11 +09:00
6c058040b7 Small tooltip changes. 2018-05-18 14:54:40 -03:00
9a365a1216 Moved inspector functionality from EditorNode to InspectorDock. 2018-05-17 16:29:26 -05:00
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
68b9fd79e4 Add button hbox with alphabetic sort toggle above methods outline. 2018-05-11 13:30:43 +02:00
1c419531a0 Change ".." punctuation for "..." in editor strings (#16507) 2018-04-22 19:36:01 +02:00
3a08f1748b Merge pull request #16571 from Zylann/find_in_files
Added find & replace in files
2018-04-08 17:24:26 -03:00
f7c727e6c3 Abstracted the syntax highlighter from text edit 2018-04-02 12:41:44 +01:00
1cfc43421e ScriptEditor: Use EditorSettings instead of hardcoded values in constructor. 2018-03-01 21:45:24 +01:00
095e2bcc26 Fix builtin script cannot open from debug stacks 2018-02-21 21:10:32 +08:00
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
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
f637ad84e3 Added find & replace in files 2018-02-19 22:38:58 +01:00
e1778fb921 option to disable sort in script list 2018-02-14 11:38:02 -05:00
4dbf6ac1b8 Added "allow_reselect" property to ItemList and enabled it for the method/help lists. 2018-02-14 03:38:07 -02:00
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
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
4d92c5e1c3 Fixed members overview not scrolling to correct line 2018-02-09 17:35:28 +00:00
fb8d2420b5 Fix spaces and quotes in external editor flags 2018-02-04 11:18:54 +01:00
140340978b Changes for the "Recent Scripts" menu. 2018-02-02 15:34:36 -02:00
89057dd289 Fix external editors always opening on scene change 2018-01-14 12:34:00 +01:00
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