ilgGetText
ilgGetText( [l_location_begin] [l_location_end] [w_tab] ) =>t_text
Description
Returns the text between l_location_begin and l_location_end. If these locations are not provided, the entire text in the SKILL IDE editor window is returned.
Arguments
|
The window ID of the SKILL IDE editor window. Default is the current tab window. |
Value Returned
|
The text between l_location_begin and l_location_end. If l_location_begin and l_location_end are not provided, the entire text in the SKILL IDE editor window is returned. |
Examples
ilgGetText()
=> "hello ide!"
If the specified locations are such that l_location_end precedes l_location_begin, the l_location_begin and l_location_end coordinates are swapped, so that
ilgGetText returns the text between l_location_begin and l_location_end. For Examples:ilgGetText ( '(1 1) '(5 1) )
=> "(pro"
ilgGetText ('(5 1) '(1 1) )
=> "(pro"
Related Topics
Return to top