class text :Inheritsunit ->
object
..end
method clear : unit
method fmt : Format.formatter
printf
method.method printf : 'a. ('a, Format.formatter, unit) Pervasives.format -> 'a
fmt
) recognizes the following tags:"bf"
bold face"it"
italic style"ul"
underlined"st"
striked through"red"
, "orange"
, "green"
foreground color"fg:<color name>"
foreground color"bg:<color name>"
background color"link:<link name>"
clickable link, see method on_link
."mark:<mark name>"
named text range, see methods show
, set_properties
.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