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.

Bug 53395 - There is no font settings for Properties Editor (when using OPEN menu option)
Summary: There is no font settings for Properties Editor (when using OPEN menu option)
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@utilities
URL:
Keywords: I18N, UI
Depends on:
Blocks:
 
Reported: 2005-01-14 06:09 UTC by kcwong
Modified: 2005-02-08 16:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kcwong 2005-01-14 06:09:03 UTC
When editing properties, the context menu UI
provides two methods: 

(1) Right-click on properties file and select Open. 
This opens a special editor, editing all defined
locales at the same time. 

(2) Right-click on one of the defined locale and
select Edit.
This opens an editor similar to the source editor,
editing one locale at a time.


When I use (2) to edit properties files, I can
change the font used in
Tools|Options|Editing|Editor Settings|Properies
Editor, so it can display Chinese characters
correctly. However, this editor does not convert
Chinese characters into Unicode escapes.

When I use (1) to edit properties files, I cannot
find any font settings for it. I changed all font
settings for all editors to SimHei, but any
Chinese characters are still displayed as boxes.
It does convert them into Unicode escapes
correctly though.

So either I use an external editor to type Chinese
(so I can see what I have typed), then
copy-n-paste them into (1), or turn the Chinese
text into Unicode escapes myself and use either
(1) or (2).

Could a font setting be added for (1)?
Comment 1 Ondrej Rypacek 2005-01-14 09:52:02 UTC
Reproduced.
The editor in (1) should probably use the option
"Tools|Options|Editing|Editor Settings|Properies
Editor" for (2). 
Comment 2 Marian Petras 2005-02-08 13:58:27 UTC
See also enhancement #32392 - "Edit Text Rather than Escape Sequences".
Comment 3 Ondrej Rypacek 2005-02-08 16:17:08 UTC
fixed as described - the font setting in /Options/Editing/Editor
Settings/Properties Editor is used in the table editor invoked by "Open"

Checked in:
rev 1.2 of
properties/syntax/src/org/netbeans/modules/properties/syntax/EditorSettingsCopy.java
rev 1.2. of
properties/src/org/netbeans/modules/properties/TableViewSettings.java
rev 1.60 of
properties/src/org/netbeans/modules/properties/BundleEditPanel.java