C# Class MonoDevelop.TypeScriptBinding.Formatting.TypeScriptFormatter

Inheritance: MonoDevelop.Ide.CodeFormatting.AbstractAdvancedFormatter
Mostra file Open project: atsushieno/md-typescript

Public Methods

Method Description
CorrectIndenting ( PolicyContainer policyParent, IEnumerable mimeTypeChain, TextEditorData data, int line ) : void
FormatText ( PolicyContainer policyParent, IEnumerable mimeTypeChain, string input, int startOffset, int endOffset ) : string
FormatText ( TypeScriptFormattingPolicy policy, TextStylePolicy textPolicy, string mimeType, string input, int startOffset, int endOffset ) : string
OnTheFlyFormat ( MonoDevelop doc, int startOffset, int endOffset ) : void

Method Details

CorrectIndenting() public method

public CorrectIndenting ( PolicyContainer policyParent, IEnumerable mimeTypeChain, TextEditorData data, int line ) : void
policyParent PolicyContainer
mimeTypeChain IEnumerable
data Mono.TextEditor.TextEditorData
line int
return void

FormatText() public method

public FormatText ( PolicyContainer policyParent, IEnumerable mimeTypeChain, string input, int startOffset, int endOffset ) : string
policyParent PolicyContainer
mimeTypeChain IEnumerable
input string
startOffset int
endOffset int
return string

FormatText() public method

public FormatText ( TypeScriptFormattingPolicy policy, TextStylePolicy textPolicy, string mimeType, string input, int startOffset, int endOffset ) : string
policy TypeScriptFormattingPolicy
textPolicy TextStylePolicy
mimeType string
input string
startOffset int
endOffset int
return string

OnTheFlyFormat() public method

public OnTheFlyFormat ( MonoDevelop doc, int startOffset, int endOffset ) : void
doc MonoDevelop
startOffset int
endOffset int
return void