bundles/org.eclipse.orion.client.editor/web/orion/editor/editor.js
function(types) {
			if (textUtil.compare(this._textAnnotationTypesVisible, types)) return;
			this._textAnnotationTypesVisible = types;
			if (!this._annotationStyler || !this._textView) { return; }
			this._annotationStyler.setAnnotationTypeVisible(types);
			this._textView.redrawLines(0, undefined);
		}
function(types) {
			if (textUtil.compare(this._textAnnotationTypesVisible, types)) return;
			this._textAnnotationTypesVisible = types;
			if (!this._annotationStyler || !this._textView) { return; }
			this._annotationStyler.setAnnotationTypeVisible(types);
			this._textView.redrawLines(0, undefined);
		}
function ( types ) { if ( textUtil . compare ( this . _textAnnotationTypesVisible , types ) ) return ; this . _textAnnotationTypesVisible = types ; if ( ! this . _annotationStyler || ! this . _textView ) { return ; } this . _annotationStyler . setAnnotationTypeVisible ( types ) ; this . _textView . redrawLines ( 0 , undefined ) ; }
Sets which annotations types are shown in the text.  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 text . Annotations are visible by default .