Module Private.String_zipper

type t
type invalid_utf =
  1. | Malformed of string
  2. | Insufficient_input
exception Invalid_utf of invalid_utf
val of_string : string -> t
val squash : t -> t * string
val to_string : t -> string
val to_string_debug : t -> string
val insert : t -> string -> t
val goto_line : t -> int -> t
val goto_position : t -> Types.Position.t -> [ `UTF16 | `UTF8 ] -> t
val add_buffer_between : Stdlib.Buffer.t -> t -> t -> unit
val goto_end : t -> t
val drop_until : t -> t -> t
val apply_change : t -> Types.Range.t -> [ `UTF16 | `UTF8 ] -> replacement:string -> t
val offset : t -> int
module Private : sig ... end