C# Класс Rubberduck.SmartIndenter.Indenter

Наследование: IIndenter
Показать файл Открыть проект

Открытые методы

Метод Описание
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