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.
dev build from Oct 13, JDK 1.5.0 Open documents dialog when a cursor is inside a method of some Java file. The name of method is displayed instead of file name in the list
I dediced to try to fix this bug with heavy artillery, API change which adds methods TopComponent.getHtmlDisplayName/setHtmlDisplayName. This would allow fix several problems: 1) this issue 2) issue 66963 (asterisk in names) 3) not filed problem that quick search in documents dialog doesn't work on htmlized names (cvs colored) 4) will open the possibility to fix related bugs in tab control (bad display size of tabs etc)
Created attachment 26213 [details] diff of proposed solution
Forgot to say that also CloneableEditorSupport.messageHtmlName has to be added. Otherwise API change is relatively easy and impl is straighforward. Passing to fast track devrev process. One more note - I *could* solve original problem by stripping html tags from the name, but API is much nicer and leads to cleaner code, which also performs better.
*** Issue 67514 has been marked as a duplicate of this issue. ***
*** Issue 67683 has been marked as a duplicate of this issue. ***
No complaints for a week, so I'm taking this issue back and going to integrate soon, after I fullfill usual "paperwork" of apichanges etc.
fixed in main trunk: Checking in core/windows/src/org/netbeans/core/windows/WindowManagerImpl.java; /cvs/core/windows/src/org/netbeans/core/windows/WindowManagerImpl.java,v <-- WindowManagerImpl.java new revision: 1.35; previous revision: 1.34 done Checking in openide/text/manifest.mf; /cvs/openide/text/manifest.mf,v <-- manifest.mf new revision: 1.10; previous revision: 1.9 done Checking in openide/text/apichanges.xml; /cvs/openide/text/apichanges.xml,v <-- apichanges.xml new revision: 1.11; previous revision: 1.10 done Checking in openide/text/src/org/openide/text/CloneableEditorSupport.java; /cvs/openide/text/src/org/openide/text/CloneableEditorSupport.java,v <-- CloneableEditorSupport.java new revision: 1.13; previous revision: 1.12 done Checking in openide/text/src/org/openide/text/CloneableEditor.java; /cvs/openide/text/src/org/openide/text/CloneableEditor.java,v <-- CloneableEditor.java new revision: 1.7; previous revision: 1.6 done Checking in openide/windows/src/org/openide/windows/TopComponent.java; /cvs/openide/windows/src/org/openide/windows/TopComponent.java,v <-- TopComponent.java new revision: 1.5; previous revision: 1.4 done Checking in openide/windows/src/org/openide/windows/DummyWindowManager.java; /cvs/openide/windows/src/org/openide/windows/DummyWindowManager.java,v <-- DummyWindowManager.java new revision: 1.2; previous revision: 1.1 done Checking in openide/windows/src/org/openide/windows/WindowManager.java; /cvs/openide/windows/src/org/openide/windows/WindowManager.java,v <-- WindowManager.java new revision: 1.3; previous revision: 1.2 done Checking in openide/windows/manifest.mf; /cvs/openide/windows/manifest.mf,v <-- manifest.mf new revision: 1.5; previous revision: 1.4 done Checking in openide/windows/apichanges.xml; /cvs/openide/windows/apichanges.xml,v <-- apichanges.xml new revision: 1.3; previous revision: 1.2 done Checking in core/windows/src/org/netbeans/core/windows/view/ui/DocumentsDlg.java; /cvs/core/windows/src/org/netbeans/core/windows/view/ui/DocumentsDlg.java,v <-- DocumentsDlg.java new revision: 1.18; previous revision: 1.17 done Checking in openide/loaders/src/org/openide/text/DataEditorSupport.java; /cvs/openide/loaders/src/org/openide/text/DataEditorSupport.java,v <-- DataEditorSupport.java new revision: 1.29; previous revision: 1.28
*** Issue 67692 has been marked as a duplicate of this issue. ***
verified in NB5.0(200511031900)