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