package zed

  1. Overview
  2. Docs

Module Zed_rope.TextSource

Sourcetype t = rope
Sourceval get : t -> int -> Zed_char.t
Sourceval init : int -> (int -> Zed_char.t) -> t
Sourceval length : t -> int
Sourcetype index = Zip.t
Sourceval look : 'a -> index -> Zed_char.t
Sourceval nth : t -> int -> index
Sourceval next : 'a -> index -> index
Sourceval prev : 'a -> index -> index
Sourceval out_of_range : 'a -> index -> bool
Sourceval iter : (Zed_char.t -> unit) -> t -> unit
Sourceval compare : t -> t -> int
Sourceval first : t -> index
Sourceval last : t -> index
Sourceval move : 'a -> index -> int -> index
Sourceval compare_index : 'a -> index -> index -> int
Sourcemodule Buf : sig ... end
OCaml

Innovation. Community. Security.