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.
Move the initialization of CsmFileTaskFactoryManager and other classes to a later time, when CND functionality is really needed. Initializing it in ModuleInstall is premature and negatively influence performance of those who have CND pack enabled, but don't work on CND projects right now.
Created attachment 91608 [details] Patch which makes the test pass To learn more about whitelist tests see: http://wiki.netbeans.org/FitnessViaWhiteAndBlackList
*** Bug 164684 has been marked as a duplicate of this bug. ***
There is no infrastructure in Editor to lazily attach EditorRegistry listeners => have to use module install()
Why not initialize the listener when your dataobject is created or editor kit is loaded? There cannot be any C/C++/Fortran document until your data objects and kits or projects are created, can it?
Tentatively suggesting 6.9 milestone.
Tracking few more classes in http://hg.netbeans.org/ergonomics/rev/461c2d054c62
Hi, Jaroslav, VV0:Thanks for chaning to 6.9, forgot that Next have another meaning... VV1: (In reply to comment #4) > Why not initialize the listener when your dataobject is created or editor kit > is loaded? There cannot be any C/C++/Fortran document until your data objects > and kits or projects are created, can it? I don't like such approach, sorry. DataLoaders are placed in one module, editor staff is in other and CsmFileTaskFactoryManager are in the third place. Will not introduce interdependency, sorry. + your approach doesn't work if someone likes to write external plug-in => it is workaround, not a solution. so, VV1: I'd prefer to have support in editor see issue http://www.netbeans.org/issues/show_bug.cgi?id=173002
replaced installer by fake higlighting layer factory (looks like there is no interest to fix issue #173002) http://hg.netbeans.org/cnd-main?cmd=changeset;node=5ecab55fc765
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/ User: Log: