Module Ecaml.Overlay

Overlays modify the appearance of a buffer's text, for presentation's sake.

(Info-goto-node "(elisp)Overlays")

type t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
include Ecaml__.Import.Valueable.S with type t := t
type t
type 'a type_
val of_value_exn : Ecaml_value__.Value0.t -> t
val to_value : t -> Ecaml_value__.Value0.t
val type_ : t type_
val t : t type_
val create : ?⁠buffer:Ecaml__.Import.Buffer.t -> unit -> start:Position.t -> end_:Position.t -> t

(describe-function 'make-overlay)

val buffer : t -> Ecaml__.Import.Buffer.t

(describe-function 'overlay-buffer)

val start : t -> Position.t

(describe-function 'overlay-start)

val end_ : t -> Position.t

(describe-function 'overlay-end)

val delete : t -> unit

(describe-function 'delete-overlay)

val move : ?⁠buffer:Ecaml__.Import.Buffer.t -> t -> start:Position.t -> end_:Position.t -> t

(describe-function 'move-overlay)

val get_property : t -> 'a Text.Property_name.t -> 'a

(describe-function 'overlay-get)

val put_property : t -> 'a Text.Property_name.t -> 'a -> unit

(describe-function 'overlay-put)

val at : Position.t -> t list

(describe-function 'overlays-at)

val remove_overlays : ?⁠start:Position.t -> ?⁠end_:Position.t -> ?⁠with_property:('a Text.Property_name.t * 'a) -> unit -> unit

(describe-function 'remove-overlays). (Info-goto-node "(elisp)Managing Overlays")

val in_ : start:Position.t -> end_:Position.t -> t list

(describe-function 'overlays-in)

val equal : t -> t -> bool