bundles/org.eclipse.orion.client.editor/web/orion/editor/editor.js
function(types) {
			if (textUtil.compare(this._annotationTypesVisible, types)) return;
			this._annotationTypesVisible = types;
			if (!this._annotationRuler || !this._textView || !this._annotationRulerVisible) { return; }
			this._annotationRuler.setAnnotationTypeVisible(types);
			this._textView.redrawLines(0, undefined, this._annotationRuler);
		}
function(types) {
			if (textUtil.compare(this._annotationTypesVisible, types)) return;
			this._annotationTypesVisible = types;
			if (!this._annotationRuler || !this._textView || !this._annotationRulerVisible) { return; }
			this._annotationRuler.setAnnotationTypeVisible(types);
			this._textView.redrawLines(0, undefined, this._annotationRuler);
		}
function ( types ) { if ( textUtil . compare ( this . _annotationTypesVisible , types ) ) return ; this . _annotationTypesVisible = types ; if ( ! this . _annotationRuler || ! this . _textView || ! this . _annotationRulerVisible ) { return ; } this . _annotationRuler . setAnnotationTypeVisible ( types ) ; this . _textView . redrawLines ( 0 , undefined , this . _annotationRuler ) ; }
Sets which annotations types are shown in the annotation ruler.  Annotations are visible by default.

@param {Object} types a hash table mapping annotation type to visibility (i.e. AnnotationType.ANNOTATION_INFO -> true).
@since 14.0
Sets which annotations types are shown in the annotation ruler . Annotations are visible by default .