code: function(annotation) {
  			if (!annotation) { return; }
  			var index = this._getAnnotationIndex(annotation);
  			if (index < 0) { return; }
  			annotation._annotationModel = null;
  			var e = {
  				type: "Changed", //$NON-NLS-0$
  				removed: this._annotations.splice(index, 1),
  				added: [],
  				changed: []
  			};
  			this.onChanged(e);
  		}
docs: Removes an annotation from the annotation model.
  <p>The annotation model listeners are notified of this change.</p>
  
  @param {orion.editor.Annotation} annotation the annotation to be removed.
  
  @see orion.editor.AnnotationModel#addAnnotation