Class Toolbox.text

class text : unit -> object .. end
Inherits
method clear : unit
method fmt : Format.formatter
The formatter used by printf method.
method printf : 'a. ('a, Format.formatter, unit) Pervasives.format -> 'a
Append material to the text buffer. The underlying formatter (method fmt) recognizes the following tags: Properties for any tag (except link and mark) can be modified with method set_tag_properties.

t#printf is a shortcut for Format.fprintf t#fmt.

method highlight : mark:string -> GText.tag_property list -> unit
method focus : mark:string -> unit
method on_link : (string -> unit) -> unit