mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
@@ -100,7 +100,8 @@ export class NotebookEditorModel extends EditorModel {
|
|||||||
let content = JSON.stringify(notebookModel.toJSON(), undefined, ' ');
|
let content = JSON.stringify(notebookModel.toJSON(), undefined, ' ');
|
||||||
let model = this.textEditorModel.textEditorModel;
|
let model = this.textEditorModel.textEditorModel;
|
||||||
let endLine = model.getLineCount();
|
let endLine = model.getLineCount();
|
||||||
let endCol = model.getLineLength(endLine);
|
let endCol = model.getLineMaxColumn(endLine);
|
||||||
|
|
||||||
this.textEditorModel.textEditorModel.applyEdits([{
|
this.textEditorModel.textEditorModel.applyEdits([{
|
||||||
range: new Range(1, 1, endLine, endCol),
|
range: new Range(1, 1, endLine, endCol),
|
||||||
text: content
|
text: content
|
||||||
|
|||||||
Reference in New Issue
Block a user