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

hiSelectTextByLoc

hiSelectTextByLoc(
w_windowId 
l_locationPair
[ x_class ]
) 
=> t / nil 

Description

Highlights a list of strings specified as a list of starting and ending location pairs.

Arguments

w_windowId

Window you want the function to act on.

l_locationPair

List of starting and ending location pairs for the selection.

x_class

Group of selections. Values range from 0 to MAX_INT. The default is 0.

Value Returned

t

A match is found.

nil

w_windowId is invalid or l_locationPair is out of range.

Examples

Adds the selected text to text class 6, so it will persist when deselected, and will be highlighted in the style assigned to text class 6

hiSelectTextByLoc(window(3) list(1597:1602) 6)

Related Topics

Functions of Viewfile Window


Return to top
 ⠀
X