[SS-125] Chinese words input

[SS-125] Chinese words input - Messages

#1 Posted: 7/10/2012 9:09:03 AM
wbrwbr2012

wbrwbr2012

1 likes in 2 posts.

Group: User

Thanks for the great application. Since it seems that I have no rights to post on other forums, I have to post an issue here. I apologize if it bothers you.
I am Chinese. So when I play with Smath, I'd like to insert text region with Chinese words. But every time I enter a Chinese word, I always get the text region with the words doubled after clicking the Enter key. For example, I want to input the words "中国", so I switch to use some Chinese word input method, after choosing the correct words in the input method panel, I hit the "Enter" key, and Smath gets "中国中国". Hope I have explained the issue clearly.
Thanks very much.
#2 Posted: 4/22/2014 10:20:30 PM
wbrwbr2012

wbrwbr2012

1 likes in 2 posts.

Group: User

Perhaps I'm the only Chinese person on the forum. I am still annoyed with this issue. So I tried to find the solution. Accidentally I get one post from other forum. It has nothing to do with Smath. But I'd like to give description.

Inherit a custom control from the Control class, and overload OnKeyPress event, When you enter text using Chinese input method,the OnKeyPress event will be triggered twice. The reason is that after the OnKeyPress treatment, there is no set for e.Handled = true;
This attribute value indicates whether you get and handle this event. If not set, the system will trigger the event again.

Hope this help.

1 users liked this post
Davide Carpi 4/23/2014 3:53:00 AM
#3 Posted: 4/23/2014 7:00:12 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

Hello, wbrwbr2012

I've reproduced your issue with the on-screen keyboard and I've added the bug in the BTS (Bug Tracking System) as SS-125

To augment the visibility of this bug you can vote it (you need a new registration in the BTS, violet button on the top of this page)


Best regards,

Davide
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#4 Posted: 11/22/2015 9:43:45 PM
Noah

Noah

0 likes in 2 posts.

Group: User

This bug is still exist on Windows 8/8.1/10 when I use Microsoft IME to input Chinese.
Smath Studio version:0.97.5737
  • New Posts New Posts
  • No New Posts No New Posts