Use Rope instead of String for buffer diff base (#11300)

As an attempt to do things better when showing diff hunks, store diff
base as Rope, not String, to have cheaper clones when the diff base text
is reused, e.g. creating another buffer with the diff base text for hunk
diff expanding.

Release Notes:

- N/A
b523ee6980Kirill Bulatov committed on 5/3/2024, 8:18:43 AM· committed by GitHubparent5f0046b
13 files changedLine totals unavailable