C# Класс AvalonStudio.TextEditor.Indentation.DefaultIndentationStrategy

Handles indentation by copying the indentation from the previous line. Does not support indenting multiple lines.
Наследование: IIndentationStrategy
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

IndentLine() публичный Метод

public IndentLine ( TextDocument document, DocumentLine line, int caretOffset ) : int
document AvalonStudio.TextEditor.Document.TextDocument
line AvalonStudio.TextEditor.Document.DocumentLine
caretOffset int
Результат int

IndentLines() публичный Метод

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
Результат int