C# 클래스 Rubberduck.SmartIndenter.Indenter

상속: IIndenter
파일 보기 프로젝트 열기: retailcoder/Rubberduck

공개 메소드들

메소드 설명
Indent ( VBComponent component, bool reportProgress = true, int linesAlreadyRebuilt ) : void
Indent ( VBComponent component, string procedureName, Selection selection, bool reportProgress = true, int linesAlreadyRebuilt ) : void
Indent ( VBProject project ) : void
Indent ( string codeLines, string moduleName, bool reportProgress = true, int linesAlreadyRebuilt ) : void
IndentCurrentModule ( ) : void
IndentCurrentProcedure ( ) : void
Indenter ( VBE vbe, Func settings ) : System

비공개 메소드들

메소드 설명
CheckLine ( IIndenterSettings settings, string code, bool &noIndent, int &ins, int &outs, bool &atProcedureStart, bool &atFirstProcLine, bool &insideIf ) : void
FindFirstSpecialItemOrDefault ( string line, int &from ) : string
FunctionAlign ( IIndenterSettings settings, string line, bool firstLine, int &paramOffset ) : int
GetSelection ( CodePane codePane ) : Selection
HasCode ( CodeModule module ) : bool
HasCode ( CodeModule module, int &lineCount ) : bool
OnReportProgress ( string moduleName, int progress, int max ) : void
ResolveLineNumber ( string &currentLine, string &originalLine, string &lineNumber ) : int

메소드 상세

Indent() 공개 메소드

public Indent ( VBComponent component, bool reportProgress = true, int linesAlreadyRebuilt ) : void
component VBComponent
reportProgress bool
linesAlreadyRebuilt int
리턴 void

Indent() 공개 메소드

public Indent ( VBComponent component, string procedureName, Selection selection, bool reportProgress = true, int linesAlreadyRebuilt ) : void
component VBComponent
procedureName string
selection Selection
reportProgress bool
linesAlreadyRebuilt int
리턴 void

Indent() 공개 메소드

public Indent ( VBProject project ) : void
project VBProject
리턴 void

Indent() 공개 메소드

public Indent ( string codeLines, string moduleName, bool reportProgress = true, int linesAlreadyRebuilt ) : void
codeLines string
moduleName string
reportProgress bool
linesAlreadyRebuilt int
리턴 void

IndentCurrentModule() 공개 메소드

public IndentCurrentModule ( ) : void
리턴 void

IndentCurrentProcedure() 공개 메소드

public IndentCurrentProcedure ( ) : void
리턴 void

Indenter() 공개 메소드

public Indenter ( VBE vbe, Func settings ) : System
vbe VBE
settings Func
리턴 System