gui.getTextEditorCurrentWord
Returns the current whole word at the position of the text cursor.
Prototype
sCurrentWord = gui.getTextEditorCurrentWord ( hComponent, [bWordOnly=false] )
Description
Only alphanumeric characters and the underscore _ count as words.
Parameters
hComponent - valid GUI component handle
bWordOnly=false - optional word-only flag
Return values
sCurrentWord - word string at the caret position
Available since ShiVa 2.0