Product Documentation
Cadence SKILL Development Reference
Product Version IC23.1, June 2023

ilgSearchText

ilgSearchText( 
t_text 
[ ?loc l_location ]
[ ?direction s_direction ]
[ w_tab ]
) 
=> l_location / nil

Description

Searches the specified text in a SKILL IDE document.

Arguments

t_text

Text to be searched.

?loc l_location

Location coordinates of the search area.

By default, the search area is the whole document.

?direction s_direction

Search direction (symbol).

Valid values are forward and backward. Default is forward.

w_tab

The window ID of the SKILL IDE editor window. Default is the current tab window.

Value Returned

l_location

List of the locations of all occurrences of t_text in the search area.

nil

No occurrences of t_text are found in the search area.

Examples

To search for the word IDE in the SKILL IDE window

ilgSearchText("IDE") 
=>
((7 1) 
    (11 4) 
    (1 7) 
    (1 9)
)

Related Topics

SKILL IDE Functions


Return to top
 ⠀
X