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

hiSetTextSelection

hiSetTextSelection(
w_windowId 
t_text
[ x_class ]
) 
=> t / nil 

Description

Highlights the next occurrence of a specified string relative to the current cursor position. If no matching string is found between the current cursor position and the end of the file, it wraps around to the beginning of the file and continues the search.

Arguments

w_windowId

Window you want the function to act on.

t_text

Specifies the text string that needs to be searched.

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, t_text is not found, or t_text is null.

Related Topics

Functions of Viewfile Window


Return to top
 ⠀
X