gui.replaceTextEditorSelection
Replaces the currently selected text with another string.
Prototype
bOk = gui.replaceTextEditorSelection ( hComponent, sText )
Parameters
hComponent - valid GUI component handle
sText - the new text you want to insert
Return values
bOk - true on success
Available since ShiVa 2.0