Hello, I checked a diff between VIM 7.1.330 and VIM 7.2a.10. The changes in mbyte.c below caused the cursor problem. The old code was problematic for the Japanese? im_preedit_start_cb set the im_is_active, but im_preedit_end_cb should not reset it? Hmm... Don't know what's wrong there in VIM side... I hope this cursor color problem be fixed (by reverting the change or any other way...).
Regards, namsh diff --git a/src/mbyte.c b/src/mbyte.c index 4e90593..fec13aa 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -3692,7 +3692,7 @@ im_preedit_end_cb(GtkIMContext *context, gpointer data) preedit_start_col = MAXCOL; xim_has_preediting = FALSE; -#if 0 +#if 1 /* Removal of this line suggested by Takuhiro Nishioka. Fixes that IM was * switched off unintentionally. */ im_is_active = FALSE; SungHyun Nam wrote: > Hello, > > I noticed the Cursor and CursorIM color is not displayed correctly in > VIM 7.2a. > VIM 7.1.xxx (Last xxx was 330) worked as expected. > > For the VIM 7.2a; > 1. run gvim -> 'Cursor' color > 2. type 'i' -> 'Cursor' color > 3. type imak (s-space) -> 'CursorIM' color > I can input Hangul.. > 4. type imak (s-space) again -> oops! 'CursorIM' color yet.. :-( > But, I can input English.. > VIM 7.1 shows 'Cursor' color. > > Through 2 to 4 stage, command-line window(?) always shows '-- INSERT --'. > > And, now.. > > 5. type ESC -> 'Cursor' color > 6. type 'i' -> 'CursorIM' color, but I can input English. > And now, command-line window shows '-- IM INSERT --'. > > Cursor color is important to distinguish current input language. > > I always build VIM from CVS and build options was not changed. > And I tried to change the CFLAGS as: > s/-Os -march=i686 -fomit-frame-pointer -fno-strict-aliasing -pthread/-O0/g > The result was same. The cygwin is very recent version (I updated a few > weeks ago). --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---