Module Text.Display_spec
type nonrec t
=
{
property : Display_property.t;
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))
wherestr
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 -> Ppx_sexp_conv_lib.Sexp.t
val of_value_exn : Ecaml__.Import.Value.t -> t
val to_value : t -> Ecaml__.Import.Value.t