C# Class AvalonStudio.Languages.CSharp.IndentationReformatter

显示文件 Open project: VitalElement/AvalonStudio Class Usage Examples

Public Methods

Method Description
Init ( ) : void
Reformat ( IDocumentAccessor doc, IndentationSettings set ) : void
Step ( IDocumentAccessor doc, IndentationSettings set ) : void

Private Methods

Method Description
IsSingleStatementKeyword ( string keyword ) : bool
Repeat ( string text, int count ) : string
TrimEnd ( IDocumentAccessor doc ) : bool

Method Details

Init() public method

public Init ( ) : void
return void

Reformat() public method

public Reformat ( IDocumentAccessor doc, IndentationSettings set ) : void
doc IDocumentAccessor
set IndentationSettings
return void

Step() public method

public Step ( IDocumentAccessor doc, IndentationSettings set ) : void
doc IDocumentAccessor
set IndentationSettings
return void