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.
Install CVS support from Dev AUC. Open a versioned project. Change a source and a form. Source editor tab becomes green while form's tab stays black. Expected bahaviour: form's tab becomes green too. See issue #57900.
It seems to me more a request to integrate some support for CVS than a defect. So, please, suggest a patch that should be made (it is not clear from the description of the issue).
See issue #57900. Copy&paste from DataEditorSupport.
Please, provide justification when you change attributes of the issue (reverting back to ENHANCEMENT). > Copy&paste from DataEditorSupport. Could you, please, provide more details? What should I copy and where? Not sure why should I copy anything from DataEditorSupport because FormEditorSupport extends it.
It's in CVS support UI specification <http://ui.netbeans.org/nonav/docs/hi/promoF/vcs-spec.html> I do not have clue about form internals. Anyway you need to listen on Filesystem and consult it's HtmlStatus while setting TopComponent display name.
Look for: "The same colors are used in editor tab labels."
In method getMVTCDisplayName(), you have to pick the name you're enhancing with "[ro]" and "*" from the node, not from the data object. The best would be to just delegate to the text editor part of the multiview instead of doing the work yourself, as the DataEditorSupport already does all that enhancements to the display name.
Fixed.
VERIFIED