Merge branch 'master' into alex/perf

This commit is contained in:
Alex Dima
2016-03-29 17:27:38 +02:00
324 changed files with 3692 additions and 828 deletions

View File

@@ -94,7 +94,7 @@ export class ExtHostEditors {
if (editor) {
return editor;
} else {
throw new Error('Failed to create editor with id: ' + id);
throw new Error(`Failed to show text document ${document.uri.toString()}, should show in editor #${id}`);
}
});
}
@@ -626,6 +626,10 @@ export class MainThreadEditors {
return this._workbenchEditorService.openEditor(input, position).then(editor => {
if (!editor) {
return;
}
return new TPromise<void>(c => {
// not very nice but the way it is: changes to the editor state aren't
// send to the ext host as they happen but stuff is delayed a little. in