C# Class Rubberduck.VBEditor.Extensions.VbeExtensions

Mostra file Open project: retailcoder/Rubberduck

Public Methods

Method Description
FindInstruction ( this vbe, QualifiedModuleName qualifiedModuleName, Selection selection ) : CodeModuleSelection
HostApplication ( this vbe ) : IHostApplication

Returns the type of Office Application that is hosting the VBE.

SetSelection ( this vbe, VBProject vbProject, Selection selection, string name, ICodePaneWrapperFactory wrapperFactory ) : void

Method Details

FindInstruction() public static method

public static FindInstruction ( this vbe, QualifiedModuleName qualifiedModuleName, Selection selection ) : CodeModuleSelection
vbe this
qualifiedModuleName QualifiedModuleName
selection Selection
return CodeModuleSelection

HostApplication() public static method

Returns the type of Office Application that is hosting the VBE.
public static HostApplication ( this vbe ) : IHostApplication
vbe this
return IHostApplication

SetSelection() public static method

public static SetSelection ( this vbe, VBProject vbProject, Selection selection, string name, ICodePaneWrapperFactory wrapperFactory ) : void
vbe this
vbProject VBProject
selection Selection
name string
wrapperFactory ICodePaneWrapperFactory
return void