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.
As described in issue 41223, the parent of a CloneableEditor's action map is the action map of the editor pane. This causes a few problems: - the delete key affects the editor even when the toolbar has the focus. This has been addressed in issue 69642, but the fix is not 100% reliable, since it relies on key mappings, which can be customized. - components added to the CloneableEditor using the CloneableEditorSupport.wrapEditorComponent() API can't disable the delete, cut, copy and paste actions or replace them with their own actions. Instead, the editor actions are executed. The fix of issue 41223 should be reconsidered, or at least there should be a documented means for the clients of CES.weC() to override or disable the delete, cut, copy and paste actions. This enhancement could have multiple implications. For example it seems the enabled/disabled state of delete action is computed when the active TopComponent changes, not when the focus changes or when the state is needed. This behavior must be modified if the state of the delete action is to change when the focus moves among components of the same TC.
Reassigning to new module owner mslama.