package stk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Stk.TexttagSource

Tags associated to characters in Textbuffer and Textview.

Text tags

Sourcemodule T : sig ... end

Tags.

Sourcemodule TMap : Map.S with type key = T.t
Sourcemodule TSet : Misc.Idset with type id = T.t
Sourceval pp_list : Format.formatter -> T.t list -> unit
Sourceval pp_set : Format.formatter -> TSet.t -> unit

Logging tags

See Textlog.

Sourceval tag_debug : T.t
Sourceval tag_info : T.t
Sourceval tag_warning : T.t
Sourceval tag_error : T.t
Sourceval tag_app : T.t

Syntax highlighting tags

Sourcemodule Lang : sig ... end

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

Themes

Sourcemodule 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.