Stk.Texttag
Tags associated to characters in Textbuffer
and Textview
.
module T : sig ... end
Tags.
module TSet : Misc.Idset with type id = T.t
val pp_list : Stdlib.Format.formatter -> T.t list -> unit
val pp_set : Stdlib.Format.formatter -> TSet.t -> unit
See Textlog
.
val tag_debug : T.t
val tag_info : T.t
val tag_warning : T.t
val tag_error : T.t
val tag_app : T.t
module Lang : sig ... end
Tags associated to Higlo
.Lang.token and used for syntax highlighting in textviews.
module Theme : sig ... end
Such a theme associates properties to text tags. These properties are used by Textview.textview
widget to display characters according to their tags. A theme also has properties, to get default values for properties not associated to text tags.