package zed

  1. Overview
  2. Docs
type t
exception Out_of_bounds
val create : int -> (int * int * int) React.event -> (unit -> Zed_lines.t) -> int -> int -> t
val copy : t -> t
val position : t -> int React.signal
val get_position : t -> int
val line : t -> int React.signal
val get_line : t -> int
val column : t -> int React.signal
val get_column : t -> int
val wanted_column : t -> int React.signal
val get_wanted_column : t -> int
val set_wanted_column : t -> int -> unit
val goto : t -> ?set_wanted_column:bool -> int -> unit
val move : t -> ?set_wanted_column:bool -> int -> unit
OCaml

Innovation. Community. Security.