insertEscapes ?-w win? ?option value...? range
Apply a stylistic marking (color, font style, underlines, etc.) to a range of text. The marking is specified by different options with the following syntax:
-color token
-hypertext proc
-spelling num
-strike num
-style num
-underline num
The
-color option expects a color token (typically obtained with the [colorRef] command).
The -style option specifies a font style. Its value is a combination of the following additive flags:
normal0
italic1
bold2
The
-underline option and the -strike option are used to underline or strike through a range of text. Their value is the sum of two constants specifying respectively the kind of line and the pattern. Possible values are:
KindValue
Single line1
Double line2
Thick line3
PatternValue
Solid0
Dot10
Dash20
Dash-Dot30
Dash-Dot-Dot40
The
-spelling option is a temporary marker used to display spelling indicators for the range of text. The possible values are:
Spelling1
Grammar2
The
-hypertext option attaches a script to execute or an URL to open when the user clicks on the specified range of text. This is useful to create hyperlinks. This option causes the corresponding section to be colored in blue and underlined.