Delete old forgotten self.cursor_clipboard

This commit is contained in:
Jipok 2021-12-10 19:23:49 +05:00
parent 4eee123eff
commit 4a563ddea1
1 changed files with 0 additions and 2 deletions

View File

@ -207,12 +207,10 @@ function Doc:merge_cursors(idx)
if self.selections[i] == self.selections[j] and
self.selections[i+1] == self.selections[j+1] then
common.splice(self.selections, i, 4)
common.splice(self.cursor_clipboard, i, 1)
break
end
end
end
if #self.selections <= 4 then self.cursor_clipboard = {} end
end
local function selection_iterator(invariant, idx)