• getEscapes ?-w win? ?(-color|-hypertext|-underline|-strike)?
Return a list of colored, underlined or hypertext sections in the window
specified with the -w option (or the current window if -w
is not specified). The returned value is a list of lists, each sublist
consisting of a start position, an end position and a value which depends
on the kind of escapes specified in the last argument:
Only one of the options can be specifed at a time. If the last argument is
not specified, it is -color by default.
- with the -color option (the default), the value is a color
- with the -hypertext option, the value is the hypertext string;
- with the -underline or the -strike options, the value
represents the kind of line and the pattern. This value is interpreted as
with the [insertEscapes] command.