C# Class Rubberduck.VBEditor.ActiveCodePaneEditor

Inheritance: IActiveCodePaneEditor
Datei anzeigen Open project: retailcoder/Rubberduck Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
ActiveCodePaneEditor ( VBE vbe, ICodePaneWrapperFactory wrapperFactory ) : Microsoft.Vbe.Interop
DeleteLines ( Rubberduck.VBEditor.Selection selection ) : void
GetLines ( Rubberduck.VBEditor.Selection selection ) : string
GetSelectedProcedureScope ( Rubberduck.VBEditor.Selection selection ) : string
GetSelection ( ) : QualifiedSelection?
InsertLines ( int line, string content ) : void
ReplaceLine ( int line, string content ) : void
SetSelection ( QualifiedSelection selection ) : void
SetSelection ( Rubberduck.VBEditor.Selection selection ) : void

Method Details

ActiveCodePaneEditor() public method

public ActiveCodePaneEditor ( VBE vbe, ICodePaneWrapperFactory wrapperFactory ) : Microsoft.Vbe.Interop
vbe VBE
wrapperFactory ICodePaneWrapperFactory
return Microsoft.Vbe.Interop

DeleteLines() public method

public DeleteLines ( Rubberduck.VBEditor.Selection selection ) : void
selection Rubberduck.VBEditor.Selection
return void

GetLines() public method

public GetLines ( Rubberduck.VBEditor.Selection selection ) : string
selection Rubberduck.VBEditor.Selection
return string

GetSelectedProcedureScope() public method

public GetSelectedProcedureScope ( Rubberduck.VBEditor.Selection selection ) : string
selection Rubberduck.VBEditor.Selection
return string

GetSelection() public method

public GetSelection ( ) : QualifiedSelection?
return QualifiedSelection?

InsertLines() public method

public InsertLines ( int line, string content ) : void
line int
content string
return void

ReplaceLine() public method

public ReplaceLine ( int line, string content ) : void
line int
content string
return void

SetSelection() public method

public SetSelection ( QualifiedSelection selection ) : void
selection QualifiedSelection
return void

SetSelection() public method

public SetSelection ( Rubberduck.VBEditor.Selection selection ) : void
selection Rubberduck.VBEditor.Selection
return void