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.WinForms.Controls.SyntaxEditor.Indentation
Assembly: Telerik.WinControls.SyntaxEditor.dll
Syntax
public class DefaultIndentProvider : ISmartIndentProvider
Constructors
DefaultIndentProvider(RadSyntaxEditorElement)
Initializes a new instance of the DefaultIndentProvider class.
Declaration
public DefaultIndentProvider(RadSyntaxEditorElement associatedEditor)
Parameters
RadSyntaxEditorElement
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>. |