mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
hot exit - add version id getters to models
This commit is contained in:
@@ -133,14 +133,6 @@ export class UntitledEditorInput extends AbstractUntitledEditorInput {
|
||||
return null;
|
||||
}
|
||||
|
||||
public getValue(): string {
|
||||
if (this.cachedModel) {
|
||||
return this.cachedModel.getValue();
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public setEncoding(encoding: string, mode: EncodingMode /* ignored, we only have Encode */): void {
|
||||
if (this.cachedModel) {
|
||||
this.cachedModel.setEncoding(encoding);
|
||||
|
||||
Reference in New Issue
Block a user