godot/editor
Haoyu Qiu dff81b25cd
Fix TextEditor not checking Standard highlighter in non-English UI
When using non-English UI, there were `Index p_idx = -1 is out of bounds (items.size() = 2).`
errors on on startup if any text file is open in the script editor. And clicking the Standard
highlighter option does not check that menu item.

This is caused by `TextEditor` searching for that menu item with unlocalized text. As already
did in `ScriptTextEditor`, this PR stores and searches for menu item with `TTR`ed text.

(cherry picked from commit a66339a549)
2021-08-18 23:27:43 +02:00
..
collada Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
doc doc: Use self-closing tags for return and argument 2021-08-03 10:32:31 +02:00
fileserver Fix crash on cleanup of EditorFileServer 2021-03-07 22:51:06 +01:00
icons Backport RootMotionView icon from the master branch 2021-07-24 01:11:44 +02:00
import ERR_FAIL_NULL check file access 2021-06-17 13:25:29 +02:00
plugins Fix TextEditor not checking Standard highlighter in non-English UI 2021-08-18 23:27:43 +02:00
translations i18n: Sync translations with Weblate 2021-08-03 10:32:32 +02:00
animation_bezier_editor.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
animation_bezier_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
animation_track_editor_plugins.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
animation_track_editor_plugins.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
animation_track_editor.cpp Merge similar editor strings 2021-07-13 12:19:36 +02:00
animation_track_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
array_property_edit.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
array_property_edit.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
audio_stream_preview.cpp Modernize atomics 2021-02-18 12:23:25 +01:00
audio_stream_preview.h Modernize atomics 2021-02-18 12:23:25 +01:00
code_editor.cpp Fix: Selection Only in Find/Replace now preserves selection 2021-08-18 23:25:31 +02:00
code_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
connections_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
connections_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
create_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
create_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dependency_editor.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dependency_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dictionary_property_edit.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dictionary_property_edit.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_about.cpp Separate version hash from version number in editor and project manager 2021-06-17 13:19:41 +02:00
editor_about.h Make it possible to copy the Godot version identifier by clicking it 2021-06-08 10:48:29 +02:00
editor_asset_installer.cpp [3.x] Allow reading shaders from .gdshader files 2021-07-20 12:00:16 +02:00
editor_asset_installer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_atlas_packer.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_atlas_packer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_audio_buses.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_audio_buses.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_autoload_settings.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_autoload_settings.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_builders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
editor_data.cpp Don't save project settings when not necessary 2021-02-16 14:27:38 +01:00
editor_data.h Detect external modification of scenes 2021-02-11 01:08:49 +01:00
editor_dir_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_dir_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_export.cpp Add a "keep" import mode to keep files as-is and export them. 2021-03-23 15:44:24 +01:00
editor_export.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_feature_profile.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_feature_profile.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_file_dialog.cpp Remove trailing slash from recent dir if needed 2021-06-17 13:24:59 +02:00
editor_file_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_file_system.cpp Add an import setting use_legacy_names. 2021-04-20 22:48:52 -07:00
editor_file_system.h Update the filtering logic to properly handle directories with .gdignore files. 2021-02-22 20:18:56 -08:00
editor_folding.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_folding.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_fonts.cpp Improve editor text appearance in (un)zoomed GraphEdit-based editors 2021-02-06 19:24:05 +01:00
editor_fonts.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_help_search.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_help_search.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_help.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_help.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_inspector.cpp Improved Inspector Sub-Resource Editing 2021-02-18 05:43:19 -06:00
editor_inspector.h Improved Inspector Sub-Resource Editing 2021-02-18 05:43:19 -06:00
editor_layouts_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_layouts_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_log.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_log.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_network_profiler.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_network_profiler.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_node.cpp Don't save project on startup in headless or no-window mode 2021-08-13 12:17:15 +02:00
editor_node.h Make it possible to copy the Godot version identifier by clicking it 2021-06-08 10:48:29 +02:00
editor_path.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_path.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_plugin_settings.cpp Detect plugins recursively 2021-01-19 18:46:55 +02:00
editor_plugin_settings.h Detect plugins recursively 2021-01-19 18:46:55 +02:00
editor_plugin.cpp Validate parameters when adding plugins 2021-06-17 13:21:42 +02:00
editor_plugin.h Expose edit_node() for editor plugins 2021-04-12 09:24:37 +02:00
editor_profiler.cpp Fix editor crash when exporting profiler data 2021-05-22 19:11:57 +02:00
editor_profiler.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_properties_array_dict.cpp Increase the page size for array/dictionary editors to 20 2021-02-22 10:15:00 +01:00
editor_properties_array_dict.h Increase the page size for array/dictionary editors to 20 2021-02-22 10:15:00 +01:00
editor_properties.cpp Fix EditorPropertyEasing capturing drag events originated outside of it 2021-05-13 23:16:06 +02:00
editor_properties.h Improved Inspector Sub-Resource Editing 2021-02-18 05:43:19 -06:00
editor_resource_preview.cpp Modernize atomics 2021-02-18 12:23:25 +01:00
editor_resource_preview.h Update EditorResourcePreview queue_*() documentation 2021-05-31 11:34:13 +02:00
editor_run_native.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run_native.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run_script.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run_script.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_scale.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_scale.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_sectioned_inspector.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_sectioned_inspector.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_settings.cpp Allow negative contrast values in the editor theme settings 2021-05-09 16:38:18 +02:00
editor_settings.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_spin_slider.cpp fix-EditorSpinSlider-grabber-zoomed-position 2021-03-14 12:03:22 +01:00
editor_spin_slider.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_sub_scene.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_sub_scene.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_themes.cpp Merge pull request #47213 from timothyqiu/project-icon-size-3.x 2021-04-12 00:08:40 +02:00
editor_themes.h Fix project icon size in Project Manager 2021-03-21 14:41:46 +08:00
editor_vcs_interface.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_vcs_interface.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
export_template_manager.cpp Fix overflow in export template manager 2021-06-03 12:42:08 +02:00
export_template_manager.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
filesystem_dock.cpp Remove FileSystem dock errors on unimported files 2021-03-23 15:44:52 +01:00
filesystem_dock.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
find_in_files.cpp Make "Find in Files" searches ignore directories with .gdignore files in them 2021-08-03 09:25:10 +02:00
find_in_files.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
groups_editor.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
groups_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
import_defaults_editor.cpp Backport the Import Defaults Editor 2021-02-24 17:50:42 -03:00
import_defaults_editor.h Backport the Import Defaults Editor 2021-02-24 17:50:42 -03:00
import_dock.cpp Check section existance before getting keys 2021-03-26 09:22:22 +01:00
import_dock.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
inspector_dock.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
inspector_dock.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
multi_node_edit.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
multi_node_edit.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
node_dock.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
node_dock.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pane_drag.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pane_drag.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
plugin_config_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
plugin_config_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
progress_dialog.cpp Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
progress_dialog.h Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
project_export.cpp Ensures that export path is used when exporting PCK/ZIP 2021-01-26 17:00:16 +01:00
project_export.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
project_manager.cpp Separate version hash from version number in editor and project manager 2021-06-17 13:19:41 +02:00
project_manager.h Make it possible to copy the Godot version identifier by clicking it 2021-06-08 10:48:29 +02:00
project_settings_editor.cpp Fix game controllers ignoring the last listed button 2021-06-07 22:40:42 +02:00
project_settings_editor.h Merge Category and Property fields in the Project Settings 2021-03-02 19:39:46 +03:00
property_editor.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
property_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
property_selector.cpp Make property description in the animation editor actually show it 2021-08-13 10:36:58 +02:00
property_selector.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
quick_open.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
quick_open.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
register_exporters.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rename_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rename_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
reparent_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
reparent_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
run_settings_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
run_settings_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_tree_dock.cpp Add ctrl+shift+a to instance scene in scenetree dock 2021-05-09 17:29:53 +02:00
scene_tree_dock.h Prevent 'Change Type' on nodes from an instanced scene 2021-02-26 15:26:31 +01:00
scene_tree_editor.cpp Do not update scene tree dock when node edited outside of it 2021-07-20 11:58:28 +02:00
scene_tree_editor.h Keep selected node visible after filter change 2021-02-08 02:25:14 +01:00
script_create_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
script_create_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
script_editor_debugger.cpp Fix negative VRAM values 2021-03-09 09:51:17 +00:00
script_editor_debugger.h Keep selected node visible after filter change 2021-02-08 02:25:14 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
settings_config_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
settings_config_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
spatial_editor_gizmos.cpp Fix PhysicalBone gizmo not showing 2021-03-22 10:35:11 -07:00
spatial_editor_gizmos.h Allow CollisionObject to show collision shape meshes 2021-02-24 21:33:40 +01:00