godot/editor
Andrii Doroshenko (Xrayez) 7247247522 Make unsaved scripts in the script editor more user-friendly
Unsaved scripts were previously displayed with blank tabs, which are
mostly a result of deleted or improperly moved scripts.

This patch makes sure that those kind of scripts are displayed as
"[unsaved]" now, and ensures that scripts are removed from the list
while deleting scripts from the filesystem dock preventing the unsaved
tabs to appear in the first place (a user is already prompted with
"no undo" warning while deleting any file).

A user is always prompted to save those "[unsaved]" scripts if they
attempt to close them without saving in any case except as described
above.
2020-07-26 16:05:44 +03:00
..
debugger Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
fileserver Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
icons Commit only the SVG files changed by file_format.sh 2020-07-13 14:08:55 -04:00
import Merge pull request #40450 from asmaloney/spelling 2020-07-21 22:14:04 +02:00
plugins Make unsaved scripts in the script editor more user-friendly 2020-07-26 16:05:44 +03:00
translations i18n: Sync translations with Weblate 2020-06-25 11:00:38 +02:00
animation_bezier_editor.cpp Fix timeline cursor not updating on zoom change in the Bezier editor 2020-07-02 16:07:28 -03:00
animation_bezier_editor.h Add override keywords. 2020-07-10 13:56:54 +01:00
animation_track_editor.cpp Small naming and tooltip tweaks 2020-07-23 20:17:43 -03:00
animation_track_editor.h Add override keywords. 2020-07-10 13:56:54 +01:00
animation_track_editor_plugins.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
animation_track_editor_plugins.h Add override keywords. 2020-07-10 13:56:54 +01:00
array_property_edit.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
array_property_edit.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
audio_stream_preview.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
audio_stream_preview.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
code_editor.cpp Merge pull request #33760 from nekomatata/script-editor-init-optimization 2020-07-26 14:05:56 +02:00
code_editor.h Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighter 2020-07-11 17:09:58 +01:00
connections_dialog.cpp Prevent having spaces in signal's method in Connect Dialog 2020-06-19 21:24:06 +02:00
connections_dialog.h Add override keywords. 2020-07-10 13:56:54 +01:00
create_dialog.cpp Small naming and tooltip tweaks 2020-07-23 20:17:43 -03:00
create_dialog.h Add override keywords. 2020-07-10 13:56:54 +01:00
dependency_editor.cpp Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
dependency_editor.h Add override keywords. 2020-07-10 13:56:54 +01:00
dictionary_property_edit.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
dictionary_property_edit.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
doc_data.cpp Docs: Ignore OS specific values (constants, project settings, properties). 2020-07-15 12:24:59 +03:00
doc_data.h Docs: Ignore OS specific values (constants, project settings, properties). 2020-07-15 12:24:59 +03:00
editor_about.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
editor_about.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
editor_asset_installer.cpp fix item_edited behavior on Asset Installer. 2020-07-10 17:21:43 +08:00
editor_asset_installer.h Merge pull request #40253 from madmiraal/add-override-keywords 2020-07-10 21:04:23 +02:00
editor_atlas_packer.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
editor_atlas_packer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_audio_buses.cpp Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
editor_audio_buses.h Add override keywords. 2020-07-10 13:56:54 +01:00
editor_autoload_settings.cpp Fix TTR misuse 2020-07-24 15:15:23 +02:00
editor_autoload_settings.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
editor_builders.py Replace more occurrences of NULL with nullptr 2020-04-02 14:56:01 +02:00
editor_data.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
editor_data.h Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
editor_dir_dialog.cpp Fix cancel/OK button order on macOS 2020-07-10 15:10:11 -05:00
editor_dir_dialog.h Add override keywords. 2020-07-10 13:56:54 +01:00
editor_export.cpp Fix overwrite of manual changes in export_presets.cfg when export dialog is opened 2020-06-20 19:45:05 +08:00
editor_export.h Add override keywords. 2020-07-10 13:56:54 +01:00
editor_feature_profile.cpp Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
editor_feature_profile.h Merge pull request #37235 from Calinou/improve-editor-feature-profiles 2020-05-25 12:56:33 +02:00
editor_file_dialog.cpp Small naming and tooltip tweaks 2020-07-23 20:17:43 -03:00
editor_file_dialog.h Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
editor_file_system.cpp Merge pull request #40229 from ChristopheLY/atlas-auto-reimport 2020-07-10 10:57:13 +02:00
editor_file_system.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
editor_folding.cpp Remove String::find_last (same as rfind) 2020-07-03 15:26:22 +02:00
editor_folding.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
editor_fonts.cpp Change how default fonts are created, fixes #39235 2020-07-03 21:29:12 -03:00
editor_fonts.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_help.cpp Remove ToolButton in favor of Button 2020-06-19 20:49:49 +02:00
editor_help.h Remove ToolButton in favor of Button 2020-06-19 20:49:49 +02:00
editor_help_search.cpp Revert "Adds fuzzy search for help search dialog" 2020-07-01 03:19:24 +12:00
editor_help_search.h Remove ToolButton in favor of Button 2020-06-19 20:49:49 +02:00
editor_inspector.cpp Support built-in scripts for inspector categories 2020-07-06 00:06:37 +02:00
editor_inspector.h Add override keywords. 2020-07-10 13:56:54 +01:00
editor_layouts_dialog.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
editor_layouts_dialog.h Add override keywords. 2020-07-10 13:56:54 +01:00
editor_log.cpp Remove ToolButton in favor of Button 2020-06-19 20:49:49 +02:00
editor_log.h Remove unused class PaneDrag 2020-07-02 13:50:31 +02:00
editor_node.cpp Fix run project when current scene was never saved 2020-07-23 18:51:32 +02:00
editor_node.h Expose methods to play scene from plugin code 2020-07-06 17:39:16 +03:00
editor_path.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
editor_path.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
editor_plugin.cpp Expose methods to play scene from plugin code 2020-07-06 17:39:16 +03:00
editor_plugin.h Expose methods to play scene from plugin code 2020-07-06 17:39:16 +03:00
editor_plugin_settings.cpp Add a separate application focus/in notification out from Window focus notification. 2020-06-30 10:40:06 -03:00
editor_plugin_settings.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
editor_properties.cpp Convert some resource types in the inspector 2020-07-20 13:22:22 +02:00
editor_properties.h Add override keywords. 2020-07-10 13:56:54 +01:00
editor_properties_array_dict.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
editor_properties_array_dict.h Add override keywords. 2020-07-10 13:56:54 +01:00
editor_resource_preview.cpp Remove 32-bit String to_int method 2020-06-03 00:03:34 -04:00
editor_resource_preview.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
editor_run.cpp Expose methods to play scene from plugin code 2020-07-06 17:39:16 +03:00
editor_run.h Expose methods to play scene from plugin code 2020-07-06 17:39:16 +03:00
editor_run_native.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
editor_run_native.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
editor_run_script.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
editor_run_script.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
editor_scale.cpp Style: Enforce separation line between function definitions 2020-05-14 16:54:55 +02:00
editor_scale.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
editor_sectioned_inspector.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
editor_sectioned_inspector.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
editor_settings.cpp Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighter 2020-07-11 17:09:58 +01:00
editor_settings.h Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
editor_spin_slider.cpp Add a separate application focus/in notification out from Window focus notification. 2020-06-30 10:40:06 -03:00
editor_spin_slider.h Add override keywords. 2020-07-10 13:56:54 +01:00
editor_sub_scene.cpp Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
editor_sub_scene.h Add override keywords. 2020-07-10 13:56:54 +01:00
editor_themes.cpp Fix default editor/project Button styles after ToolButton removal 2020-06-24 17:21:47 +02:00
editor_themes.h Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
editor_translation_parser.cpp Change translation parser plugin API to parse_file() 2020-07-05 12:14:56 +02:00
editor_translation_parser.h Change translation parser plugin API to parse_file() 2020-07-05 12:14:56 +02:00
editor_vcs_interface.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
editor_vcs_interface.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
export_template_manager.cpp Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
export_template_manager.h Add override keywords. 2020-07-10 13:56:54 +01:00
filesystem_dock.cpp Remove String::find_last (same as rfind) 2020-07-03 15:26:22 +02:00
filesystem_dock.h Remove ToolButton in favor of Button 2020-06-19 20:49:49 +02:00
find_in_files.cpp Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
find_in_files.h Add override keywords. 2020-07-10 13:56:54 +01:00
groups_editor.cpp Remove ToolButton in favor of Button 2020-06-19 20:49:49 +02:00
groups_editor.h Remove ToolButton in favor of Button 2020-06-19 20:49:49 +02:00
import_dock.cpp check the params section exist before erasing it in import_dock 2020-05-20 01:04:21 +02:00
import_dock.h Fix multiple issues with the "Import" dock 2020-02-13 23:08:05 -03:00
input_map_editor.cpp Fix TTR misuse 2020-07-24 15:15:23 +02:00
input_map_editor.h Refactor Project Settings: 2020-07-14 11:03:51 +02:00
inspector_dock.cpp Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
inspector_dock.h Remove ToolButton in favor of Button 2020-06-19 20:49:49 +02:00
localization_editor.cpp Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
localization_editor.h Refactor Project Settings: 2020-07-14 11:03:51 +02:00
multi_node_edit.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
multi_node_edit.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
node_3d_editor_gizmos.cpp Split Geometry singleton into Geometry2D and Geometry3D 2020-05-27 14:28:34 +03:00
node_3d_editor_gizmos.h Add override keywords. 2020-07-10 13:56:54 +01:00
node_dock.cpp Remove ToolButton in favor of Button 2020-06-19 20:49:49 +02:00
node_dock.h Remove ToolButton in favor of Button 2020-06-19 20:49:49 +02:00
plugin_config_dialog.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
plugin_config_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
pot_generator.cpp Add translation parser plugin support 2020-07-02 14:47:35 +02:00
pot_generator.h Add translation parser plugin support 2020-07-02 14:47:35 +02:00
progress_dialog.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
progress_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
project_export.cpp Merge pull request #40291 from hinlopen/dialog-size 2020-07-15 12:13:33 +02:00
project_export.h Implementation of the Godot Android Plugin configuration file 2020-05-17 11:11:26 -07:00
project_manager.cpp Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
project_manager.h Remove ToolButton in favor of Button 2020-06-19 20:49:49 +02:00
project_settings_editor.cpp Refactor Project Settings: 2020-07-14 11:03:51 +02:00
project_settings_editor.h Refactor Project Settings: 2020-07-14 11:03:51 +02:00
property_editor.cpp Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
property_editor.h Fix custom property editor layout 2020-06-10 18:03:32 +03:00
property_selector.cpp Use translated docs in PropertySelector 2020-05-28 12:02:12 +02:00
property_selector.h Signals: Port more uses of connect_compat 2020-02-28 14:24:09 +01:00
pvrtc_compress.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
pvrtc_compress.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
quick_open.cpp Improve quick open performance and update some behaviour 2020-07-14 14:02:06 +02:00
quick_open.h Improve quick open performance and update some behaviour 2020-07-14 14:02:06 +02:00
register_exporters.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
rename_dialog.cpp Small naming and tooltip tweaks 2020-07-23 20:17:43 -03:00
rename_dialog.h Add override keywords. 2020-07-10 13:56:54 +01:00
reparent_dialog.cpp Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
reparent_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
run_settings_dialog.cpp Style: Enforce braces around if blocks and loops 2020-05-14 21:57:34 +02:00
run_settings_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00
scene_tree_dock.cpp Fix TTR misuse 2020-07-24 15:15:23 +02:00
scene_tree_dock.h Remove ToolButton in favor of Button 2020-06-19 20:49:49 +02:00
scene_tree_editor.cpp Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
scene_tree_editor.h Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and resource depency dialogs). 2020-07-14 14:35:22 +02:00
script_create_dialog.cpp Fix TTR misuse 2020-07-24 15:15:23 +02:00
script_create_dialog.h Add override keywords. 2020-07-10 13:56:54 +01:00
SCsub Add custom_modules build option to compile external user modules 2020-05-25 15:33:32 +03:00
settings_config_dialog.cpp Remove ToolButton in favor of Button 2020-06-19 20:49:49 +02:00
settings_config_dialog.h Add override keywords. 2020-07-10 13:56:54 +01:00
shader_globals_editor.cpp Style: Enforce separation line between function definitions 2020-05-14 16:54:55 +02:00
shader_globals_editor.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2020-05-14 16:54:55 +02:00