mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 09:38:38 +01:00
Updating cell state when destorying it is not good
This commit is contained in:
@@ -421,7 +421,7 @@ export class ExtHostNotebookEditor implements vscode.NotebookEditor {
|
||||
public document: ExtHostNotebookDocument,
|
||||
private _documentsAndEditors: ExtHostDocumentsAndEditors
|
||||
) {
|
||||
const regex = new RegExp(/cell_(\d)*\./g);
|
||||
const regex = new RegExp(/cell_(\d*)\./g);
|
||||
this._documentsAndEditors.onDidAddDocuments(documents => {
|
||||
for (const data of documents) {
|
||||
let textDocument = data.document;
|
||||
|
||||
Reference in New Issue
Block a user