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

ilgGetHighlight

ilgGetHighlight( 
[ ?loc l_location ]
[ ?tab w_tab ]
) 
=> l_highlightIDs / nil

Description

Returns the list of highlight IDs for the text highlighted in the SKILL IDE editor window.

Arguments

?loc l_location

Location (x_column x_row) of the area highlighted in the SKILL IDE editor window.

?tab w_tab

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

Value Returned

l_highlightIDs

A list representing the highlight IDs of the highlighted text.

nil

Nothing is highlighted in the given area.

Examples

ilgSetHighlight('(4 11) '(18 12) "orange")
=> (nil l1 (4 11) l2 (18 12)
color "orange" fullWidth nil)
;highlights the area between (4 11) and (18 12)
ilgGetHighlight(?loc '(4 11))
=> ((nil l1
(4 11) l2
(18 12)
color "#ffa500" fullWidth nil
)
(nil l1
(4 11) l2
(2 13)
color "#ffa500" fullWidth nil
)
)

Related Topics

SKILL IDE Functions


Return to top
 ⠀
X