zed/crates/text/src
Cole Miller 930f484fe4
git: Follow-up fixes for custom blocks in the side-by-side diff (#48747)
- Ensure that both sides are passed the appropriate companion data to
preserve spacers when syncing
- Remove companion handling in codepaths related to range folding, since
this isn't supported in the side-by-side diff
- Move handling of buffer folding into the block map
- Rework `set_companion` to handle both `DisplayMap`s at once
- DRY some code around block map syncing in the `DisplayMap`

TODO:

- [x] diagnose and fix issue that causes balancing blocks not to render
properly when they are adjacent to spacers (e.g. merge conflict buttons)
- [x] clear balancing blocks when clearing companion
- [x] additional tests: interaction between spacers and balancing
blocks, resizing

Release Notes:

- N/A
2026-02-08 20:10:52 -05:00
..
anchor.rs editor: Implement semantic highlighting (#46356) 2026-02-04 17:37:13 +00:00
locator.rs sum_tree: Reduce Cursor size for contextless summary types (#38776) 2025-09-24 14:35:38 +02:00
network.rs Extract a scheduler crate from GPUI to enable unified integration testing of client and server code (#37326) 2025-09-04 17:14:53 +02:00
operation_queue.rs clock: Cleanup ReplicaId, Lamport and Global (#40600) 2025-10-20 13:26:20 +02:00
patch.rs git: Follow-up fixes for custom blocks in the side-by-side diff (#48747) 2026-02-08 20:10:52 -05:00
selection.rs multi_buffer: Typed MultiBufferOffset (#42707) 2025-11-19 22:00:58 +00:00
subscription.rs multi_buffer: Typed MultiBufferOffset (#42707) 2025-11-19 22:00:58 +00:00
tests.rs Revert "sum_tree: Replace rayon with futures (#41586) (#41846) 2025-11-03 19:25:15 +00:00
text.rs multi_buffer: Optimize a bunch of things (#48519) 2026-02-05 20:10:02 +00:00
undo_map.rs clock: Cleanup ReplicaId, Lamport and Global (#40600) 2025-10-20 13:26:20 +02:00