move disposeUnusedTextFileModels into model manager and add tests

This commit is contained in:
Benjamin Pasero
2016-09-07 12:45:07 +02:00
parent e87d1d866e
commit a4e06dc83b
9 changed files with 150 additions and 51 deletions

View File

@@ -115,7 +115,7 @@ export class EditorGroup implements IEditorGroup {
}
private onConfigurationUpdated(config: IWorkbenchEditorConfiguration): void {
this.editorOpenPositioning = config.workbench.editor.openPositioning;
this.editorOpenPositioning = config && config.workbench && config.workbench.editor && config.workbench.editor.openPositioning;
}
public get id(): GroupIdentifier {