zed/crates/language
Antonio Scandurra 71128d2ee6 Compute diffs based on characters rather than lines
Previously, a change on a given line would cause that whole line to be
replaced. In turn, this caused anchors on that line to go to the start
of that line because they would lie inside of a deleted region after applying
the diff.

By switching to a character-wise diff, we perform smaller edits to the buffer
which stabilizes anchor positions.
2022-08-02 16:52:37 +02:00
..
src Compute diffs based on characters rather than lines 2022-08-02 16:52:37 +02:00
build.rs Fix context line handline in project diagnostic view 2021-12-21 11:46:47 -08:00
Cargo.toml Introduce AutoindentMode parameter to Buffer::edit 2022-07-28 14:03:31 -07:00