C# Class Rubberduck.VBEditor.VBEInterfaces.RubberduckCodePane.CodePaneWrapper

Inheritance: ICodePaneWrapper
显示文件 Open project: retailcoder/Rubberduck

Public Methods

Method Description
CodePaneWrapper ( CodePane codePane ) : System
ForceFocus ( ) : void

A CodePane extension method that forces focus onto the CodePane. This patches a bug in VBE.Interop.

GetSelection ( int &startLine, int &startColumn, int &endLine, int &endColumn ) : void
SetSelection ( int startLine, int startColumn, int endLine, int endColumn ) : void
Show ( ) : void

Private Methods

Method Description
GetSelection ( ) : Selection
SetSelection ( Selection selection ) : void

Method Details

CodePaneWrapper() public method

public CodePaneWrapper ( CodePane codePane ) : System
codePane CodePane
return System

ForceFocus() public method

A CodePane extension method that forces focus onto the CodePane. This patches a bug in VBE.Interop.
public ForceFocus ( ) : void
return void

GetSelection() public method

public GetSelection ( int &startLine, int &startColumn, int &endLine, int &endColumn ) : void
startLine int
startColumn int
endLine int
endColumn int
return void

SetSelection() public method

public SetSelection ( int startLine, int startColumn, int endLine, int endColumn ) : void
startLine int
startColumn int
endLine int
endColumn int
return void

Show() public method

public Show ( ) : void
return void