Fixed recursion error.

This commit is contained in:
Adam Harrison 2021-06-14 20:11:40 -04:00
parent 3541ab4aa1
commit 292c98935c
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ function Doc:delete_to_cursor(idx, ...)
end
self:merge_cursors(idx)
end
function Doc:delete_to(...) return self:delete_to(nil, ...) end
function Doc:delete_to(...) return self:delete_to_cursor(nil, ...) end
function Doc:move_to_cursor(idx, ...)
for sidx, line, col in self:get_selections(false, idx) do