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.
The externaleditor module requires the ability to hide the JEditorPane associated with a file which is being edited externally. This would provide better coexistence with the built-in Source Editor (see issue 17398). Suggested implementation: Add a property to the DataObject that controls the visibility of its editor pane. The ExtEdKit could set this property at install() time, and the Source Editor would check the property before showing the pane for the file. If the ExtEdKit is uninstalled for the MIME type of the file, it would reset the property so that subsequent Opens would show the pane as expected. Requested for NB 3.4.
I cannot handle this in the editor module. This is rather for openide or core. Reassigning to openide.
No chance to do it for 3.3.x series. This is an RFE, not a bug. It requires API changes, I marked this issue with API keyword to indicate this fact. Will put high prio on this issue for 3.4
Adding property to DataObject is not good solution - DO should be separate from editor. We should improve CloneableEditorSupport to find out that the Document is standalone (NbDocument.CustomEditor returning something special) and not open any CloneableEditors...
I did start work on such an API in the past. It is old but the basic ideas could be revisited to see if they are still useful. The API involves an optional interface in NbDocument permitting documents from an editor kit to mark themselves as invisible or somehow special. In that case a CloneableEditor (or equiv.) is still created, for API compatibility purposes, but never made visible.
Set target milestone to TBD
I am not sure, but I think that this might be duplicate or very similar to issue 20910. As that issue is fixed for long time, I am curious whether this issues is not fixed as well. Closing as duplicate, if still necessary, reopen. *** This issue has been marked as a duplicate of 20910 ***
This is a very different issue than 20910. That issue was in regards to vetoing an open in the IDE of a file which was already open in the external editor. This issue deals with removing the redundancy of having a tab in the otherwise empty source editor as well as having the file opened in the external editor. Right now, if I'm editing with gvim (or xemacs) and have 5 source files open, I've got 5 tabs in the NB editor. This issue deals with being able to suppress those, not with vetoing any opens.
Seems to me that the patch in issue 41291: http://www.netbeans.org/issues/showattachment.cgi?attach_id=14259 if modified to support null component, might solve this issue as well.
Reassigning to new module owner mslama.
The externaleditor module has been unsupported since the NetBeans 3.5 release. So the original reason this issue was opened is no longer a requirement. Unless someone has another reason unrelated to the original reason, this issue should be closed.