Patch 8.2.4844
Problem: <C-S-I> is simplified to <S-Tab>.
Solution: Do not simplify CTRL if there is also SHIFT. (closes #10313)
Files: src/getchar.c, src/testdir/test_gui.vim
*** ../vim-8.2.4843/src/getchar.c 2022-04-28 14:09:56.075947128 +0100
--- src/getchar.c 2022-04-29 11:01:00.614740696 +0100
***************
*** 1634,1640 ****
{
int c = c_arg;
! if (*modifiers & MOD_MASK_CTRL)
{
if ((c >= '`' && c <= 0x7f) || (c >= '@' && c <= '_'))
{
--- 1634,1640 ----
{
int c = c_arg;
! if ((*modifiers & MOD_MASK_CTRL) && !(*modifiers & MOD_MASK_SHIFT))
{
if ((c >= '`' && c <= 0x7f) || (c >= '@' && c <= '_'))
{
*** ../vim-8.2.4843/src/testdir/test_gui.vim 2022-04-03 18:01:39.659574455
+0100
--- src/testdir/test_gui.vim 2022-04-29 11:01:00.618740687 +0100
***************
*** 1560,1563 ****
--- 1560,1569 ----
bw!
endfunc
+ func Test_gui_CTRL_V()
+ call feedkeys(":let g:str = '\<C-V>\<*C-S-I>\<C-V>\<*C-S-@>'\<CR>", 'tx')
+ call assert_equal('<C-S-I><C-S-@>', g:str)
+ unlet g:str
+ endfunc
+
" vim: shiftwidth=2 sts=2 expandtab
*** ../vim-8.2.4843/src/version.c 2022-04-28 19:50:48.158411708 +0100
--- src/version.c 2022-04-29 11:03:14.410462563 +0100
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 4844,
/**/
--
>From "know your smileys":
:-) Funny
|-) Funny Oriental
(-: Funny Australian
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220429100841.6593E1C0255%40moolenaar.net.