C# Class ICSharpCode.NRefactory.CSharp.ConstructFixer

Datei anzeigen Open project: 0xd4d/NRefactory Class Usage Examples

Public Methods

Method Description
ConstructFixer ( CSharpFormattingOptions options, ICSharpCode.NRefactory.CSharp.TextEditorOptions textEditorOptions ) : ICSharpCode.NRefactory.Editor
TryFix ( IDocument document, int offset, int &newOffset ) : bool

Private Methods

Method Description
GenerateBody ( AstNode node, BraceStyle braceStyle, bool addClosingBracket, int &newOffset ) : string
GetIndent ( AstNode node ) : string

Method Details

ConstructFixer() public method

public ConstructFixer ( CSharpFormattingOptions options, ICSharpCode.NRefactory.CSharp.TextEditorOptions textEditorOptions ) : ICSharpCode.NRefactory.Editor
options CSharpFormattingOptions
textEditorOptions ICSharpCode.NRefactory.CSharp.TextEditorOptions
return ICSharpCode.NRefactory.Editor

TryFix() public method

public TryFix ( IDocument document, int offset, int &newOffset ) : bool
document IDocument
offset int
newOffset int
return bool