Mercurial > vim
view 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 |
line wrap: on
line source
/* gui_xim.c */ char *did_set_imactivatefunc(optset_T *args); char *did_set_imstatusfunc(optset_T *args); void free_xim_stuff(void); int set_ref_in_im_funcs(int copyID); void im_set_active(int active); void xim_set_focus(int focus); void im_set_position(int row, int col); void xim_set_preedit(void); int im_get_feedback_attr(int col); void xim_init(void); void im_shutdown(void); int im_xim_isvalid_imactivate(void); void xim_reset(void); int xim_queue_key_press_event(GdkEventKey *event, int down); int im_get_status(void); int preedit_get_status(void); int im_is_preediting(void); void xim_set_status_area(void); int xim_get_status_area_height(void); /* vim: set ft=c : */