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 188110 - garbage characters in editor using static function
Summary: garbage characters in editor using static function
Status: CLOSED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-26 07:12 UTC by realitylord
Modified: 2010-07-16 14:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
This is how code looks in editor without keyword "static" (4.92 KB, image/jpeg)
2010-07-16 14:12 UTC, realitylord
Details
This is what is shown in editor if I add keyword "static" to the same function. (5.60 KB, image/jpeg)
2010-07-16 14:13 UTC, realitylord
Details

Note You need to log in before you can comment on or make changes to this bug.
Description realitylord 2010-06-26 07:12:45 UTC
Product Version = NetBeans IDE 6.9 (Build 201006101454)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

I'm using Netbeans 6.9 for php. In editor if I type for example public function someName() {} everything is ok.
But, if I type public static function someName() {} then someName() consists of just garbage characters
Comment 1 rmatous 2010-07-16 14:02:25 UTC
I don't understand the description, please describe the other way
Comment 2 realitylord 2010-07-16 14:12:48 UTC
Created attachment 100886 [details]
This is how code looks in editor without keyword "static"
Comment 3 realitylord 2010-07-16 14:13:54 UTC
Created attachment 100887 [details]
This is what is shown in editor if I add keyword "static" to the same function.
Comment 4 realitylord 2010-07-16 14:17:53 UTC
Ok, I added two screen shoots that shows what's happens when I try to declare some function as static.

I must mention that this happens on both of my computers (one is win xp and other is Win 7), I upgraded jre to 6u21 yesterday, but situation is the same.
I'm from Croatia, and settings on both of my computers are for Croatia (keyboard layout, regional settings etc), maybe this can help somehow?

Have a nice day
Comment 5 realitylord 2010-07-16 14:43:38 UTC
Well, it seems that this is font issue :( my bad.
I where using Envy Code R font, and static function name was rendered using Italic+Bold font style. It seems that my font of choice does not have bold italic characters. I switched to Consolas, and everything is ok now.
Sorry for false alarm :)
Have a nice day.