This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Refactor - Rename often messes up multiple java files in which the original name occurred. | ||
---|---|---|---|
Product: | platform | Reporter: | jmsoft <jmsoft> |
Component: | Text | Assignee: | Miloslav Metelka <mmetelka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | faramir2, fgenolini, hallyhaa, mjr_1974, neonfly, petergoebel, ralphbenjamin, raoul, tbodt, tboudreau, tnleeuw |
Priority: | P2 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
jmsoft
2014-04-11 05:25:59 UTC
*** Bug 243991 has been marked as a duplicate of this bug. *** PositionRefs are not updated from offsetKind to positionKind when following the steps as described in issue 243991 comment 9. You can add a breakpoint to org.netbeans.api.java.source.ModificationResult:265 As expected DocmentRenderer.PROCESS_POSITIONS processing is missing I'm still working on an appropriate fix. jlahoda's patch in issue #228855 if (getAnyEditor() == null) { getPositionManager().documentOpened(openClose.docRef); } does not get triggered since there are existing editors (part of the prerequisites of the reproduction) so I'll attempt to modify the patch to fix the problem. Integrated into 'main-silver', will be available in build *201405151825* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5348eb8014f2 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #243751 - Refactor - Rename often messes up multiple java files in which the original name occurred.. *** Bug 237102 has been marked as a duplicate of this bug. *** *** Bug 243949 has been marked as a duplicate of this bug. *** *** Bug 244412 has been marked as a duplicate of this bug. *** *** Bug 245038 has been marked as a duplicate of this bug. *** *** Bug 244961 has been marked as a duplicate of this bug. *** *** Bug 245136 has been marked as a duplicate of this bug. *** *** Bug 242707 has been marked as a duplicate of this bug. *** *** Bug 239747 has been marked as a duplicate of this bug. *** *** Bug 237248 has been marked as a duplicate of this bug. *** |