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.
Summary: | I18N - editor ignores fontsize option | ||
---|---|---|---|
Product: | editor | Reporter: | kaa <kaa> |
Component: | Settings | Assignee: | Vitezslav Stejskal <vstejskal> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | jpokorsky, kfrank |
Priority: | P2 | Keywords: | I18N |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | image |
Description
kaa
2008-09-08 17:08:14 UTC
Created attachment 69338 [details]
image
It belongs to beans/src/org/netbeans/modules/beans/beaninfo/CustomCodeEditor.java That is true, CustomCodeEditor.java as a custom editor comes from the beans module. But the beans module provides only JEdirorPane to edit code. The font size of editor content is not controlled with --fontsize option. It is driven by editor settings (Tools Options). Control buttons and the dialog are provided by the property sheet implementation. Reassigning back to openide. Ok and Cancel buttons provided by property sheet are correct, see the screenshot and bug description. the problem is JEditorPane from beans module is not initialized with correct font size. feel free to reassign to java editor if you think it's their fault OK, then it is an editor bug. The option is ignored by every editor (JEditorPane), not just property editors. This is due to rewrite to the new editor settings. I'll check whether we could detect whether the font was not changed by user in the options yet and in such case use what the fontsize option specifies. I think I know how to fix this. Integrated into 'main-golden', will be available in build *200809221401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a98bdf11af55 User: Vita Stejskal <vstejskal@netbeans.org> Log: #146541: fixing the editor to pick up value of the --fontsize commandline option verified |