Partager via


IEditorOperations.ConvertSpacesToTabs Method

Definition

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

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

Returns

true if the edit succeeded, otherwise false.

Remarks

Only spaces immediately preceding a tab stop will be converted to tabs.

Applies to