News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

How to switch input method between half-width and full-width using shift

Started by kipade, November 24, 2017, 09:44:18 AM

Previous topic - Next topic

oBFusCATed

You'll have to explain what half-width and full-width are. Then we could probably answer the question.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

ollydbg

I believe the OP are using some kinds of Chinese input method, there for example, if we press the "dot" key. In half-width mode, it enters an English version of a dot character, while in full-width mode, it enter a Chinese version of "dot", which occupy the double width of the English version.

So, what's exact problem do you have? @kipade
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

kipade

Yes. If the Chinese input method (SCIM for example) was actived to input Chinese characters, the shift key will switch between Chinese and English characters output quickly.
However, this feature is good for normal text control, except the code edit view.
I checked, its due to wxScintilla.

oBFusCATed

Can you try if this works in the latest wxwidgets master branch? There is a stc sample which can be used to test this.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

kipade

Quote from: oBFusCATed on November 25, 2017, 03:23:18 PM
Can you try if this works in the latest wxwidgets master branch? There is a stc sample which can be used to test this.
I tried, and found it does not work too.

oBFusCATed

Then report it as a problem in the wxwidgets bug tracker. When they implement it will take it.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]


ollydbg

Is the issue happens when you using other IM frameworks such as ibus or fcitx for Chinese input?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.