IEditorOperations.ConvertTabsToSpaces Method

Definition

Converts tabs to spaces in the selection, or on the line the caret is on if the selection is empty.

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

Returns

true if the edit succeeded, otherwise false.

Remarks

A tab is replaced by the number of spaces equal to the distance between one tab and the next.

Applies to