Class
DefaultIndentProvider

Class DefaultIndentProvider. Implements the ISmartIndentProvider

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.Indentation

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

cs-api-definition
public class DefaultIndentProvider : ISmartIndentProvider

Inheritance: objectDefaultIndentProvider

Implements: ISmartIndentProvider

Constructors

DefaultIndentProvider(RadSyntaxEditor)

Initializes a new instance of the DefaultIndentProvider class.

Declaration

cs-api-definition
public DefaultIndentProvider(RadSyntaxEditor associatedEditor)

Parameters

associatedEditor

RadSyntaxEditor

The associated editor.

Methods

GetDesiredIndentation(TextSnapshotLine)

Gets the desired indentation.

Declaration

cs-api-definition
public int? GetDesiredIndentation(TextSnapshotLine line)

Parameters

line

TextSnapshotLine

The line.

Returns

int?

System.Nullable<System.Int32>.

Implements ISmartIndentProvider.GetDesiredIndentation(TextSnapshotLine)