C# Class MonoDevelop.CSharp.Formatting.OnTheFlyFormatter

Datei anzeigen Open project: LogosBible/monodevelop Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

Format() public static method

public static Format ( MonoDevelop data ) : void
data MonoDevelop
return void

Format() public static method

public static Format ( MonoDevelop data, TextLocation location ) : void
data MonoDevelop
location TextLocation
return void

Format() public static method

public static Format ( MonoDevelop data, TextLocation startLocation, TextLocation endLocation, bool exact = true ) : void
data MonoDevelop
startLocation TextLocation
endLocation TextLocation
exact bool
return void

Format() public static method

public static Format ( MonoDevelop data, int startOffset, int endOffset, bool exact = true ) : void
data MonoDevelop
startOffset int
endOffset int
exact bool
return void

Format() public static method

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
return void

FormatStatmentAt() public static method

public static FormatStatmentAt ( MonoDevelop data, Mono.TextEditor.DocumentLocation location ) : void
data MonoDevelop
location Mono.TextEditor.DocumentLocation
return void