TextDocumentField.SelectedText

Usage:

Read and write.

Description:

Type: String.
Contains the spreadsheet field text selected at the moment of reading the property.
When writing new text to the property, this text replaces the currently selected text. The selection is discarded.

Availability:

Thick client.

Note:

If there is no selected text in the text document field, new text will be added at the current position of the cursor. After adding the text, the current position of the cursor shifts to the end of the inserted text.

    

1C:Enterprise Developer's Community