comparison src/gui_w32.c @ 30986:360f286b5869 v9.0.0828

patch 9.0.0828: various typos Commit: https://github.com/vim/vim/commit/c57b5bcd22826e0852c2bc9c7d4382e1cac7cb74 Author: dundargoc <gocdundar@gmail.com> Date: Wed Nov 2 13:30:51 2022 +0000 patch 9.0.0828: various typos Problem: Various typos. Solution: Correct typos. (closes https://github.com/vim/vim/issues/11432)
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Nov 2022 14:45:11 +0100
parents 47332719dbb5
children d63bb3fa9939
comparison
equal deleted inserted replaced
30985:25894f29103e 30986:360f286b5869
1971 dead_key = DEAD_KEY_OFF; 1971 dead_key = DEAD_KEY_OFF;
1972 1972
1973 if (dead_key != DEAD_KEY_OFF) 1973 if (dead_key != DEAD_KEY_OFF)
1974 { 1974 {
1975 /* 1975 /*
1976 * Expell the dead key pressed with Ctrl in a special way. 1976 * Expel the dead key pressed with Ctrl in a special way.
1977 * 1977 *
1978 * After dead key was pressed with Ctrl in some cases, ESC was 1978 * After dead key was pressed with Ctrl in some cases, ESC was
1979 * artificially injected and handled by _OnChar(), now we are 1979 * artificially injected and handled by _OnChar(), now we are
1980 * dealing with completely new key press from the user. If we don't 1980 * dealing with completely new key press from the user. If we don't
1981 * do anything, ToUnicode() call will interpret this vk+scan_code 1981 * do anything, ToUnicode() call will interpret this vk+scan_code
2158 || (vk == 220 && scan_code == 41) // QWERTZ CTRL+dead_circumflex 2158 || (vk == 220 && scan_code == 41) // QWERTZ CTRL+dead_circumflex
2159 ) 2159 )
2160 ) 2160 )
2161 { 2161 {
2162 // post WM_CHAR='[' - which will be interpreted with CTRL 2162 // post WM_CHAR='[' - which will be interpreted with CTRL
2163 // stil hold as ESC 2163 // still hold as ESC
2164 PostMessageW(msg.hwnd, WM_CHAR, '[', msg.lParam); 2164 PostMessageW(msg.hwnd, WM_CHAR, '[', msg.lParam);
2165 // ask _OnChar() to not touch this state, wait for next key 2165 // ask _OnChar() to not touch this state, wait for next key
2166 // press and maintain knowledge that we are "poisoned" with 2166 // press and maintain knowledge that we are "poisoned" with
2167 // "dead state" 2167 // "dead state"
2168 dead_key = DEAD_KEY_TRANSIENT_IN_ON_CHAR; 2168 dead_key = DEAD_KEY_TRANSIENT_IN_ON_CHAR;