godot/editor
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
..
collada Cleanup unnecessary debug prints 2017-10-21 20:41:07 +02:00
doc Created internal usage flag to remove non editor properties from doc, closes #13334 2017-12-06 17:16:25 -03:00
fileserver Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function, 2017-11-25 00:09:40 -03:00
icons Merge pull request #11510 from AndreaCatania/skel 2017-12-10 13:03:53 +01:00
import Style: Re-apply clang-format over recent invalid additions 2017-12-10 01:27:02 +01:00
plugins Account for folded code blocks when navigating via members list 2017-12-12 21:40:12 -08:00
translations i18n: Fix instructions for adding new language 2017-12-04 21:10:19 +01:00
animation_editor.cpp Add feature to disable animation tracks 2017-12-09 18:22:16 +01:00
animation_editor.h Rename pos to position in user facing methods and variables 2017-09-20 13:11:10 +02:00
array_property_edit.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
array_property_edit.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
code_editor.cpp Native pan and zoom for macOS 2017-11-21 09:11:39 +01:00
code_editor.h Native pan and zoom for macOS 2017-11-21 09:11:39 +01:00
connections_dialog.cpp Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
connections_dialog.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
create_dialog.cpp EditorSettings: Rename settings_path to settings_dir 2017-11-17 20:55:09 +01:00
create_dialog.h Fixes random sorting order in Create New Node dialog 2017-11-04 19:01:01 +01:00
dependency_editor.cpp add open feture to dependency_editor.cpp 2017-11-15 14:26:38 +08:00
dependency_editor.h Add context menu to editor file dialogs. 2017-12-05 21:05:58 +01:00
dictionary_property_edit.cpp Better supported for remote object editing with the inspector with a simple dictionary editor implement 2017-11-17 09:20:33 +08:00
dictionary_property_edit.h Better supported for remote object editing with the inspector with a simple dictionary editor implement 2017-11-17 09:20:33 +08:00
doc_code_font.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
doc_font.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
doc_title_font.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_about.cpp Changed EditorAbout's TextEdits to RichTextLabels. 2017-12-01 13:20:10 -02:00
editor_about.h Changed EditorAbout's TextEdits to RichTextLabels. 2017-12-01 13:20:10 -02:00
editor_asset_installer.cpp Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function, 2017-11-25 00:09:40 -03:00
editor_asset_installer.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_audio_buses.cpp Some untranslated UI strings 2017-12-02 16:59:45 +07:00
editor_audio_buses.h Improved audio buses editor 2017-09-25 01:48:57 -05:00
editor_autoload_settings.cpp Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844 2017-10-05 15:34:34 -03:00
editor_autoload_settings.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_data.cpp Some untranslated UI strings 2017-12-02 16:59:45 +07:00
editor_data.h Fix typo 'begining' to 'beginning' 2017-09-01 22:54:57 +07:00
editor_dir_dialog.cpp Renamed function arguments to keep them consistent between declaration and implementation 2017-09-14 13:49:15 -04:00
editor_dir_dialog.h -Fixed EditorDirDialog, which was really old and needed to use EditorFileSystem 2017-09-03 00:24:36 -03:00
editor_export.cpp Fix Manage Export Templates link 2017-12-08 00:46:03 +01:00
editor_export.h Style: Apply new clang-format 5.0 style to all files 2017-12-07 08:02:00 +01:00
editor_file_dialog.cpp Merge pull request #13724 from RayKoopa/editor_file_dialog_context_menu 2017-12-06 23:46:43 +01:00
editor_file_dialog.h Add context menu to editor file dialogs. 2017-12-05 21:05:58 +01:00
editor_file_system.cpp Add context menu to editor file dialogs. 2017-12-05 21:05:58 +01:00
editor_file_system.h Changed reimport logic to also check md5 before reimporting, fixes #13135 2017-11-24 13:39:41 -03:00
editor_fonts.cpp Merge pull request #13222 from Calinou/tweak-editor-help-font-sizes 2017-11-26 21:17:25 +01:00
editor_fonts.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_help.cpp Style: Re-apply clang-format over recent invalid additions 2017-12-10 01:27:02 +01:00
editor_help.h Make "Search Help" more responsive 2017-12-06 23:01:17 +01:00
editor_initialize_ssl.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_initialize_ssl.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_log.cpp Remove unecessary anchors&margins set causing bad display (sons of containers) 2017-09-27 00:38:28 +02:00
editor_log.h Fixed some inconsistent styles, plus some cleanup 2017-09-12 13:16:47 -05:00
editor_name_dialog.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_name_dialog.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_node.cpp Fixed close current scene closing the wrong scene, issue 13844 2017-12-10 12:48:03 +00:00
editor_node.h Merge pull request #13233 from Krakean/add_eidtorinspector_collapseexpand_v2 2017-11-26 20:57:59 +01:00
editor_path.cpp Better supported for remote object editing with the inspector with a simple dictionary editor implement 2017-11-17 09:20:33 +08:00
editor_path.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_plugin_settings.cpp Removed most of the custom colors from the interface. 2017-09-25 21:43:20 -05:00
editor_plugin_settings.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_plugin.cpp Defer the scan filesystem call when adding import plugins 2017-12-09 14:59:01 -02:00
editor_plugin.h Style: Re-apply clang-format over recent invalid additions 2017-12-10 01:27:02 +01:00
editor_profiler.cpp Some untranslated UI strings 2017-12-02 16:59:45 +07:00
editor_profiler.h Renamed fixed_process to physics_process 2017-09-30 16:19:07 +02:00
editor_resource_preview.cpp Use new XDG folders to dehardcode paths 2017-11-19 20:54:26 +01:00
editor_resource_preview.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_run_native.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_run_native.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_run_script.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_run_script.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_run.cpp Fix player window centering on macOS retina screens 2017-12-10 18:28:08 +01:00
editor_run.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_scale.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_scale.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_settings.cpp Merge pull request #13994 from ISylvox/caret-blink 2017-12-09 15:15:19 +01:00
editor_settings.h Fixed editor settings disappearing (caused by uninitialized variable). 2017-11-29 22:04:41 -06:00
editor_sub_scene.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_sub_scene.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_themes.cpp Fix CheckButton minimum size 2017-12-11 14:52:32 +09:00
editor_themes.h Fixed theme update and some widgets. 2017-11-11 11:58:30 -06:00
export_template_manager.cpp Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function, 2017-11-25 00:09:40 -03:00
export_template_manager.h -Modules can now add custom version info (added it for Mono) 2017-11-01 23:13:27 -03:00
file_type_cache.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
file_type_cache.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
filesystem_dock.cpp Merge pull request #13446 from gad-o/duplicate_file 2017-12-09 16:34:35 +01:00
filesystem_dock.h Merge pull request #13446 from gad-o/duplicate_file 2017-12-09 16:34:35 +01:00
groups_editor.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
groups_editor.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
import_dock.cpp Fix not being able to select an editor layout created in another language. 2017-11-26 13:27:48 -02:00
import_dock.h Refresh import options when changing importer 2017-11-13 17:31:00 -02:00
multi_node_edit.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
multi_node_edit.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
node_dock.cpp Fix not being able to select an editor layout created in another language. 2017-11-26 13:27:48 -02:00
node_dock.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
output_strings.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
output_strings.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
pane_drag.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
pane_drag.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
progress_dialog.cpp Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE) 2017-09-22 11:39:44 +02:00
progress_dialog.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
project_export.cpp Some improvements to file/dir open/save dialogs: 2017-11-27 22:39:36 +01:00
project_export.h Fix file extensions persisting in file dialog after export 2017-11-20 23:20:56 +01:00
project_manager.cpp Style: Apply clang-format again on all files 2017-12-07 08:02:00 +01:00
project_manager.h Ask users to explore official projects when none is loaded. 2017-11-26 15:31:48 -03:00
project_settings_editor.cpp Removed style override inside the Localization tab in the Project Settings. 2017-12-07 21:49:44 -02:00
project_settings_editor.h ProjectSettings: show error msg in a label instead 2017-10-28 09:35:09 +07:00
property_editor.cpp Highlight Editor Settings categories 2017-12-11 13:13:17 +01:00
property_editor.h Merge pull request #13958 from jjjuande/fix_revert_button 2017-12-07 00:30:07 +01:00
property_selector.cpp PropertyEditor: Fix display of property doc in tooltip 2017-12-09 22:54:12 +01:00
property_selector.h Many fixes to visual script, changed virtuals override for a proper selector. 2017-09-12 07:58:54 -03:00
pvrtc_compress.cpp Use new XDG folders to dehardcode paths 2017-11-19 20:54:26 +01:00
pvrtc_compress.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
quick_open.cpp Fixed quick open not showing enties with no search text, issue 11277 2017-09-16 13:14:22 +00:00
quick_open.h Improve 'quick open' search time 2017-09-02 16:17:59 +02:00
register_exporters.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
reparent_dialog.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
reparent_dialog.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
run_settings_dialog.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
run_settings_dialog.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
scene_tree_dock.cpp Fix not being able to select an editor layout created in another language. 2017-11-26 13:27:48 -02:00
scene_tree_dock.h Add editor setting to allow keep show local scene tree while debugger start. 2017-11-22 21:53:01 +08:00
scene_tree_editor.cpp Fix SceneTreeEditor crashing when calling _deselect_items 2017-12-10 22:41:54 +01:00
scene_tree_editor.h Scene Tree Dock: added ability to deselect items when clicking on empty space 2017-11-26 18:30:48 +03:00
script_create_dialog.cpp Use new XDG folders to dehardcode paths 2017-11-19 20:54:26 +01:00
script_create_dialog.h Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog 2017-10-24 15:48:58 +02:00
script_editor_debugger.cpp Make auto switch to remote scene tree opt-in 2017-12-04 10:25:35 +01:00
script_editor_debugger.h Add editor setting to allow keep show local scene tree while debugger start. 2017-11-22 21:53:01 +08:00
SCsub disable caching for targets using helper functions 2017-11-28 23:24:12 -04:00
settings_config_dialog.cpp Some untranslated UI strings 2017-12-02 16:59:45 +07:00
settings_config_dialog.h Separated Editor settings and Scene undo redo stack 2017-10-15 18:17:28 +01:00
spatial_editor_gizmos.cpp Merge pull request #13836 from AndreaCatania/scale 2017-12-11 10:35:09 +01:00
spatial_editor_gizmos.h Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00