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.
Editor options have been transferred to XML form. Please, transfer your options to XML also in accordance with: http://editor.netbeans.org/doc/Proposals/XMLSettings/UsersView.html#install [You can found more info in the editor module sources (layer.xml). Other modules that already transferred the options: properties, jsp ...] affected class:org.netbeans.modules.xml.text.TextEditModuleInstall
I like layer based registrations. Unfortunately correct fix is blocked by issue 25207. Mato could you look at it please.
*** Issue 25126 has been marked as a duplicate of this issue. ***
* Synchronized abbreviation list representations in java (text/syntax/XMLSettingsInitializer.java) with XML versions (text/resources/XMLEditor-abbreviations.xml, text/resources/DTDEditor-abbreviations.xml). * Removed one obsolete XML macro. [Fixed in main trunk.]
Petr, Martin, please, could review and test changes. Thanks.
Created attachment 6761 [details] Proposed patch (against release34 branch).
Code Review: I see it is moved to "declarative" registrations. However addInitializer() in text-edit module installer retained. But is it an editor bug :-). I agree with the patch because it also solves problems with abbreviations.
Could you please recheck the patch you attached here? It seems to have a bit more stuff than just moving options registration. Removing whitespace from an XML file? Various other whitespace changes? Light gray to gray? A cleaner, trimmed patch would inspire more confidence from reviewers that it is safe. If there are other changes you want to make for 3.4, e.g. in abbreviations, they must be filed and announced separately with separate justifications.
Sorry to confuse you. Whitespace change, color change and map registrations changes all are necessary. Reason is that all values are defined twice: once in Java and once in a XML file. Both must be present and values must match.
Verified in the maintrunk build from 18.07. The options are not loaded during the startup anymore. Thanks.
Fix also in release34 branch.
VERIFIED
Resolved for 3.4.x or earlier, no new info since then -> closing.