1,What steps will reproduce the problem?
Use any Chinese input under linux with UliPad, Input something, do not
commit and type "BACKSPACE".
It will delete the editor contents not the IM string.
2,What is the expected output? What do you see instead?
Delete IM string then editor contents.
3,What version of the product are you using? On what operating system?
Any under linux.
4,Please provide any additional information below.
It is a issue of stc/scintilla implementation of wxGTK.
It eat the "BackSpace" directly if you use STC_CMD_DELETEBACK.
here is a dirty patch to handle it.
really dirty, but works.
Do not bind "BackSpace" key with STC_CMD_DELETEBACK.
Let it behaviour like a normal char, then add a condition in OnChar func.
When we catch the STC_KEY_BACK, then execute DELETEBACK and return.
It seems works just like expected, hope so.
Any way, works:-
Original issue reported on code.google.com by cjac...@gmail.com on 23 Dec 2008 at 6:07
Original issue reported on code.google.com by
cjac...@gmail.com
on 23 Dec 2008 at 6:07Attachments: