diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-12-29 20:58:21 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-12-29 20:58:21 +0000 |
commit | 81695250ef1bbc02016078044ac268129a33f333 (patch) | |
tree | c31ec7182b5b06ffeb5a14b79701127eaa5c0dc8 /src/mbyte.c | |
parent | 86b68359978c933419279e599d0a8cf536095d77 (diff) | |
download | vim-git-81695250ef1bbc02016078044ac268129a33f333.tar.gz |
updated for version 7.0026
Diffstat (limited to 'src/mbyte.c')
-rw-r--r-- | src/mbyte.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mbyte.c b/src/mbyte.c index 8b997af0c..2278de626 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -4341,6 +4341,7 @@ xim_set_focus(focus) } } +#ifndef FEAT_GUI_KDE /*ARGSUSED*/ void im_set_position(row, col) @@ -4349,6 +4350,7 @@ im_set_position(row, col) { xim_set_preedit(); } +#endif /* * Set the XIM to the current cursor position. @@ -4642,7 +4644,7 @@ xim_set_status_area() #endif } -#if defined(FEAT_GUI_X11) || defined(FEAT_GUI_GTK) +#if defined(FEAT_GUI_X11) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE) static char e_xim[] = N_("E285: Failed to create input context"); #endif @@ -5414,7 +5416,7 @@ xim_get_status_area_height() if (xim_input_style & (int)GDK_IM_STATUS_AREA) return gui.char_height; #elif defined FEAT_GUI_KDE -#warning FIXME + /* always return zero? */ #else if (status_area_enabled) return gui.char_height; @@ -5435,6 +5437,10 @@ im_get_status() if (xim_input_style & (int)GDK_IM_PREEDIT_CALLBACKS) return xim_can_preediting; # endif +# ifdef FEAT_GUI_KDE + if (preedit_start_col != MAXCOL) + return TRUE; +# endif return xim_has_focus; } |