1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00

Bug 460760: Revert Fix DsfSourceDisplayAdapter.openEditor change

Revert "Bug 460760: Fix DsfSourceDisplayAdapter.openEditor to avoid
ignoring editor id set in SourceLookupResult "

This reverts commit 2af7d6d592.

Change-Id: I0f2694605f95007ad1feac9a126365958d732bd4
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
This commit is contained in:
Jonah Graham 2015-07-16 19:14:04 +01:00 committed by Gerrit Code Review @ Eclipse.org
parent 7237fa8ac6
commit ad52facf4e

View file

@ -405,9 +405,9 @@ public class DsfSourceDisplayAdapter implements ISourceDisplay, ISteppingControl
if (! input.equals(re.getEditorInput()))
re.setInput(input);
}
} else {
editor[0] = page.openEditor(input, id, false, IWorkbenchPage.MATCH_ID);
}
}
else
editor[0] = page.openEditor(input, id, false);
} catch (PartInitException e) {}
}
}