Gregor
bb640c6a1c
Add multi selection support to UnwrapSyntaxNode ( #35991 )
...
Closes #35932
Closes #35933
I only intended to fix multi select in this, I accidentally drive-by
fixed the VIM issue as well. `replace_text_in_range` which I was using
before has two, to me unexpected, side-effects:
- it no-ops when input is disabled, which is the case in VIM's
Insert/Visual modes
- it takes the current selection into account, and does not just operate
on the given range (which I erroneously assumed before)
Now the code is using `buffer.edit` instead, which seems more lower
level, and does not have those side-effects. I was enthused to see that
it accepts a vec of edits, so I didn't have to calculate offsets for
following edits... until I also wanted to set selections, where I do
need to do it by hand. I'm still wondering if there is a simpler way to
do it, but for now it at least passes my muster
Release Notes:
- Added multiple selection support to UnwrapSyntaxNode action
- Fixed UnwrapSyntaxNode not working in VIM Insert/Visual modes
2025-08-19 01:01:46 +03:00
..
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-15 21:03:50 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 20:40:59 +00:00
2025-08-05 18:16:47 +00:00
2025-07-11 23:20:35 +00:00
2025-08-13 13:25:52 -06:00
2025-08-18 21:54:35 +00:00
2025-07-10 19:25:10 +00:00
2025-08-18 21:54:35 +00:00
2025-08-10 21:57:55 +00:00
2025-08-18 21:54:35 +00:00
2025-08-15 10:10:52 +00:00
2025-08-12 17:04:30 -07:00
2025-08-13 15:01:00 -07:00
2025-07-03 14:22:28 +00:00
2025-07-22 11:55:24 -04:00
2025-08-05 18:16:47 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-14 17:02:51 +02:00
2025-08-05 00:37:22 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-07 01:28:41 +00:00
2025-08-07 01:28:41 +00:00
2025-08-11 15:34:34 +02:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-06 15:28:18 -04:00
2025-08-05 23:11:43 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-16 06:33:32 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-07-06 14:52:16 +02:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-07 18:27:29 +03:00
2025-08-15 20:27:44 +00:00
2025-08-19 01:01:46 +03:00
2025-08-18 21:54:35 +00:00
2025-07-10 21:08:43 +02:00
2025-08-18 21:54:35 +00:00
2025-07-01 20:02:12 +00:00
2025-08-16 19:00:31 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 19:48:02 +00:00
2025-08-07 22:14:25 +00:00
2025-07-02 21:14:33 -04:00
2025-08-18 21:54:35 +00:00
2025-08-13 11:59:59 -04:00
2025-08-18 21:54:35 +00:00
2025-08-06 10:53:20 +02:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-16 09:19:38 +03:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-07-11 21:01:09 -04:00
2025-08-11 07:20:03 +00:00
2025-08-17 13:25:05 -03:00
2025-07-17 09:22:04 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-07-02 21:14:33 -04:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-08 05:04:30 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-07-25 09:36:43 -04:00
2025-08-14 08:16:25 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-07-02 21:14:33 -04:00
2025-08-18 21:54:35 +00:00
2025-08-09 15:25:47 -04:00
2025-08-18 21:54:35 +00:00
2025-07-17 14:25:55 +00:00
2025-07-08 14:34:57 +00:00
2025-08-14 23:28:15 +05:30
2025-08-08 15:34:36 -03:00
2025-08-06 10:44:15 -04:00
2025-08-18 21:54:35 +00:00
2025-08-18 08:54:31 +00:00
2025-07-16 11:44:08 -04:00
2025-08-18 21:54:35 +00:00
2025-07-08 11:23:36 -03:00
2025-07-29 15:31:54 +00:00
2025-08-06 00:02:26 +00:00
2025-07-24 15:24:53 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-13 20:11:32 +00:00
2025-08-16 06:33:32 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-04 18:19:42 -07:00
2025-08-18 21:54:35 +00:00
2025-08-07 23:07:33 +00:00
2025-08-04 16:22:18 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-07-31 17:31:12 +00:00
2025-08-18 21:54:35 +00:00
2025-07-04 00:57:43 +00:00
2025-08-08 15:34:36 -03:00
2025-08-15 20:27:44 +00:00
2025-08-18 21:54:35 +00:00
2025-08-05 00:37:22 +00:00
2025-08-07 18:27:29 +03:00
2025-07-02 21:14:33 -04:00
2025-07-02 21:14:33 -04:00
2025-08-18 21:54:35 +00:00
2025-08-04 11:58:31 -03:00
2025-08-15 15:37:52 -04:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-14 13:04:07 -04:00
2025-08-16 14:35:06 +00:00
2025-07-18 16:55:03 +00:00
2025-08-08 15:34:36 -03:00
2025-08-18 21:54:35 +00:00
2025-08-12 13:36:28 +00:00
2025-08-18 21:54:35 +00:00
2025-08-07 11:50:11 -03:00
2025-07-30 23:03:53 +05:30
2025-08-13 18:07:49 -04:00
2025-08-15 13:54:24 +03:00
2025-08-18 21:54:35 +00:00
2025-07-30 00:09:14 +00:00
2025-07-30 00:09:14 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-15 13:54:24 +03:00
2025-08-18 21:54:35 +00:00
2025-08-14 13:39:33 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00
2025-08-18 21:54:35 +00:00