implement find multiple matches in line.

start search from current selection.
add unit tests.
This commit is contained in:
Noam
2018-11-30 20:46:47 +02:00
parent 1db17701df
commit 376c790e1d
3 changed files with 126 additions and 37 deletions
+5 -2
View File
@@ -25,10 +25,13 @@ export interface ISearchOptions {
regex?: boolean;
wholeWord?: boolean;
caseSensitive?: boolean;
reverseSearch?: boolean;
}
export interface ISearchResult {
term: string;
export interface ISearchIndex {
col: number;
row: number;
}
export interface ISearchResult extends ISearchIndex {
term: string;
}