Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/history/RevisionAnnotationController.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/history/RevisionAnnotationController.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/history/RevisionAnnotationController.java
index 487b48d10..e77b9df76 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/history/RevisionAnnotationController.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/ui/history/RevisionAnnotationController.java
@@ -95,12 +95,12 @@ public abstract class RevisionAnnotationController {
// No existing editor references found, try to open a new editor for the file
try {
- IEditorDescriptor descrptr = IDE.getEditorDescriptor(file);
+ IEditorDescriptor descrptr = IDE.getEditorDescriptor(file, true, true);
// Try to open the associated editor only if its an internal editor
// Also, if a non-text editor is already open, there is no need to try and open
// an editor since the open will find the non-text editor
if (descrptr.isInternal() && openEditors.length == 0){
- IEditorPart part = page.openEditor(input, IDE.getEditorDescriptor(file).getId(), true, IWorkbenchPage.MATCH_INPUT);
+ IEditorPart part = page.openEditor(input, IDE.getEditorDescriptor(file, true, true).getId(), true, IWorkbenchPage.MATCH_INPUT);
AbstractDecoratedTextEditor te = findTextEditorPart(page, part, input);
if (te != null)
return te;

Back to the top