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

@@ -123,7 +123,6 @@ export class NotebookModelStub implements INotebookModel {
}
export class NotebookFindModelStub implements INotebookFindModel {
getFindCount(): number {
throw new Error('Method not implemented.');
}
@@ -158,6 +157,9 @@ export class NotebookFindModelStub implements INotebookFindModel {
findMatches: NotebookFindMatch[];
findExpression: string;
onFindCountChange: vsEvent.Event<number>;
getIndexByRange(range: NotebookRange): number {
throw new Error('Method not implemented.');
}
}
export class NotebookManagerStub implements INotebookManager {