Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorteicher2004-04-13 13:42:27 +0000
committerteicher2004-04-13 13:42:27 +0000
commitdc2c7545732aec320ba95ac610087bd3f816fc85 (patch)
treed4225acfbec7b421008a716f944b974adef9cc29
parent441a4f8c10c79481aa1707c56b8af631eaa6acaf (diff)
downloadeclipse.platform.text-dc2c7545732aec320ba95ac610087bd3f816fc85.tar.gz
eclipse.platform.text-dc2c7545732aec320ba95ac610087bd3f816fc85.tar.xz
eclipse.platform.text-dc2c7545732aec320ba95ac610087bd3f816fc85.zip
also don't delete positions in removeAllAnnotations
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/source/AnnotationModel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/AnnotationModel.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/AnnotationModel.java
index 3123dd99d..fc6608787 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/AnnotationModel.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/AnnotationModel.java
@@ -554,7 +554,7 @@ public class AnnotationModel implements IAnnotationModel, IAnnotationModelExtens
Annotation a= (Annotation) e.next();
Position p= (Position) fAnnotations.get(a);
removePosition(fDocument, p);
- p.delete();
+// p.delete();
getAnnotationModelEvent().annotationRemoved(a, p);
}
}

Back to the top