C# Class Rubberduck.Navigation.RegexSearchReplace.RegexSearchReplace

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

Méthodes publiques

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

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

public RegexSearchReplace ( VBE vbe, IRubberduckParser parser, ICodePaneWrapperFactory codePaneFactory ) : System
vbe VBE
parser IRubberduckParser
codePaneFactory ICodePaneWrapperFactory
Résultat System

Replace() public méthode

public Replace ( string searchPattern, string replaceValue, RegexSearchReplaceScope scope ) : void
searchPattern string
replaceValue string
scope RegexSearchReplaceScope
Résultat void

ReplaceAll() public méthode

public ReplaceAll ( string searchPattern, string replaceValue, RegexSearchReplaceScope scope ) : void
searchPattern string
replaceValue string
scope RegexSearchReplaceScope
Résultat void

Search() public méthode

public Search ( string searchPattern, RegexSearchReplaceScope scope = RegexSearchReplaceScope.CurrentFile ) : IEnumerable
searchPattern string
scope RegexSearchReplaceScope
Résultat IEnumerable