Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: kipade on November 24, 2017, 09:44:18 am

Title: How to switch input method between half-width and full-width using shift
Post by: kipade on November 24, 2017, 09:44:18 am
As the topic.
How?
Title: Re: How to switch input method between half-width and full-width using shift
Post by: oBFusCATed on November 24, 2017, 10:35:46 am
You'll have to explain what half-width and full-width are. Then we could probably answer the question.
Title: Re: How to switch input method between half-width and full-width using shift
Post by: ollydbg on November 24, 2017, 03:11:56 pm
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
Title: Re: How to switch input method between half-width and full-width using shift
Post by: kipade on November 25, 2017, 02:49:12 pm
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.
Title: Re: How to switch input method between half-width and full-width using shift
Post by: 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.
Title: Re: How to switch input method between half-width and full-width using shift
Post by: kipade on November 26, 2017, 01:06:22 am
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.
Title: Re: How to switch input method between half-width and full-width using shift
Post by: oBFusCATed on November 26, 2017, 04:21:23 pm
Then report it as a problem in the wxwidgets bug tracker. When they implement it will take it.
Title: Re: How to switch input method between half-width and full-width using shift
Post by: kipade on November 27, 2017, 04:23:06 am
Thanks.
Title: Re: How to switch input method between half-width and full-width using shift
Post by: ollydbg on November 27, 2017, 03:47:52 pm
Is the issue happens when you using other IM frameworks such as ibus or fcitx for Chinese input?