Fix unnecessarily large edits emitted from multi buffer on diff recalculation (#23753)

This fixes an issue introduced in #22994 where soft wrap would
recalculate for the entire buffer when editing.

Release Notes:

- N/A

---------

Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
Max Brunsfeld
2025-01-27 18:11:15 -08:00
committed by GitHub
co-authored by Conrad
parent 5331418f3a
commit ee5f270f3f
7 changed files with 402 additions and 251 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ path = "src/text.rs"
doctest = false
[features]
test-support = ["rand"]
test-support = ["rand", "util/test-support"]
[dependencies]
anyhow.workspace = true