vultix
2e616f8388
Add new argument vim text object ( #7791 )
...
This PR adds a new `argument` vim text object, inspired by
[targets.vim](https://github.com/wellle/targets.vim ).
As it's the first vim text object to use the syntax tree, it needed to
operate on the `Buffer` level, not the `MultiBuffer` level, then map the
buffer coordinates to `DisplayPoint` as necessary.
This required two main changes:
1. `innermost_enclosing_bracket_ranges` and `enclosing_bracket_ranges`
were moved into `Buffer`. The `MultiBuffer` implementations were updated
to map to/from these.
2. `MultiBuffer::excerpt_containing` was made public, returning a new
`MultiBufferExcerpt` type that contains a reference to the excerpt and
methods for mapping to/from `Buffer` and `MultiBuffer` offsets and
ranges.
Release Notes:
- Added new `argument` vim text object, inspired by
[targets.vim](https://github.com/wellle/targets.vim ).
2024-02-23 19:37:13 -07:00
..
2024-02-06 20:41:36 +01:00
2024-02-12 11:37:27 -05:00
2024-02-06 20:41:36 +01:00
2024-02-23 11:13:28 -05:00
2024-02-06 20:41:36 +01:00
2024-02-22 02:20:06 -05:00
2024-02-06 20:41:36 +01:00
2024-02-22 10:07:36 -07:00
2024-02-22 22:28:08 -05:00
2024-02-23 19:18:06 -07:00
2024-02-23 20:07:13 -05:00
2024-02-22 22:28:08 -05:00
2024-02-23 20:58:45 -05:00
2024-02-23 19:18:06 -07:00
2024-01-30 14:08:20 -05:00
2024-02-06 20:41:36 +01:00
2024-02-23 15:56:08 +01:00
2024-02-23 13:39:14 +01:00
2024-02-16 10:45:55 -05:00
2024-02-06 20:41:36 +01:00
2024-02-23 15:56:08 +01:00
2024-02-23 19:37:13 -07:00
2024-02-23 16:08:14 -05:00
2024-02-23 15:56:08 +01:00
2024-02-06 20:41:36 +01:00
2024-02-12 22:28:26 -07:00
2024-02-19 14:37:52 +02:00
2024-02-22 11:22:12 -08:00
2024-02-08 08:35:37 -08:00
2024-02-06 20:41:36 +01:00
2024-02-06 20:41:36 +01:00
2024-02-06 20:41:36 +01:00
2024-02-23 19:18:06 -07:00
2024-02-23 15:18:32 -08:00
2024-02-21 00:35:29 +02:00
2024-02-06 20:41:36 +01:00
2024-02-23 19:37:13 -07:00
2024-02-19 14:37:52 +02:00
2024-02-07 15:14:50 -05:00
2024-02-23 23:46:27 +02:00
2024-02-23 19:18:06 -07:00
2024-01-30 21:41:29 -05:00
2024-02-23 13:39:14 +01:00
2024-02-22 02:20:06 -05:00
2024-02-23 19:18:06 -07:00
2024-02-06 20:41:36 +01:00
2024-02-23 19:37:13 -07:00
2024-02-20 09:53:03 +02:00
2024-02-06 20:41:36 +01:00
2024-02-19 14:37:52 +02:00
2024-02-22 01:30:02 +02:00
2024-02-06 20:41:36 +01:00
2024-01-30 21:41:29 -05:00
2024-01-30 21:41:29 -05:00
2024-02-23 13:39:14 +01:00
2024-02-23 16:23:42 -08:00
2024-02-07 19:06:03 +02:00
2024-02-19 14:37:52 +02:00
2024-02-18 08:14:08 +02:00
2024-02-23 15:56:08 +01:00
2024-01-30 21:41:29 -05:00
2024-02-06 20:41:36 +01:00
2024-02-19 21:49:47 -07:00
2024-02-17 09:03:05 -07:00
2024-02-22 10:07:36 -07:00
2024-02-20 21:07:01 +02:00
2024-02-12 11:37:27 -05:00
2024-02-23 18:24:04 +01:00
2024-01-29 23:47:20 -05:00
2024-02-07 19:06:03 +02:00
2024-02-06 20:41:36 +01:00
2024-02-06 20:41:36 +01:00
2024-02-23 16:23:42 -08:00
2024-02-17 09:03:05 -07:00
2024-02-21 16:43:56 +02:00
2024-02-23 15:56:08 +01:00
2024-02-23 11:13:28 -05:00
2024-02-21 14:56:43 +02:00
2024-02-21 14:30:16 +01:00
2024-02-17 09:03:05 -07:00
2024-02-20 11:26:09 -05:00
2024-02-07 16:23:36 -05:00
2024-02-23 15:56:08 +01:00
2024-02-23 19:18:06 -07:00
2024-02-23 15:18:32 -08:00
2024-02-23 11:13:28 -05:00
2024-02-19 14:37:52 +02:00
2024-02-23 19:37:13 -07:00
2024-02-19 14:37:52 +02:00
2024-02-23 15:18:32 -08:00
2024-02-23 20:09:14 -05:00
2024-02-06 20:41:36 +01:00