Hi all,
Reading the recent post by Artur, I feel obliged to share what I have been doing to support IME in wxWidgets.
My main interest is to support IME in wxStyledTextCtrl, since the lack of support for IME renders all the wxSTC-based text editors inappropriate for editing Japanese text.
The following platforms are currently supported:
MSW (via the classic IMM32), OSX/Cocoa, and GTK.
The work-in-progress branch is available here:
https://github.com/minoki/wxWidgets/commits/experimental-ime-support
(Note: This branch is subject to force-push and don't rely on it.)
Demo:
https://vimeo.com/211472594
What I have done so far:
- Define some classes and events to handle IME. (Though the interface is rather messy and needs to be redesigned)
- Implement the IME-related events for each platform (MSW/OSX/GTK).
- Let wxSTC handle IME through the new API. (This is relatively easy because the recent Scintilla has support for 'inline IME')
What remains to be done:
- Advanced IME support.
- Let wxRichTextCtrl handle IME.
I have little time to work on this, but I hope that some functionality could be merged in before wxWidgets 3.2.
Regards,
ARATA Mizuki