Responded to feedback and fixed the returned found term

This commit is contained in:
Alex Ross
2018-09-07 15:29:51 -07:00
parent 03e54cce7d
commit e5465841f8
5 changed files with 64 additions and 36 deletions
+8 -2
View File
@@ -17,6 +17,12 @@ export interface ISearchAddonTerminal extends Terminal {
}
export interface ISearchHelper {
findNext(term: string, regex: boolean): boolean;
findPrevious(term: string, regex: boolean): boolean;
findNext(term: string, searchOptions: ISearchOptions): boolean;
findPrevious(term: string, searchOptions: ISearchOptions): boolean;
}
export interface ISearchOptions {
regex: boolean;
wholeWord: boolean;
caseSensitive: boolean;
}