C# Класс MonoDevelop.CSharp.Formatting.OnTheFlyFormatter

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Format ( MonoDevelop data ) : void
Format ( MonoDevelop data, TextLocation location ) : void
Format ( MonoDevelop data, TextLocation startLocation, TextLocation endLocation, bool exact = true ) : void
Format ( MonoDevelop data, int startOffset, int endOffset, bool exact = true ) : void
Format ( PolicyContainer policyParent, IEnumerable mimeTypeChain, MonoDevelop data, int startOffset, int endOffset, bool exact, bool formatLastStatementOnly = false ) : void
FormatStatmentAt ( MonoDevelop data, Mono.TextEditor.DocumentLocation location ) : void

Приватные методы

Метод Описание
BuildStub ( MonoDevelop data, CSharpCompletionTextEditorExtension seg, int endOffset, int &memberStartOffset ) : string
GetFormattingChanges ( PolicyContainer policyParent, IEnumerable mimeTypeChain, MonoDevelop document, string input, DomRegion formattingRegion, int &formatStartOffset, int &formatLength, bool formatLastStatementOnly ) : FormattingChanges

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

Format() публичный статический Метод

public static Format ( MonoDevelop data ) : void
data MonoDevelop
Результат void

Format() публичный статический Метод

public static Format ( MonoDevelop data, TextLocation location ) : void
data MonoDevelop
location TextLocation
Результат void

Format() публичный статический Метод

public static Format ( MonoDevelop data, TextLocation startLocation, TextLocation endLocation, bool exact = true ) : void
data MonoDevelop
startLocation TextLocation
endLocation TextLocation
exact bool
Результат void

Format() публичный статический Метод

public static Format ( MonoDevelop data, int startOffset, int endOffset, bool exact = true ) : void
data MonoDevelop
startOffset int
endOffset int
exact bool
Результат void

Format() публичный статический Метод

public static Format ( PolicyContainer policyParent, IEnumerable mimeTypeChain, MonoDevelop data, int startOffset, int endOffset, bool exact, bool formatLastStatementOnly = false ) : void
policyParent PolicyContainer
mimeTypeChain IEnumerable
data MonoDevelop
startOffset int
endOffset int
exact bool
formatLastStatementOnly bool
Результат void

FormatStatmentAt() публичный статический Метод

public static FormatStatmentAt ( MonoDevelop data, Mono.TextEditor.DocumentLocation location ) : void
data MonoDevelop
location Mono.TextEditor.DocumentLocation
Результат void