bundles/org.eclipse.orion.client.editor/web/orion/editor/editor.js
function() {
			var annotationModel = this.getAnnotationModel();
			var textModel = this.getModel();
			if (textModel.getBaseModel) {
				textModel = textModel.getBaseModel();
			}
			var type = AT.ANNOTATION_HIGHLIGHTED_LINE;
			var annotations = annotationModel.getAnnotations(0, textModel.getCharCount());
			var remove = null;
			while (annotations.hasNext()) {
				var annotation = annotations.next();
				if (annotation.type === type) {
					remove = annotation;
					break;
				}
			}
			if (remove) {
				annotationModel.removeAnnotation(remove);
			}
		}
function() {
			var annotationModel = this.getAnnotationModel();
			var textModel = this.getModel();
			if (textModel.getBaseModel) {
				textModel = textModel.getBaseModel();
			}
			var type = AT.ANNOTATION_HIGHLIGHTED_LINE;
			var annotations = annotationModel.getAnnotations(0, textModel.getCharCount());
			var remove = null;
			while (annotations.hasNext()) {
				var annotation = annotations.next();
				if (annotation.type === type) {
					remove = annotation;
					break;
				}
			}
			if (remove) {
				annotationModel.removeAnnotation(remove);
			}
		}
function ( ) { var annotationModel = this . getAnnotationModel ( ) ; var textModel = this . getModel ( ) ; if ( textModel . getBaseModel ) { textModel = textModel . getBaseModel ( ) ; } var type = AT . ANNOTATION_HIGHLIGHTED_LINE ; var annotations = annotationModel . getAnnotations ( 0 , textModel . getCharCount ( ) ) ; var remove = null ; while ( annotations . hasNext ( ) ) { var annotation = annotations . next ( ) ; if ( annotation . type === type ) { remove = annotation ; break ; } } if ( remove ) { annotationModel . removeAnnotation ( remove ) ; } }
Unhightlight the highlighted line
Unhightlight the highlighted line