zed

Abstract engine for text edition in OCaml
IN THIS PACKAGE
Module Zed_rope . Text_core
type t = rope
val length : t -> int
type index = Zip.t
val nth : t -> int -> index
val next : 'a -> index -> index
val prev : 'a -> index -> index
val out_of_range : 'a -> index -> bool
val compare : t -> t -> int
val first : t -> index
val last : t -> index
val move : 'a -> index -> int -> index
val compare_index : 'a -> index -> index -> int
module Buf = Text.Buf
val get : t -> int -> CamomileLibrary.UChar.t
val init : int -> ( int -> CamomileLibrary.UChar.t ) -> t
val look : 'a -> index -> CamomileLibrary.UChar.t
val iter : ( CamomileLibrary.UChar.t -> unit ) -> t -> unit