class text :Inherits?autoscroll:bool -> ?width:int -> ?indent:int -> unit ->object..end
method clear : unit
method fmt : Format.formatterprintf method.method printf : 'a. ?scroll:bool -> ('a, Format.formatter, unit) Pervasives.format -> 'a
The underlying formatter (method fmt) recognizes the following default
tags:
"bf" bold face"it" italic style"ul" underlined"st" striked through"blue", "red", "orange", "green" predifined foreground color"hover" background green (default for highlighter)"link" underlined blue"fg:<color name>" foreground color"bg:<color name>" background color"link:<name>" add a link markerset_tag_style.
t#printf is a shortcut for Format.fprintf t#fmt followed
by flushing and optional scrolling.
method set_monospace : unitmethod set_font : string -> unitmethod set_css : (string * GText.tag_property list) list -> unitmethod set_style : string -> int -> int -> unit
method remove_style : string -> int -> int -> unit
method remove_all : string list -> unit
method offset : int
method lines : int
method set_width : int -> unit
method set_indent : int -> unit
method wrap : (int -> int -> unit) ->
(Format.formatter -> unit) -> Format.formatter -> unitmethod marker : 'a. 'a marker
method links : string marker
method on_link : (string -> unit) -> unitlinks#on_click (callback without range).method set_autoscroll : bool -> unitmethod scroll : ?line:int -> unit -> unitmethod select : ?scroll:bool -> int -> int -> unitscroll:false (default), only minimal scrolling is performed to make
the selection visible. Otherwize, the window is scrolled to center the selection
at screen.method get_view : GText.view