pub fn edited_regions(baseline: &str, current: &str) -> Vec<Range<usize>>Expand description
The regions of current a person wrote since baseline (the text the file opened with, or was
last kept at): the runs of lines that differ, by the line diff, neighbours within one line
merged into one region, and nothing for lines only removed. Only these go to the worker, so a
heal touches what the person typed and never the code that was already there (the user,
2026-11-02).