U++ framework
Do not panic. Ask here before giving up.

Home » Community » U++ community news and announcements » IME improved support
Re: IME improved support [message #58135 is a reply to message #58134] Sun, 27 February 2022 09:52 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Oblivion wrote on Sun, 27 February 2022 09:39
Hello Mirek,

Thank you very much for this improvement.
My question is: how are we going to activate or use the preedit in our apps or widgets? (I'd like to test it)


Best regards,
Oblivion


Well, reastically, there are just 4 widgets with text input right now - EditField, LineEdit, DocEdit and RichText. All of them have what counts as "full support" and it works out of box.

If you want to develop your own widget with IME support, well, if it shows Caret, you will have IME (because default implementation of GetPreedit returns caret position). The only thing you eventually need to add is CancelMyPreedit here and there to cancel composition on some actions (e.g. cursor moved).
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: String::Make - new way how to create a small string fast
Next Topic: FileSel::FileCtrl
Goto Forum:
  


Current Time: Sun Jun 21 20:31:17 GMT+2 2026

Total time taken to generate the page: 0.00554 seconds