view src/glbl_ime.h @ 25511:a6eea433586b v8.2.3292

patch 8.2.3292: underscore in very magic pattern causes a hang Commit: https://github.com/vim/vim/commit/bc67e5a0a494f5fc48e872d747371e31a782d171 Author: Christian Brabandt <cb@256bit.org> Date: Thu Aug 5 15:24:59 2021 +0200 patch 8.2.3292: underscore in very magic pattern causes a hang Problem: Underscore in very magic pattern causes a hang. Pattern with \V are case sensitive. (Yutao Yuan) Solution: Adjust condition for magicness and advance pointer. (Christian Brabandt, closes #8707, closes #8704, closes #8705)
author Bram Moolenaar <Bram@vim.org>
date Thu, 05 Aug 2021 15:30:04 +0200
parents 6e3dc2d630c2
children
line wrap: on
line source

/* vi:set ts=8 sts=4 sw=4 noet:
 *
 * VIM - Vi IMproved		by Bram Moolenaar
 *
 * Do ":help uganda"  in Vim to read copying and usage conditions.
 * Do ":help credits" in Vim to see a list of people who contributed.
 */

#ifdef GLOBAL_IME
# ifndef _INC_GLOBAL_IME
#  define _INC_GLOBAL_IME

#  ifdef __cplusplus
extern "C" {
#  endif
    void global_ime_init(ATOM, HWND);
    void global_ime_end(void);
    LRESULT WINAPI global_ime_DefWindowProc(HWND, UINT, WPARAM, LPARAM);
    BOOL WINAPI global_ime_TranslateMessage(CONST MSG *);
    void WINAPI global_ime_set_position(POINT*);
    void WINAPI global_ime_set_font(LOGFONT*);
#  if 0
    void WINAPI global_ime_status_evacuate(void);
    void WINAPI global_ime_status_restore(void);
#  endif
    void WINAPI global_ime_set_status(int status);
    int WINAPI global_ime_get_status(void);
#  ifdef __cplusplus
}
#  endif

# endif // _INC_GLOBAL_IME
#endif // GLOBAL_IME