Remove model.getModeId()

This commit is contained in:
Alex Dima
2017-01-05 14:56:14 +01:00
parent bb49af3316
commit badd8d1877
19 changed files with 21 additions and 51 deletions

View File

@@ -111,7 +111,7 @@ export class UntitledEditorModel extends BaseTextEditorModel implements IEncodin
public getModeId(): string {
if (this.textEditorModel) {
return this.textEditorModel.getModeId();
return this.textEditorModel.getLanguageIdentifier().language;
}
return null;