IEditorOperations.TransposeLine Method

Definition

Transposes the line containing the cursor with the next line. Transposes the last two lines when the cursor at the last line.

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

Returns

true if the edit succeeded, otherwise false.

Remarks

If the cursor at the last line, this method transposes the last two lines.

Applies to