TextField.
Returns the selected text in the multi-line text box.
lsText = textfield.GetMultiSelText()
Variable | Description |
---|---|
lsText | The selected text of each selected line. LIST OF STRING. |
GetMultiSelText does not remove any blank lines within the selected text. If no text is selected, the function returns an empty list. You can set the OPT_GET_MULTITEXT_KEEP_EMPTY_LINES agent option to FALSE to remove empty lines within the selected text.
LIST OF STRING lsSelText lsSelText = TextEditor.Document.GetMultiSelText()