Method XbpSLE():pasteMarked() Foundation

Replaces the selected characters in the edit buffer with characters from the clipboard.

Syntax
:pasteMarked() --> lSuccess
Return

This method returns the value .T. (true) when characters from the clipboard were successfully copied into the edit buffer, otherwise it returns .F. (false).

Description

The :pasteMarked() method replaces the selected characters in the edit buffer with the characters contained in the clipboard. This is the same action that occurs if the user presses the key combination Shift+Insert. Characters are selected using the Left and Right arrow keys while continuously holding down the Shift key. If no characters are selected, the characters from the clipboard are inserted into the edit buffer at the current cursor position. If more characters are contained in the clipboard than can fit into the edit buffer, no characters are inserted.

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.