Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Maetzel2004-04-13 12:47:49 +0000
committerKai Maetzel2004-04-13 12:47:49 +0000
commit441a4f8c10c79481aa1707c56b8af631eaa6acaf (patch)
treeca1ee4adab20a03eb595abffd88723deac5215d0
parentb041f0ea85de83614d8b049c22570f3453bd5610 (diff)
downloadeclipse.platform.text-441a4f8c10c79481aa1707c56b8af631eaa6acaf.tar.gz
eclipse.platform.text-441a4f8c10c79481aa1707c56b8af631eaa6acaf.tar.xz
eclipse.platform.text-441a4f8c10c79481aa1707c56b8af631eaa6acaf.zip
reverting deleting position when removing annotations from model
-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 7870d860e..3123dd99d 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
@@ -586,7 +586,7 @@ public class AnnotationModel implements IAnnotationModel, IAnnotationModelExtens
if (fDocument != null) {
p= (Position) fAnnotations.get(annotation);
removePosition(fDocument, p);
- p.delete();
+// p.delete();
}
fAnnotations.remove(annotation);

Back to the top