Table of Contents

Interface ITabulation

Namespace
Alternet.Editor.TextSource
Assembly
Alternet.Editor.v9.dll

Represents properties and methods for handling tabulations within the text.

public interface ITabulation

Properties

TabStops

When implemented by a class, gets or sets the character columns that the cursor will move to each time you press Tab.

UseSpaces

When implemented by a class, gets or sets a value indicating whether indent or TAB operations insert space characters rather than TAB characters.

Methods

GetIndentString(int, int)

When implemented by a class, returns indentation string which consist of tabs and spaces.

GetIndentString(int, int, bool)

When implemented by a class, returns indentation string which consist of tabs and spaces.

GetPrevTabStop(int)

When implemented by a class, returns number of spaces to the previous TabStop.

GetTabStop(int)

When implemented by a class, returns number of spaces to the next TabStop at the specified position.

GetTabString(string)

When implemented by a class, converts all tab character to spaces depending on ITabulation.TabStops property.

GetTabString(string, ITextUndoList)

When implemented by a class, converts all tab character to spaces depending on ITabulation.TabStops property.

PosToTabPos(string, int)

When implemented by a class, returns specified position within given string as tabbed position.

PosToTabPos(string, int, bool)

When implemented by a class, returns specified position within given string as tabbed position.

ResetTabStops()

When implemented by a class, resets the ITabulation.TabStops to the default value.

ResetUseSpaces()

When implemented by a class, resets the ITabulation.UseSpaces to the default value.

TabPosToPos(string, int)

When implemented by a class, returns specified position within given string as untabbed position.