BFD:BFD[
5.2] → [
6.2740:2772]
BFD:BFD[
5.2] → [
6.2740:2772]
BFD:BFD[
6.2772] → [
6.1:1]
B:BD[
7.591] → [
8.204:281]
B:BD[
7.711] → [
8.282:367]
B:BD[
9.176] → [
8.446:531]
assert(s, 'failed to snapshot operation for undo history')
assert(#State.lines > 0, 'failed to snapshot operation for undo history')
assert(from.start_line == to.start_line, 'failed to patch undo operation')
assert(#to.lines == to.end_line-to.start_line+1, 'failed to patch undo operation')
assert(from.start_line == to.start_line, 'failed to patch undo operation')
assert(#to.lines == to.end_line-to.start_line+1, 'failed to patch undo operation')
for i=1,#to.lines do
table.insert(line_cache, to.start_line+i-1, {})
end
end
for i=from.end_line,from.start_line,-1 do
table.remove(line_cache, i)
end
for i=1,#to.lines do
table.insert(lines, to.start_line+i-1, to.lines[i])
end
end
for i=from.end_line,from.start_line,-1 do
table.remove(lines, i)
end
if s < 1 then s = 1 end
if e == nil then