Method XbpMLE():setMarked() Foundation

Sets the characters selected in the edit buffer.

Syntax
:setMarked( <aStartEnd> ) --> lSuccess
Parameters
<aStartEnd> := { <nFirstPos>, <nLastPos> }
<aStartEnd> is an array containing two elements. These elements specify the positions in the edit buffer of the first and last characters of the selected text. The range of values for <nFirstPos> and <nLastPos> are from one to Len( oMLE:getData() ).
Return

This method returns the value .T. (true) if the characters could be selected, otherwise it returns .F. (false).

Description

The method :setMarked() selects characters within the edit buffer without using the keyboard or mouse. Normally text is selected using the Left and Right arrow keys while the Shift key is also being pressed.

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.