-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hello,
The cursor update doesn't seem to work in that example:
λ> import Control.OperationalTransformation.Text
λ> Right (op, cursor, state) = Control.OperationalTransformation.Server.applyOperation
(Control.OperationalTransformation.Server.initialServerState (" world" :: Text)) 0
(TextOperation [Insert "hello", Retain 6])
(Control.OperationalTransformation.Selection.Range 1 1)
λ> cursor
Range {rangeAnchor = 1, rangeHead = 1}Shouldn't the cursor be moved by 5 character to the right?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels