Class DefaultIndentProvider
Class DefaultIndentProvider. Implements the ISmartIndentProvider
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 DefaultIndentProvider class.
Declaration
public DefaultIndentProvider(RadSyntaxEditor associatedEditor)
Parameters
RadSyntaxEditor
associatedEditor
The associated editor. |
Methods
GetDesiredIndentation(TextSnapshotLine)
Gets the desired indentation.
Declaration
public Nullable<int> GetDesiredIndentation(TextSnapshotLine line)
Parameters
TextSnapshotLine
line
The line. |
Returns
System.Nullable<System.Int32>
System.Nullable<System.Int32>. |