C# Class AvalonStudio.TextEditor.Indentation.DefaultIndentationStrategy

Handles indentation by copying the indentation from the previous line. Does not support indenting multiple lines.
Inheritance: IIndentationStrategy
Afficher le fichier Open project: VitalElement/AvalonStudio

Méthodes publiques

Méthode Description
IndentLine ( TextDocument document, DocumentLine line, int caretOffset ) : int
IndentLines ( TextDocument document, int beginLine, int endLine, int caretOffset ) : int

Does nothing: indenting multiple lines is useless without a smart indentation strategy.

Method Details

IndentLine() public méthode

public IndentLine ( TextDocument document, DocumentLine line, int caretOffset ) : int
document AvalonStudio.TextEditor.Document.TextDocument
line AvalonStudio.TextEditor.Document.DocumentLine
caretOffset int
Résultat int

IndentLines() public méthode

Does nothing: indenting multiple lines is useless without a smart indentation strategy.
public IndentLines ( TextDocument document, int beginLine, int endLine, int caretOffset ) : int
document AvalonStudio.TextEditor.Document.TextDocument
beginLine int
endLine int
caretOffset int
Résultat int