Module Dom.Selection

type t = Dom.selection
val anchorNode : t -> Dom.node option
val anchorOffset : t -> int
val focusNode : t -> Dom.node option
val focusOffset : t -> int
val isCollapsed : t -> bool
val rangeCount : t -> int
val getRangeAt : int -> t -> Dom.range
val collapse : _ Dom.node_like -> int -> t -> unit
val extend : _ Dom.node_like -> int -> t -> unit
val collapseToStart : t -> unit
val collapseToEnd : t -> unit
val selectAllChildren : _ Dom.node_like -> t -> unit
val setBaseAndExtent : _ Dom.node_like -> int -> _ Dom.node_like -> int -> t -> unit
val addRange : Dom.range -> t -> unit
val removeRange : Dom.range -> t -> unit
val removeAllRanges : t -> unit
val deleteFromDocument : t -> unit
val toString : t -> string
val containsNode : _ Dom.node_like -> t -> bool
val containsNodePartly : _ Dom.node_like -> t -> bool