Fix/search text cell on edit (#9685)

* find in text cell changes

* remove prev decorations

* update find index on cell edit

* added test

* addressed comments

* emit error
This commit is contained in:
Maddy
2020-03-25 22:47:06 -07:00
committed by GitHub
parent 4241ca523e
commit 685e0ccf7e
12 changed files with 177 additions and 28 deletions

View File

@@ -48,4 +48,6 @@ export interface INotebookFindModel {
findExpression: string;
/** Emit event when the find count changes */
onFindCountChange: Event<number>;
/** Get the find index when range is given*/
getIndexByRange(range: NotebookRange): number;
}