Mercurial > vim
annotate src/glbl_ime.h @ 10636:3db97def0f35 v8.0.0208
patch 8.0.0208: internally used commands end up in history
commit https://github.com/vim/vim/commit/25b0e6b701a7a8dfcb4f60e217360a5c75053d8c
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 20 21:51:53 2017 +0100
patch 8.0.0208: internally used commands end up in history
Problem: Internally used commands for CTRL-Z and mouse click end up in
history. (Matthew Malcomson)
Solution: Use do_cmdline_cmd() instead of stuffing them in the readahead
buffer. (James McCoy, closes #1395)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 20 Jan 2017 22:00:05 +0100 |
parents | 4aead6a9b7a9 |
children | 6e3dc2d630c2 |
rev | line source |
---|---|
10042
4aead6a9b7a9
commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents:
378
diff
changeset
|
1 /* vi:set ts=8 sts=4 sw=4 noet: |
7 | 2 * |
3 * VIM - Vi IMproved by Bram Moolenaar | |
4 * | |
5 * Do ":help uganda" in Vim to read copying and usage conditions. | |
6 * Do ":help credits" in Vim to see a list of people who contributed. | |
7 */ | |
8 | |
9 #ifdef GLOBAL_IME | |
10 #ifndef _INC_GLOBAL_IME | |
11 #define _INC_GLOBAL_IME | |
12 | |
13 #ifdef __cplusplus | |
14 extern "C" { | |
15 #endif /* __cplusplus */ | |
16 void global_ime_init(ATOM, HWND); | |
344 | 17 void global_ime_end(void); |
7 | 18 LRESULT WINAPI global_ime_DefWindowProc(HWND, UINT, WPARAM, LPARAM); |
19 BOOL WINAPI global_ime_TranslateMessage(CONST MSG *); | |
20 void WINAPI global_ime_set_position(POINT*); | |
21 void WINAPI global_ime_set_font(LOGFONT*); | |
378 | 22 #if 0 |
344 | 23 void WINAPI global_ime_status_evacuate(void); |
24 void WINAPI global_ime_status_restore(void); | |
378 | 25 #endif |
7 | 26 void WINAPI global_ime_set_status(int status); |
344 | 27 int WINAPI global_ime_get_status(void); |
7 | 28 #ifdef __cplusplus |
29 } | |
30 #endif /* __cplusplus */ | |
31 | |
32 #endif /* _INC_GLOBAL_IME */ | |
33 #endif /* GLOBAL_IME */ |