Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

hiSetTextClass

hiSetTextClass(
w_windowId 
x_class
) 
=> t / nil 

Description

Sets the active selection (highlight) text class in a window.

This SKILL API is included for compatibility reasons and may be removed in a future release.

Arguments

w_windowId

Specifies the window ID.

x_class

Group of selections. Values range from 0 to MAX_INT.

Zero is the default value and uses the window inverse color for highlighting selected text. The highlight selection color for class values of 1 through 25 can be set using the function hiSetTextHighlightColor(). Class values greater than 25 use the same highlight colors as class 0.

Values Returned

t

The class is set.

nil

w_windowId is invalid. A warning is displayed.

Related Topics

Functions of Viewfile Window

hiSetTextHighlightColor


Return to top
 ⠀
X