You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we have move*To commands like moveAnchorTo:
editor.moveAnchorTo([0,2],27)
They take a (path, offset) signature. But they only do that because they were made before Point was introduced. Instead, once we've removed keys, they should take (point):
editor.moveAnchorTo(point)
And if you want to specify an offset by hand you can just do:
Do you want to request a feature or report a bug?
Debt / improvement.
What's the current behavior?
Right now we have
move*To
commands likemoveAnchorTo
:They take a
(path, offset)
signature. But they only do that because they were made beforePoint
was introduced. Instead, once we've removed keys, they should take(point)
:And if you want to specify an
offset
by hand you can just do:Or even:
The text was updated successfully, but these errors were encountered: