Class DefaultIndentProvider
Class DefaultIndentProvider. Implements the ISmartIndentProvider
Inheritance
System.Object
DefaultIndentProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Controls.SyntaxEditor.Indentation
Assembly: Telerik.Windows.Controls.SyntaxEditor.dll
Syntax
public class DefaultIndentProvider : 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 int? GetDesiredIndentation(TextSnapshotLine line)
Parameters
TextSnapshotLine
line
The line. |
Returns
System.Nullable<System.Int32>
System.Nullable<System.Int32>. |