godot/editor/plugins
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
..
abstract_polygon_2d_editor.cpp Style: Apply new clang-format 5.0 style to all files 2017-12-07 08:02:00 +01:00
abstract_polygon_2d_editor.h Universalize draw-over API for EditorPlugins 2017-11-24 21:24:15 +01:00
animation_player_editor_plugin.cpp Implement onion skinning for the animation editor 2017-11-25 13:25:14 +01:00
animation_player_editor_plugin.h Implement onion skinning for the animation editor 2017-11-25 13:25:14 +01:00
animation_tree_editor_plugin.cpp Allow for getting/setting indexed properties of objects using get/set_indexed 2017-11-21 20:58:21 +02:00
animation_tree_editor_plugin.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
asset_library_editor_plugin.cpp Project Manager: Fix Templates search signal connection. 2017-12-09 22:57:34 +01:00
asset_library_editor_plugin.h Project Manager: Fix Templates search signal connection. 2017-12-09 22:57:34 +01:00
camera_editor_plugin.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
camera_editor_plugin.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
canvas_item_editor_plugin.cpp Fixed #14503 2017-12-11 02:43:27 +03:00
canvas_item_editor_plugin.h When drag'n'drop (lets say, picture in 2D mode), automatically create dragged resource as a root node if you haven't any yet. 2017-11-22 05:28:02 +03:00
collision_polygon_2d_editor_plugin.cpp Style: Apply new clang-format 5.0 style to all files 2017-12-07 08:02:00 +01:00
collision_polygon_2d_editor_plugin.h Fixes snapping and replaces the _draw_canvas by forward_canvas_draw 2017-10-18 00:01:59 +02:00
collision_polygon_editor_plugin.cpp Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
collision_polygon_editor_plugin.h Remove dead ButtonGroup code 2017-09-06 14:41:34 +02:00
collision_shape_2d_editor_plugin.cpp Universalize draw-over API for EditorPlugins 2017-11-24 21:24:15 +01:00
collision_shape_2d_editor_plugin.h Universalize draw-over API for EditorPlugins 2017-11-24 21:24:15 +01:00
cube_grid_theme_editor_plugin.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
cube_grid_theme_editor_plugin.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
curve_editor_plugin.cpp Style: Apply new clang-format 5.0 style to all files 2017-12-07 08:02:00 +01:00
curve_editor_plugin.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
editor_preview_plugins.cpp -Fix particles with size==0, closes #13931 2017-12-06 19:51:13 -03:00
editor_preview_plugins.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
gi_probe_editor_plugin.cpp Clean up GI Probe baking, proper button and progress bar. 2017-10-30 16:33:37 -03:00
gi_probe_editor_plugin.h Clean up GI Probe baking, proper button and progress bar. 2017-10-30 16:33:37 -03:00
gradient_editor_plugin.cpp Fix files header 2017-09-01 21:07:55 +07:00
gradient_editor_plugin.h Fix files header 2017-09-01 21:07:55 +07:00
item_list_editor_plugin.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
item_list_editor_plugin.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
light_occluder_2d_editor_plugin.cpp Universalize draw-over API for EditorPlugins 2017-11-24 21:24:15 +01:00
light_occluder_2d_editor_plugin.h Universalize draw-over API for EditorPlugins 2017-11-24 21:24:15 +01:00
line_2d_editor_plugin.cpp Style: Apply new clang-format 5.0 style to all files 2017-12-07 08:02:00 +01:00
line_2d_editor_plugin.h Use AbstractPolygon2DEditor for Line2D 2017-11-04 20:26:38 +01:00
material_editor_plugin.cpp Finalized ability to convert from CanvasItem/Spatial/Particles materials to ShaderMaterial, closes #10242 2017-11-14 15:45:30 -03:00
material_editor_plugin.h Finalized ability to convert from CanvasItem/Spatial/Particles materials to ShaderMaterial, closes #10242 2017-11-14 15:45:30 -03:00
mesh_editor_plugin.cpp Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
mesh_editor_plugin.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
mesh_instance_editor_plugin.cpp -Ability to and unwrap lightmap coordinates on import 2017-12-09 14:18:14 -03:00
mesh_instance_editor_plugin.h -Ability to and unwrap lightmap coordinates on import 2017-12-09 14:18:14 -03:00
multimesh_editor_plugin.cpp Dead code tells no tales 2017-08-27 22:13:45 +02:00
multimesh_editor_plugin.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
navigation_mesh_editor_plugin.cpp Recast integration. 2017-09-04 21:41:57 +01:00
navigation_mesh_editor_plugin.h Renamed function arguments to keep them consistent between declaration and implementation 2017-09-14 13:49:15 -04:00
navigation_mesh_generator.cpp Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function, 2017-11-25 00:09:40 -03:00
navigation_mesh_generator.h Renamed function arguments to keep them consistent between declaration and implementation 2017-09-14 13:49:15 -04:00
navigation_polygon_editor_plugin.cpp Style: Apply new clang-format 5.0 style to all files 2017-12-07 08:02:00 +01:00
navigation_polygon_editor_plugin.h Fixes snapping and replaces the _draw_canvas by forward_canvas_draw 2017-10-18 00:01:59 +02:00
particles_2d_editor_plugin.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
particles_2d_editor_plugin.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
particles_editor_plugin.cpp Rename Rect3 to AABB. 2017-11-17 11:01:41 -05:00
particles_editor_plugin.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
path_2d_editor_plugin.cpp Universalize draw-over API for EditorPlugins 2017-11-24 21:24:15 +01:00
path_2d_editor_plugin.h Universalize draw-over API for EditorPlugins 2017-11-24 21:24:15 +01:00
path_editor_plugin.cpp Rename pos to position in user facing methods and variables 2017-09-20 13:11:10 +02:00
path_editor_plugin.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
polygon_2d_editor_plugin.cpp Style: Apply new clang-format 5.0 style to all files 2017-12-07 08:02:00 +01:00
polygon_2d_editor_plugin.h Fixes snapping and replaces the _draw_canvas by forward_canvas_draw 2017-10-18 00:01:59 +02:00
resource_preloader_editor_plugin.cpp Replace Del icon by Remove icon 2017-11-10 21:57:39 +01:00
resource_preloader_editor_plugin.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
script_editor_plugin.cpp Account for folded code blocks when navigating via members list 2017-12-12 21:40:12 -08:00
script_editor_plugin.h Add 'copy script path' to script editor plugin 2017-12-07 11:57:41 +08:00
script_text_editor.cpp Account for folded code blocks when navigating via members list 2017-12-12 21:40:12 -08:00
script_text_editor.h Modify shortcuts and menus to fold/unfold code 2017-12-08 19:21:48 +01:00
SCsub Refactoring: rename tools/editor/ to editor/ 2017-03-05 14:21:25 +01:00
shader_editor_plugin.cpp Changed current line draw order and added code folding color 2017-12-07 19:17:43 +00:00
shader_editor_plugin.h shader editor context menu and line operations and style fix 2017-11-11 14:46:59 -05:00
shader_graph_editor_plugin.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
shader_graph_editor_plugin.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
spatial_editor_plugin.cpp Change statable to multistate, remove extra separator 2017-12-12 09:41:17 +07:00
spatial_editor_plugin.h Merge pull request #11510 from AndreaCatania/skel 2017-12-10 13:03:53 +01:00
sprite_frames_editor_plugin.cpp Focus on sprite animation list after adding a new one to allow renaming with f2 2017-11-26 20:54:26 -05:00
sprite_frames_editor_plugin.h Add copy button to sprite_frames_editor_plugin 2017-10-28 08:03:49 +08:00
style_box_editor_plugin.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
style_box_editor_plugin.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
texture_editor_plugin.cpp Renamed fixed_process to physics_process 2017-09-30 16:19:07 +02:00
texture_editor_plugin.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
texture_region_editor_plugin.cpp Fix misaligned zoom icon in Texture Region Editor plugin 2017-11-10 07:31:36 +01:00
texture_region_editor_plugin.h Finished transition of Patch9Rect to NinePatchRect 2017-10-24 13:01:45 +07:00
theme_editor_plugin.cpp Add menu to import current editor theme into theme editor 2017-11-07 13:32:04 +08:00
theme_editor_plugin.h Add menu to import current editor theme into theme editor 2017-11-07 13:32:04 +08:00
tile_map_editor_plugin.cpp TileMap Fixes 2017-12-02 20:49:01 -03:00
tile_map_editor_plugin.h TileMap Fixes 2017-12-02 20:49:01 -03:00
tile_set_editor_plugin.cpp Fix get_edited_scene_root error at starting editor 2017-12-10 08:01:00 +09:00
tile_set_editor_plugin.h Implement auto-tiling 2017-11-20 06:27:47 -03:00