package stk

  1. Overview
  2. Docs

Tags associated to characters in Textbuffer and Textview.

Text tags

module T : sig ... end

Tags.

module TMap : Stdlib.Map.S with type key = T.t
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

Logging tags

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

Syntax highlighting tags

module Lang : sig ... end

Tags associated to Higlo.Lang.token and used for syntax highlighting in textviews.

Themes

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.

OCaml

Innovation. Community. Security.