From: 王强 <cnw...@gm...> - 2009-03-16 08:44:59
|
first of all, sorry for my poor English and thanks for the great work of Kile. in the latest eventfilter.cpp I saw this code below: *if* (e->type() == QEvent::InputMethod) { QInputMethodEvent *ime = (QInputMethodEvent*) e; *// Only single chars, please. ime->commitString() holds the non-latex unicode character string * *if* (ime->commitString().size() == 1) { *// Extract unicode representation: * uchar rep = uchar(ime->commitString().at(0).unicode()); KILE_DEBUG() << *"string= "*<< ime->commitString().at(0) << *" dec= "*<< rep; *return* m_edit->insertLatexFromUnicode(rep, m_view); } } I can not really understand what's the code for. but what I know is with the code there,I can not input Chinese single word into Kile any more, like "的","你" or ",", that makes Kile totally useless for all the people who need input Chinese (at least) . So is that a bug? -- BR wesley.wang |