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 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.
While you're at it, could you please put some comments into PasteAction.java? It is complete spaghetti code and largely uncommented.
Think I see it - CutAction had a serious typo (and its test failed, fortunately). After fixing that, things seem OK again.
Created attachment 8517 [details] Proposed patch, please check
committed Up-To-Date 1.18 openide/src/org/openide/actions/CutAction.java
verified source
Jesse, thanks for the fix. Yarda, please add some comments to the paste action new code.
I have written something. PasteAction rev. 1.40