Udostępnij za pośrednictwem


IEditorOperations.CutFullLine Method

Definition

If there is a selection present, deletes all lines touched by the selection, including line break characters, and copies the text to the clipboard. Otherwise, deletes the line the caret is on, including the line break characters, and copies the text to the clipboard.

public:
 bool CutFullLine();
public:
 bool CutFullLine();
bool CutFullLine();
public bool CutFullLine ();
abstract member CutFullLine : unit -> bool
Public Function CutFullLine () As Boolean

Returns

true if the edit and the clipboard operation both succeeded, otherwise false.

Exceptions

is thrown if there is not sufficient memory to complete the operation.

Applies to