Improve IM support for 10.5
commit9b7642b300a83cf7ade9e3cda1def917794b736e
authorBjorn Winckler <bjorn.winckler@gmail.com>
Sat, 18 Jul 2009 22:25:32 +0000 (19 00:25 +0200)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Sat, 8 Aug 2009 19:55:28 +0000 (8 21:55 +0200)
treeaf5d739f9c6438a1b4f1aa89784bd0bb1163460b
parenta0e42bc74c67aa2110d617654c4aeb89715246cf
Improve IM support for 10.5

When using "set noimd" remember which input source was used in normal
mode separately from the input source used in insert mode.  This way it
is possible to e.g. use a US layout in normal mode and a non-US layout
in insert mode.

The input source used in normal mode must be ASCII capable or it won't
be remembered -- any input source used in insert mode is remembered.

On 10.4 the IM code is unchanged because 10.4 does not support the Text
Input Source Services.
src/MacVim/MMAtsuiTextView.h
src/MacVim/MMAtsuiTextView.m
src/MacVim/MMTextView.h
src/MacVim/MMTextView.m
src/MacVim/MMTextViewHelper.h
src/MacVim/MMTextViewHelper.m
src/MacVim/MMVimController.m