Method XbpMLE():insert() Foundation

Inserts a character string into the edit buffer.

Syntax
:insert( [<nPos>], <cString> ) --> lSuccess
Parameters
<nPos>
<nPos> is a numeric value specifying the position in the edit buffer where the character string <cString> is inserted. The default value is the current position of the cursor in the edit buffer.
<cString>
<cString> is the character string that is inserted at the position <nPos>.
Return

This method returns the value .T. (true) if the characters could be inserted into the edit buffer, otherwise .F. (false) is returned.

Description

The method :insert() allows the edit buffer of the XbpMLE object to be directly manipulated and the specified characters to be inserted without using the clipboard. This method deletes any currently selected characters before the characters contained in <cString> are inserted into the edit buffer.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.