| Summary: | [compatibility] Editors do not get reused | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Brian de Alwis <bsd> | ||||
| Component: | UI | Assignee: | Remy Suen <remy.suen> | ||||
| Status: | VERIFIED FIXED | QA Contact: | Remy Suen <remy.suen> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | remy.suen | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 4.1 RC3 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Brian de Alwis
I suppose the question is how do we pick which one to close? (In reply to comment #1) > I suppose the question is how do we pick which one to close? I thought this functionality would just pick up the implementation from the E3.x code. (In reply to comment #2) > I thought this functionality would just pick up the implementation from the > E3.x code. I suppose that would be the easiest way out. junit.framework.AssertionFailedError: expected:<org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor@1a34181> but was:<org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor@1e7c4d4> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:283) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:71) at org.eclipse.jdt.text.tests.MarkOccurrenceTest.testMarkOccurrencesAfterEditorReuse(MarkOccurrenceTest.java:192) Created attachment 196675 [details]
Reuse editors patch v1
Add back code that queries whether editors should be reused. Based on the requested id and any available editors, we'll make the call as to whether we should reuse editors or open new ones.
(In reply to comment #5) > Created attachment 196675 [details] > Reuse editors patch v1 Patch released to CVS HEAD. Verified with I20110604-2201 on Windows XP. |