Class DefaultIndentProvider
Class DefaultIndentProvider.
Implements the ISmart
Inheritance
System.Object
DefaultIndentProvider
Namespace: Telerik.Windows.Controls.SyntaxEditor.Indentation
Assembly: Telerik.Windows.Controls.SyntaxEditor.dll
Syntax
public class DefaultIndentProvider : Object, ISmartIndentProvider
Constructors
DefaultIndentProvider(RadSyntaxEditor)
Initializes a new instance of the Default
Declaration
public DefaultIndentProvider(RadSyntaxEditor associatedEditor)
Parameters
Rad The associated editor. |
Methods
GetDesiredIndentation(TextSnapshotLine)
Gets the desired indentation.
Declaration
public Nullable<int> GetDesiredIndentation(TextSnapshotLine line)
Parameters
Text The line. |
Returns
System. System.Nullable<System.Int32>. |