Jens Petersen writes:
I was wondering if m17n-lib could somehow handle the fallback to preedit rather than having to implement two sets of input logic in the input map (one for surrounding text and one for without). For example
Having two sets of input logic may seem redundant, but perhaps it is inevitable.
si-wijesekera.mim currently still assumes surrounding text and so doesn't work in KDE or XIM apps.
I have written a preedit version of si-wijesekera recently. It is now being tested by Sinhala users in Sri Lanka. The preedit version and the surrounding text version use different algorithms to get the same result.
Thanks, Jens