highlight Parameter

Selects the classes to highlight on the display.

Scope: View

Syntax

query highlight 
set highlight [ClassName] [ClassName] [...] 

Option

ClassName 
Name of the class to be highlighted, separated by blanks.

Description

The highlight parameter defines the classes to be highlighted. Any line that has a class specified has its contents displayed using font. highlight. You can identify classes that are not visually distinguishable by their fonts. The highlight parameter is especially useful for error conditions.

Note: The font used for marking blocks (font.block) overrides the font used for highlighting (set highlight).

Example

To define the classes to be highlighted, type:

set highlight comment 

The COMMENT class is displayed using fonts set by font. highlight.

API Return Code

-2 
The specified ClassName was not a valid class type. Use the query classes command to see which className is currently defined, or use the set class command to define a new class. Issue the command again using a valid ClassName.

class Parameter
classes Parameter
font Parameter