Fix compilation error due to rebase
This commit is contained in:
parent
45d383f268
commit
cd81bc85eb
|
@ -164,7 +164,7 @@ export abstract class BaseTextEditorModel extends EditorModel implements ITextEd
|
||||||
const firstLineText = this.getFirstLineText(this.textEditorModel.getValue());
|
const firstLineText = this.getFirstLineText(this.textEditorModel.getValue());
|
||||||
const mode = this.getOrCreateMode(this.modeService, mime, firstLineText);
|
const mode = this.getOrCreateMode(this.modeService, mime, firstLineText);
|
||||||
|
|
||||||
this.textEditorModel.setMode(mode);
|
this.modelService.setMode(this.textEditorModel, mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue