mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 01:25:36 -05:00
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:
@@ -179,10 +179,12 @@ export class NotebookRange extends Range {
|
||||
this.cell = cell;
|
||||
}
|
||||
cell: ICellModel;
|
||||
isMarkdownSourceCell: boolean;
|
||||
|
||||
constructor(cell: ICellModel, startLineNumber: number, startColumn: number, endLineNumber: number, endColumn: number) {
|
||||
constructor(cell: ICellModel, startLineNumber: number, startColumn: number, endLineNumber: number, endColumn: number, markdownEditMode?: boolean) {
|
||||
super(startLineNumber, startColumn, endLineNumber, endColumn);
|
||||
this.updateActiveCell(cell);
|
||||
this.isMarkdownSourceCell = markdownEditMode ? markdownEditMode : false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user