mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 23:20:18 +01:00
32c868ff7d
We were incorrectly handling the line number as well as stripping out line breaks when returning portions of files. It also makes sure following is updated even when we load a snapshot from cache, which wasn't the case before. We also are able to load the text via a range in the snapshot, rather than allocating a string for the entire file and then another after iterating over lines in the file. Release Notes: - acp: Fix incorrect behavior when ACP agents requested to read portions of files.