bdeGetEditorSelectedText

Gets the selected text of a given editor.

Syntax

selectedText = bdeGetEditorSelectedText(editor)

Inputs

editor
The editor to get the selected text of.
Type: hwscpTextEditor

Outputs

selectedText
The text that the user selects within the editor.
Type: string

Examples

Get the selected text of an editor:

selectedText = bdeGetEditorSelectedText(editor);



selectedText = Text to be selected.