code: function AnnotationStyler (view, annotationModel) {
  		this._view = view;
  		this._annotationModel = annotationModel;
  		var self = this;
  		this._listener = {
  			onDestroy: function(e) {
  				self._onDestroy(e);
  			},
  			onLineStyle: function(e) {
  				self._onLineStyle(e);
  			},
  			onChanged: function(e) {
  				self._onAnnotationModelChanged(e);
  			}
  		};
  		view.addEventListener("Destroy", this._listener.onDestroy); //$NON-NLS-0$
  		view.addEventListener("postLineStyle", this._listener.onLineStyle); //$NON-NLS-0$
  		annotationModel.addEventListener("Changed", this._listener.onChanged); //$NON-NLS-0$
  	}
docs: Constructs a new styler for annotations.
  
  @param {orion.editor.TextView} view The styler view.
  @param {orion.editor.AnnotationModel} view The styler annotation model.
  
  @class This object represents a styler for annotation attached to a text view.
  @name orion.editor.AnnotationStyler
  @borrows orion.editor.AnnotationTypeList#addAnnotationType as #addAnnotationType
  @borrows orion.editor.AnnotationTypeList#getAnnotationTypePriority as #getAnnotationTypePriority
  @borrows orion.editor.AnnotationTypeList#getAnnotationsByType as #getAnnotationsByType
  @borrows orion.editor.AnnotationTypeList#isAnnotationTypeVisible as #isAnnotationTypeVisible
  @borrows orion.editor.AnnotationTypeList#removeAnnotationType as #removeAnnotationType