comparison src/proto/gui_xim.pro @ 31996:ca6bc7c04163 v9.0.1330

patch 9.0.1330: handling new value of an option has a long "else if" chain Commit: https://github.com/vim/vim/commit/af93691b53f38784efce0b93fe7644c44a7e382e Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Mon Feb 20 12:16:39 2023 +0000 patch 9.0.1330: handling new value of an option has a long "else if" chain Problem: Handling new value of an option has a long "else if" chain. Solution: Use a function pointer. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/12015)
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Feb 2023 13:30:05 +0100
parents 8b15e4161605
children
comparison
equal deleted inserted replaced
31995:95971aa5e525 31996:ca6bc7c04163
1 /* gui_xim.c */ 1 /* gui_xim.c */
2 char *set_imactivatefunc_option(void); 2 char *did_set_imactivatefunc(optset_T *args);
3 char *set_imstatusfunc_option(void); 3 char *did_set_imstatusfunc(optset_T *args);
4 void free_xim_stuff(void); 4 void free_xim_stuff(void);
5 int set_ref_in_im_funcs(int copyID); 5 int set_ref_in_im_funcs(int copyID);
6 void im_set_active(int active); 6 void im_set_active(int active);
7 void xim_set_focus(int focus); 7 void xim_set_focus(int focus);
8 void im_set_position(int row, int col); 8 void im_set_position(int row, int col);