Method XbpMLE():pasteMarked() Foundation

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

Syntax
:pasteMarked() --> nPastedChars
Return

This method returns a numeric value indicating the number of characters inserted. This is the same as the length of the character string contained in the clipboard if all of the characters in the clipboard could be inserted.

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.

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.