bug??

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

bug??

Postby civmil » Mon Feb 21, 2005 7:34 pm

:evil: Image
civmil
 
Posts: 5
Joined: Mon Feb 21, 2005 5:37 pm

Re: bug??

Postby Eric Clayberg » Mon Feb 21, 2005 9:37 pm

civmil wrote:bug??

What "bug" are you referring to?

I see a text widget containing two unicode characters in the design view, and the decoded unicode values for those characters in the property pane. Assuming the characters were decoded correctly, that is what I would expect to see.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

??

Postby civmil » Tue Feb 22, 2005 8:06 pm

:evil: Image
Image
civmil
 
Posts: 5
Joined: Mon Feb 21, 2005 5:37 pm

Re: ??

Postby Eric Clayberg » Wed Feb 23, 2005 5:00 am

I still don't see what "bug" you are referring to. The string shown in the call to setText() appears to be the proper unicode encoding of the charactees shown in the design view. That is what I would expect to see.

If you have an actual question or comment, please post that here. Posting cryptic pictures with no explanation of what the problem might be doesn't help. I don't see anything abnormal or unexpected in any of those pictures. Non-ascii characters will show up as escaped unicode characters within the Java source.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

new explain

Postby civmil » Wed Feb 23, 2005 4:42 pm

:oops: Sorry,My English no good.I think that Non-ascii characters should be shown in the design view ,the same as in the Java source and property pane. for example, "你好" shown in the design view, the same "你好" shown in Java source and property pane.
civmil
 
Posts: 5
Joined: Mon Feb 21, 2005 5:37 pm

Re: new explain

Postby Eric Clayberg » Wed Feb 23, 2005 9:00 pm

civmil wrote::oops: Sorry,My English no good.I think that Non-ascii characters should be shown in the design view ,the same as in the Java source and property pane. for example, "你好" shown in the design view, the same "你好" shown in Java source and property pane.

If you open the same file in the standard Eclipse Java Editor, what do you see?

Do you see the actual non-ascii characters or do you see the escaped unicode sequences?
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

I think that code has bug.

Postby civmil » Thu Feb 24, 2005 2:24 am

I still see the escaped unicode sequences.
It happened that I input "你好" to "test" in the property pane.
Please test it in Chinese WindowsXP platform.I think that your input code
of property pane has bug . After input the actual non-ascii characters,it become to escaped unicode sequences.But, After input the actual non-ascii characters in Java source,I can see the actual non-ascii characters in the property pane and design view.
civmil
 
Posts: 5
Joined: Mon Feb 21, 2005 5:37 pm

Re: I think that code has bug.

Postby Eric Clayberg » Thu Feb 24, 2005 7:56 pm

civmil wrote:I still see the escaped unicode sequences.
It happened that I input "你好" to "test" in the property pane.
Please test it in Chinese WindowsXP platform.I think that your input code
of property pane has bug.

It definitely isn't a bug as it was specifcally designed to work that way (to show the excaped unicode character in edit mode).

civmil wrote:After input the actual non-ascii characters,it become to escaped unicode sequences.But, After input the actual non-ascii characters in Java source,I can see the actual non-ascii characters in the property pane and design view.

It shows the actual characters in display mode and the escaped unicode characters in edit mode.

A new v3.0.1 build is available that won't show the escaped characters in edit mode within the property pane.

The Java source will still show the excaped characters as that is how the Java source editor is designed to work.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Ok,very nice job

Postby civmil » Thu Feb 24, 2005 8:23 pm

:D Now it is same as other Chinese edition software, think you.
civmil
 
Posts: 5
Joined: Mon Feb 21, 2005 5:37 pm


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest