Move tokenizationSupport out of the mode instance and into TokenizationRegistry

This commit is contained in:
Alex Dima
2016-09-16 10:44:13 +02:00
parent dff1153946
commit 45d383f268
59 changed files with 933 additions and 1493 deletions

View File

@@ -92,7 +92,7 @@ export abstract class BaseTextEditorModel extends EditorModel implements ITextEd
model.setValueFromRawText(value);
}
model.setMode(mode);
this.modelService.setMode(model, mode);
}
this.textEditorModelHandle = model.uri;