C# Class Rubberduck.VBEditor.ActiveCodePaneEditor

Inheritance: IActiveCodePaneEditor
Afficher le fichier Open project: retailcoder/Rubberduck Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

public ActiveCodePaneEditor ( VBE vbe, ICodePaneWrapperFactory wrapperFactory ) : Microsoft.Vbe.Interop
vbe VBE
wrapperFactory ICodePaneWrapperFactory
Résultat Microsoft.Vbe.Interop

DeleteLines() public méthode

public DeleteLines ( Rubberduck.VBEditor.Selection selection ) : void
selection Rubberduck.VBEditor.Selection
Résultat void

GetLines() public méthode

public GetLines ( Rubberduck.VBEditor.Selection selection ) : string
selection Rubberduck.VBEditor.Selection
Résultat string

GetSelectedProcedureScope() public méthode

public GetSelectedProcedureScope ( Rubberduck.VBEditor.Selection selection ) : string
selection Rubberduck.VBEditor.Selection
Résultat string

GetSelection() public méthode

public GetSelection ( ) : QualifiedSelection?
Résultat QualifiedSelection?

InsertLines() public méthode

public InsertLines ( int line, string content ) : void
line int
content string
Résultat void

ReplaceLine() public méthode

public ReplaceLine ( int line, string content ) : void
line int
content string
Résultat void

SetSelection() public méthode

public SetSelection ( QualifiedSelection selection ) : void
selection QualifiedSelection
Résultat void

SetSelection() public méthode

public SetSelection ( Rubberduck.VBEditor.Selection selection ) : void
selection Rubberduck.VBEditor.Selection
Résultat void