Mercurial > vim
view src/testdir/test_curswant.vim @ 31107:86c628c39931 v9.0.0888
patch 9.0.0888: MS-Windows GUI: CTRL-] does not work on Swiss keyboard
Commit: https://github.com/vim/vim/commit/f10952e8c0b94bae58742f147d6779998d189892
Author: Aedin Louis Xavier <mmxael@gmail.com>
Date: Wed Nov 16 12:02:28 2022 +0000
patch 9.0.0888: MS-Windows GUI: CTRL-] does not work on Swiss keyboard
Problem: MS-Windows GUI: CTRL-] does not work on Swiss keyboard.
Solution: Check the key code and don't consider it as a dead key. (Aedin
Louis Xavier, closes #11556)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 16 Nov 2022 13:15:04 +0100 |
parents | 08940efa6b4e |
children |
line wrap: on
line source
" Tests for curswant not changing when setting an option func Test_curswant() new call append(0, ['1234567890', '12345']) normal! ggf8j call assert_equal(7, winsaveview().curswant) let &tabstop=&tabstop call assert_equal(4, winsaveview().curswant) normal! ggf8j call assert_equal(7, winsaveview().curswant) let &timeoutlen=&timeoutlen call assert_equal(7, winsaveview().curswant) normal! ggf8j call assert_equal(7, winsaveview().curswant) let &ttimeoutlen=&ttimeoutlen call assert_equal(7, winsaveview().curswant) enew! endfunc " vim: shiftwidth=2 sts=2 expandtab