comparison src/gui_mac.c @ 13950:741b1feeac9f v8.0.1845

patch 8.0.1845: various comment updates needed, missing white space commit https://github.com/vim/vim/commit/259f26ac2d41ecfb28b82c651b2bfc1edc7c3e29 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 15 22:25:40 2018 +0200 patch 8.0.1845: various comment updates needed, missing white space Problem: Various comment updates needed, missing white space. Solution: Update comments, add white space.
author Christian Brabandt <cb@256bit.org>
date Tue, 15 May 2018 22:30:07 +0200
parents 69517d67421f
children aab5947be7c5
comparison
equal deleted inserted replaced
13949:a607f9751fee 13950:741b1feeac9f
59 59
60 #ifdef MACOS_CONVERT 60 #ifdef MACOS_CONVERT
61 # define USE_CARBONKEYHANDLER 61 # define USE_CARBONKEYHANDLER
62 62
63 static int im_is_active = FALSE; 63 static int im_is_active = FALSE;
64 #if 0 64 # if 0
65 /* TODO: Implement me! */ 65 /* TODO: Implement me! */
66 static int im_start_row = 0; 66 static int im_start_row = 0;
67 static int im_start_col = 0; 67 static int im_start_col = 0;
68 #endif 68 # endif
69 69
70 #define NR_ELEMS(x) (sizeof(x) / sizeof(x[0])) 70 # define NR_ELEMS(x) (sizeof(x) / sizeof(x[0]))
71 71
72 static TSMDocumentID gTSMDocument; 72 static TSMDocumentID gTSMDocument;
73 73
74 static void im_on_window_switch(int active); 74 static void im_on_window_switch(int active);
75 static EventHandlerUPP keyEventHandlerUPP = NULL; 75 static EventHandlerUPP keyEventHandlerUPP = NULL;
6241 * Notify cursor position to IM. 6241 * Notify cursor position to IM.
6242 */ 6242 */
6243 void 6243 void
6244 im_set_position(int row, int col) 6244 im_set_position(int row, int col)
6245 { 6245 {
6246 #if 0 6246 # if 0
6247 /* TODO: Implement me! */ 6247 /* TODO: Implement me! */
6248 im_start_row = row; 6248 im_start_row = row;
6249 im_start_col = col; 6249 im_start_col = col;
6250 #endif 6250 # endif
6251 } 6251 }
6252 6252
6253 static ScriptLanguageRecord gTSLWindow; 6253 static ScriptLanguageRecord gTSLWindow;
6254 static ScriptLanguageRecord gTSLInsert; 6254 static ScriptLanguageRecord gTSLInsert;
6255 static ScriptLanguageRecord gTSLDefault = { 0, 0 }; 6255 static ScriptLanguageRecord gTSLDefault = { 0, 0 };