src/vs/workbench/browser/parts/editor/editorStatus.ts/ShowCurrentMarkerInStatusbarContribution/updateMarkers
class ShowCurrentMarkerInStatusbarContribution:	private updateMarkers(): void {
		if (!this.editor) {
			return;
		}

		const model = this.editor.getModel();
		if (!model) {
			return;
		}

		if (model) {
			this.markers = this.markerService.read({
				resource: model.uri,
				severities: MarkerSeverity.Error | MarkerSeverity.Warning | MarkerSeverity.Info
			});
			this.markers.sort(compareMarker);
		} else {
			this.markers = [];
		}

		this.updateStatus();
	}