Handles indentation by copying the indentation from the previous line.
Does not support indenting multiple lines.

C# | Visual Basic | Visual C++ |
public class DefaultIndentationStrategy : IIndentationStrategy
Public Class DefaultIndentationStrategy _ Implements IIndentationStrategy
public ref class DefaultIndentationStrategy : IIndentationStrategy

All Members | Constructors | Methods | |||
Icon | Member | Description |
---|---|---|
![]() | DefaultIndentationStrategy()()()() | Initializes a new instance of the DefaultIndentationStrategy class |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndentLine(TextDocument, DocumentLine) |
Sets the indentation for the specified line.
Usually this is constructed from the indentation of the previous line.
|
![]() | IndentLines(TextDocument, Int32, Int32) |
Does nothing: indenting multiple lines is useless without a smart indentation strategy.
|
![]() | MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString()()()() | (Inherited from Object.) |

Object | ||
![]() | DefaultIndentationStrategy | |
![]() | CSharpIndentationStrategy |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238