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
..
2017-12-07 08:02:00 +01:00
2017-11-24 21:24:15 +01:00
2017-11-25 13:25:14 +01:00
2017-11-25 13:25:14 +01:00
2017-11-21 20:58:21 +02:00
2017-08-27 14:16:55 +02:00
2017-12-09 22:57:34 +01:00
2017-12-09 22:57:34 +01:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-12-11 02:43:27 +03:00
2017-11-22 05:28:02 +03:00
2017-12-07 08:02:00 +01:00
2017-10-18 00:01:59 +02:00
2017-11-17 11:01:41 -05:00
2017-09-06 14:41:34 +02:00
2017-11-24 21:24:15 +01:00
2017-11-24 21:24:15 +01:00
2017-09-22 11:39:44 +02:00
2017-08-27 14:16:55 +02:00
2017-12-07 08:02:00 +01:00
2017-08-27 14:16:55 +02:00
2017-12-06 19:51:13 -03:00
2017-08-27 14:16:55 +02:00
2017-10-30 16:33:37 -03:00
2017-10-30 16:33:37 -03:00
2017-09-01 21:07:55 +07:00
2017-09-01 21:07:55 +07:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-11-24 21:24:15 +01:00
2017-11-24 21:24:15 +01:00
2017-12-07 08:02:00 +01:00
2017-11-04 20:26:38 +01:00
2017-11-14 15:45:30 -03:00
2017-11-14 15:45:30 -03:00
2017-11-17 11:01:41 -05:00
2017-08-27 14:16:55 +02:00
2017-12-09 14:18:14 -03:00
2017-12-09 14:18:14 -03:00
2017-08-27 22:13:45 +02:00
2017-08-27 14:16:55 +02:00
2017-09-04 21:41:57 +01:00
2017-09-14 13:49:15 -04:00
2017-11-25 00:09:40 -03:00
2017-09-14 13:49:15 -04:00
2017-12-07 08:02:00 +01:00
2017-10-18 00:01:59 +02:00
2017-08-27 14:16:55 +02:00
2017-08-27 14:16:55 +02:00
2017-11-17 11:01:41 -05:00
2017-08-27 14:16:55 +02:00
2017-11-24 21:24:15 +01:00
2017-11-24 21:24:15 +01:00
2017-09-20 13:11:10 +02:00
2017-08-27 14:16:55 +02:00
2017-12-07 08:02:00 +01:00
2017-10-18 00:01:59 +02:00
2017-11-10 21:57:39 +01:00
2017-08-27 14:16:55 +02:00
2017-12-12 21:40:12 -08:00
2017-12-07 11:57:41 +08:00
2017-12-12 21:40:12 -08:00
2017-12-08 19:21:48 +01:00
2017-03-05 14:21:25 +01:00
2017-12-07 19:17:43 +00:00
2017-11-11 14:46:59 -05:00
2017-09-22 11:39:44 +02:00
2017-08-27 14:16:55 +02:00
2017-12-12 09:41:17 +07:00
2017-12-10 13:03:53 +01:00
2017-11-26 20:54:26 -05:00
2017-10-28 08:03:49 +08:00
2017-09-22 11:39:44 +02:00
2017-08-27 14:16:55 +02:00
2017-09-30 16:19:07 +02:00
2017-08-27 14:16:55 +02:00
2017-11-10 07:31:36 +01:00
2017-10-24 13:01:45 +07:00
2017-11-07 13:32:04 +08:00
2017-11-07 13:32:04 +08:00
2017-12-02 20:49:01 -03:00
2017-12-02 20:49:01 -03:00
2017-12-10 08:01:00 +09:00
2017-11-20 06:27:47 -03:00