"selectedText"
    
    The attribute "selectedText" returns the selected text of a textEdit.
Synopsis
getValue(string shape,"selectedText",string &selText);
Parameter
| Parameter | Description | 
|---|---|
| shape | Name of the object | 
| selText | The selected text (return value) | 
Description
The attribute "selectedText" returns the selected text of a textEdit in plainText format or an empty string if no text has been selected.
Example
The following example returns the selected text.
main(bool enter)
{
  string obj = "TEXT_EDIT1"
  string selText;
  getValue(obj,"selectedText",selText);
  DebugN("The selected text:",selText);
}
        Assignment
TextEdit
