Messenger Plus! Live - Scripting Documentation

The PlusWnd::RichEdit_GetTextRange function returns a portion of text from a RichEditControl.

Syntax

RichEdit_GetTextRange(
    [string] ControlId,
    [number] StartIdx,
    [number] EndIdx
);

Parameters

ControlId
[string] Unique identifier of the control.
StartIdx
[number] Index of the first character included in the text range.
EndIdx
[number] Index following the last character included in the text range.

Return Value

The portion of text corresponding to the range specified in the parameters.

This function typically fails for the following reason:

Remarks

This function can only be used with a RichEditControl, it has no effect on an EditControl.

Function Information

Object PlusWnd
Availability Messenger Plus! Live 4.21

See Also

PlusWnd Object.