use IModel for IResolverService now that it lives in editor land

This commit is contained in:
Benjamin Pasero
2016-11-16 16:20:03 +01:00
parent 935027dc19
commit f94a893f8e
7 changed files with 34 additions and 26 deletions

View File

@@ -148,7 +148,7 @@ class FormatOnSaveParticipant implements INamedSaveParticpant {
return;
}
const model: IModel = editorModel.textEditorModel;
const model = editorModel.textEditorModel;
const versionNow = model.getVersionId();
const {tabSize, insertSpaces} = model.getOptions();