Fixed recursion error.
This commit is contained in:
parent
3541ab4aa1
commit
292c98935c
|
@ -411,7 +411,7 @@ function Doc:delete_to_cursor(idx, ...)
|
||||||
end
|
end
|
||||||
self:merge_cursors(idx)
|
self:merge_cursors(idx)
|
||||||
end
|
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, ...)
|
function Doc:move_to_cursor(idx, ...)
|
||||||
for sidx, line, col in self:get_selections(false, idx) do
|
for sidx, line, col in self:get_selections(false, idx) do
|
||||||
|
|
Loading…
Reference in New Issue