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:||PasteAction not working in Explorer|
|Product:||platform||Reporter:||Jesse Glick <jglick>|
|Component:||Actions||Assignee:||Jesse Glick <jglick>|
|Issue Type:||DEFECT||Exception Reporter:|
|Bug Depends on:|
|Attachments:||Proposed patch, please check|
Description Jesse Glick 2003-01-10 01:47:18 UTC
[dev jan 09] Copying a Java source in the Explorer, Paste (Ctrl-V, menu, popup, etc.) is always enabled; no subitems; does not do anything, nor throw any errors.
Comment 1 Jesse Glick 2003-01-10 01:54:01 UTC
While you're at it, could you please put some comments into PasteAction.java? It is complete spaghetti code and largely uncommented.
Comment 2 Jesse Glick 2003-01-10 05:28:08 UTC
Think I see it - CutAction had a serious typo (and its test failed, fortunately). After fixing that, things seem OK again.
Comment 3 Jesse Glick 2003-01-10 07:45:28 UTC
Created attachment 8517 [details] Proposed patch, please check
Comment 4 Jesse Glick 2003-01-10 08:07:58 UTC
committed Up-To-Date 1.18 openide/src/org/openide/actions/CutAction.java
Comment 5 Marian Mirilovic 2003-01-10 09:04:31 UTC
Comment 6 Peter Zavadsky 2003-01-10 09:25:00 UTC
Jesse, thanks for the fix. Yarda, please add some comments to the paste action new code.
Comment 7 Jaroslav Tulach 2003-01-10 12:28:37 UTC
I have written something. PasteAction rev. 1.40