THE

SET COLOR - set colours for display

Syntax:
[SET] COLOR area [modifier[...]] [foreground] [ON] [background]

[SET] COLOR area [modifier[...]] ON|OFF

Description:
The SET COLOR command changes the colours or display attributes of various display areas in THE.

Valid values for area :

ALERT - alert boxes; see ALERT
Arrow - command line prompt
Block - marked block
BOUNDmarker- bound markers (GUI platforms only)
CBlock - current line if in marked block
CHIghlight - highlighted line if the same as current line
Cmdline - command line
CTofeof - as for TOfeof if the same as current line
CUrline - the current line
DIALOG - dialog boxes; see DIALOG
Divider - dividing line between vertical split screens
Filearea - area containing file lines
GAP - the gap between the prefix area and filearea
CGAP - the gap between the prefix area and filearea - current
HIghlight - highlighted line
Idline - line containing file specific info
Msgline - error messages
Nondisp - Non-display characters ( SET ETMODE OFF)
Pending - pending commands in prefix area
PRefix - prefix area
CPRefix - prefix area if the same as current line
Reserved - default for reserved line
Scale - line showing scale line
SHadow - hidden line marker lines
SLK - soft label keys
STatarea - line showing status of editing session
Tabline - line showing tab positions
TOfeof - Top-of-File line and Bottom-of-File line
* - All area (second format only)

Valid values for foreground and background :

BLAck
BLUe
Brown
Green
GRAy
GREy
Cyan
RED
Magenta
Pink
Turquoise
Yellow
White

Valid values for modifier :

NORmal
BLInk
BOld
BRIght
High
REVerse
Underline
DARK
Italic - only available on X11 port with valid Italic font

The second format of this command allows the user to turn on or off any of the valid modifiers.

It is an error to attempt to set a colour on a mono display.

Compatibility:
XEDIT: Functionally compatible. See below.
KEDIT: Functionally compatible. See below.
Does not implement all modifiers.

Default:
Depends on compatibility mode setting and monitor type.

See Also:
SET COMPAT, SET COLOUR, SET ECOLOUR

Status:
Complete.


The Hessling Editor is Copyright © Mark Hessling, 1990-2006 <mark@rexx.org>
Generated on: 30 Jan 2006

Return to Table of Contents