C# Class Rubberduck.Navigation.RegexSearchReplace.RegexSearchReplace

Inheritance: IRegexSearchReplace
Exibir arquivo Open project: retailcoder/Rubberduck Class Usage Examples

Public Methods

Method Description
RegexSearchReplace ( VBE vbe, IRubberduckParser parser, ICodePaneWrapperFactory codePaneFactory ) : System
Replace ( string searchPattern, string replaceValue, RegexSearchReplaceScope scope ) : void
ReplaceAll ( string searchPattern, string replaceValue, RegexSearchReplaceScope scope ) : void
Search ( string searchPattern, RegexSearchReplaceScope scope = RegexSearchReplaceScope.CurrentFile ) : IEnumerable

Private Methods

Method Description
GetResultsFromModule ( CodeModule module, string searchPattern ) : IEnumerable
SearchCurrentBlock ( string searchPattern ) : List
SearchCurrentFile ( string searchPattern ) : List
SearchCurrentProject ( string searchPattern ) : List
SearchOpenFiles ( string searchPattern ) : List
SearchOpenProjects ( string searchPattern ) : List
SearchSelection ( string searchPattern ) : List
SetSelection ( RegexSearchResult item ) : void

Method Details

RegexSearchReplace() public method

public RegexSearchReplace ( VBE vbe, IRubberduckParser parser, ICodePaneWrapperFactory codePaneFactory ) : System
vbe VBE
parser IRubberduckParser
codePaneFactory ICodePaneWrapperFactory
return System

Replace() public method

public Replace ( string searchPattern, string replaceValue, RegexSearchReplaceScope scope ) : void
searchPattern string
replaceValue string
scope RegexSearchReplaceScope
return void

ReplaceAll() public method

public ReplaceAll ( string searchPattern, string replaceValue, RegexSearchReplaceScope scope ) : void
searchPattern string
replaceValue string
scope RegexSearchReplaceScope
return void

Search() public method

public Search ( string searchPattern, RegexSearchReplaceScope scope = RegexSearchReplaceScope.CurrentFile ) : IEnumerable
searchPattern string
scope RegexSearchReplaceScope
return IEnumerable