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

ilgRegisterSelectionCB

ilgRegisterSelectionCB( 
g_name 
) 
=> t

Description

Registers a SKILL callback for SKILL IDE, which is called when some text is selected in the SKILL IDE editor window.

Arguments

g_name

The function to be registered as a callback. It can be either a symbol, function name, or a lambda function. The function being registered should accept 3 arguments: two lists (begin and end selection location) and window variable (current tab window).

Value Returned

t

The function has been registered as a callback.

Examples

To register a selection callback:

defun(mySelCallback (l_begin  l_end  wTab)
printf(“Selected text %L - %L in tab window %L\n“
l_begin l_end wTab))
ilgRegisterSelectionCB('mySelCallback)
=> t

Related Topics

SKILL IDE Functions


Return to top
 ⠀
X