An object representing a mapped position with extra information.
Ports MapResult from prosemirror-transform/src/map.ts.
Summary
Functions
Bitmask constant for deletion across.
Bitmask constant for deletion after.
Bitmask constant for deletion before.
Bitmask constant for deletion on the queried side.
Tells you whether the position was deleted, that is, whether the
step removed the token on the side queried (via the assoc argument)
from the document.
Tells whether any of the steps mapped through deletes across the position (including both the token before and after the position).
True when the token after the mapped position was deleted.
Tells you whether the token before the mapped position was deleted.
Types
@type t() :: %ProsemirrorEx.Transform.MapResult{ del_info: non_neg_integer(), pos: non_neg_integer(), recover: non_neg_integer() | nil }
Functions
Bitmask constant for deletion across.
Bitmask constant for deletion after.
Bitmask constant for deletion before.
Bitmask constant for deletion on the queried side.
Tells you whether the position was deleted, that is, whether the
step removed the token on the side queried (via the assoc argument)
from the document.
Tells whether any of the steps mapped through deletes across the position (including both the token before and after the position).
True when the token after the mapped position was deleted.
Tells you whether the token before the mapped position was deleted.