Abandon marked text when switching IM
commitfd3c862e161e76311d2d8d4404694c3725d8f5d2
authorBjorn Winckler <bjorn.winckler@gmail.com>
Sun, 14 Feb 2010 16:25:25 +0000 (14 17:25 +0100)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Sun, 14 Feb 2010 16:25:25 +0000 (14 17:25 +0100)
treea7f102ab86e1b7040be3ca2ff80fe2bff976d022
parent8f152867e1c6afbe7acab90072a3bd442c652c17
Abandon marked text when switching IM

This fixes a bug with Chinese IM where pressing "o" in normal mode would
cause Vim to start a new line and then insert "o" into the text.  With
this patch the "o" is no longer inserted.
src/MacVim/MMBackend.m
src/MacVim/MMTextViewHelper.m
src/mbyte.c