Bug 179607 - Show extra characters when editing java source
Summary: Show extra characters when editing java source
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse   
(Show other bugs)
Version: 5
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Andrew Overholt
QA Contact:
URL: https://www.redhat.com/archives/fedor...
Depends On:
TreeView+ depends on / blocked
Reported: 2006-02-01 16:57 UTC by Smart Kenny
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-03 16:17:32 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Smart Kenny 2006-02-01 16:57:55 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

Description of problem:
When I try to edit a java source code:

For eclipse installed from eclipse.org, it will show an extra character beside each quote (") and each semicolon (;).

For eclipse included in FC5 test2, it has no syntax highlight at all (but it has no extra character problem).

I tested it on both gij and sun-jdk 1.5.0_06.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Open a java file
2.Put string in a method: String s = "test";


Actual Results:  For eclipse from eclipse.org, it shows: String s = #"test"#;#
Here the # denotes a square character.

Expected Results:  Show String s = "test";
Not String s = #"test"#;#

Additional info:

It has not an exception occured. There's maybe some bugs for eclipse's editor component with FC5 system. Jedit and Netbeans had no such problem when editing source codes.

Comment 1 Andrew Overholt 2006-02-01 17:03:38 UTC
Yeah, I think this might be a gtk bug.  Matthias?

Comment 2 Matthias Clasen 2006-02-01 17:17:04 UTC
There was a pango bug for a while where it would show special unicode characters
like RLM. That should all be fixed now, I think. Does this still happen with
pango 1.11.3 ?

Comment 3 Smart Kenny 2006-02-01 17:51:48 UTC
Thanks for your information, I updated the pango, and now eclipse behaves quite
well. Thank you guys.

Comment 4 Andrew Overholt 2006-02-01 18:49:36 UTC
(In reply to comment #3)
> Thanks for your information, I updated the pango, and now eclipse behaves quite
> well. Thank you guys.

Cool.  Can you close this now?

Comment 5 Andrew Overholt 2006-02-03 16:17:32 UTC

Note You need to log in before you can comment on or make changes to this bug.