Files
zed/crates
Antonio Scandurra 7a81983c62 Fix surrounding text with bracket pairs with multiple selections
This was probably a regression that was introduced with the new batched
`Buffer::edit` API and was caused by providing selection ranges in a
non-ordered fashion (we were passing all the starts first and then all the
ends).

With this commit we are adding a unit test to verify the behavior of
`Editor::surround_with_bracket_pair` and changing the order in which
we pass edit ranges to respect the selection order.
2022-06-15 11:48:21 +02:00
..
2022-05-31 11:16:32 +02:00
2022-06-15 11:16:26 +02:00
🎨
2022-05-23 09:48:00 +02:00
2022-05-09 12:48:07 -06:00
2022-06-15 10:33:20 +02:00
🎨
2022-06-14 14:03:25 +02:00
2022-06-15 10:33:20 +02:00
2022-06-08 18:30:10 -07:00
2022-05-26 17:02:05 -07:00