package ecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type nonrec t = {
  1. property : Display_property.t;
  2. text : t;
}

Display specs apply a property, like margin, to a text. In Elisp, one would write, e.g., (propertize " " 'display `((margin left-margin) ,str)) where str is a text. A display spec is therefore a pair of a property and the text it's applied to.

val sexp_of_t : t -> Sexplib0.Sexp.t
val of_value_exn : Ecaml_value.Value.t -> t
val to_value : t -> Ecaml_value.Value.t