mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
Remove the textDocumentNotebook API proposal (#149277)
* Remove the textDocumentNotebook API proposal All consumers have now been migrated off of this proposal, so it is safe to remove from our code * Remove deprecated api usage from test
This commit is contained in:
@@ -37,7 +37,7 @@ export class ExtHostDocumentData extends MirrorTextModel {
|
||||
uri: URI, lines: string[], eol: string, versionId: number,
|
||||
private _languageId: string,
|
||||
private _isDirty: boolean,
|
||||
private readonly _notebook?: vscode.NotebookDocument | undefined
|
||||
public readonly notebook?: vscode.NotebookDocument | undefined
|
||||
) {
|
||||
super(uri, lines, eol, versionId);
|
||||
}
|
||||
@@ -66,7 +66,6 @@ export class ExtHostDocumentData extends MirrorTextModel {
|
||||
get version() { return that._versionId; },
|
||||
get isClosed() { return that._isDisposed; },
|
||||
get isDirty() { return that._isDirty; },
|
||||
get notebook() { return that._notebook; },
|
||||
save() { return that._save(); },
|
||||
getText(range?) { return range ? that._getTextInRange(range) : that.getText(); },
|
||||
get eol() { return that._eol === '\n' ? EndOfLine.LF : EndOfLine.CRLF; },
|
||||
|
||||
Reference in New Issue
Block a user