Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Piech2008-12-15 22:34:55 +0000
committerPawel Piech2008-12-15 22:34:55 +0000
commit727406ebc95780efaf7d4b1c3ebb0d64ffd917cd (patch)
tree1e257d63238bb8270c0fa12f0e90035831e8373b /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup
parent9977c0255738d5d0023d884971c9c927d2bfcb7e (diff)
downloadeclipse.platform.debug-727406ebc95780efaf7d4b1c3ebb0d64ffd917cd.tar.gz
eclipse.platform.debug-727406ebc95780efaf7d4b1c3ebb0d64ffd917cd.tar.xz
eclipse.platform.debug-727406ebc95780efaf7d4b1c3ebb0d64ffd917cd.zip
49730 - [source lookup] Call stack editor annotation ambiguous
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupFacility.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupFacility.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupFacility.java
index 3a625ca38..29c51f5ea 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupFacility.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupFacility.java
@@ -239,6 +239,7 @@ public class SourceLookupFacility implements IPageListener, IPartListener2, IPro
}
if (textEditor != null) {
positionEditor(textEditor, frame);
+ InstructionPointerManager.getDefault().removeAnnotations(textEditor);
Annotation annotation = fPresentation.getInstructionPointerAnnotation(textEditor, frame);
InstructionPointerManager.getDefault().addAnnotation(textEditor, frame, annotation);
}

Back to the top