code: 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);
  		}
docs: 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