re #102503. reveal range

This commit is contained in:
rebornix
2020-08-28 13:23:28 -07:00
parent 637d782c7b
commit d3a5dd9d4b
6 changed files with 65 additions and 4 deletions

View File

@@ -747,6 +747,10 @@ export class ExtHostNotebookEditor extends Disposable implements vscode.Notebook
return this._proxy.$tryApplyEdits(this.viewType, this.uri, editData.documentVersionId, compressedEdits);
}
revealRange(range: vscode.NotebookCellRange, revealType?: extHostTypes.NotebookEditorRevealType) {
this._proxy.$tryRevealRange(this.id, range, revealType || extHostTypes.NotebookEditorRevealType.Default);
}
get viewColumn(): vscode.ViewColumn | undefined {
return this._viewColumn;
}