comparison src/testdir/test_regexp_latin.vim @ 26843:1e3c49c09260 v8.2.3950

patch 8.2.3950: going beyond the end of the line with /%V Commit: https://github.com/vim/vim/commit/94f3192b03ed27474db80b4d3a409e107140738b Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 30 15:29:18 2021 +0000 patch 8.2.3950: going beyond the end of the line with /\%V Problem: Going beyond the end of the line with /\%V. Solution: Check for valid column in getvcol().
author Bram Moolenaar <Bram@vim.org>
date Thu, 30 Dec 2021 16:30:04 +0100
parents 48d6f187e9c0
children 6f43253463cc
comparison
equal deleted inserted replaced
26842:df509756e36d 26843:1e3c49c09260
1051 exe "norm 0o\<Esc>\<C-V>k\<C-X>o0" 1051 exe "norm 0o\<Esc>\<C-V>k\<C-X>o0"
1052 /\%V 1052 /\%V
1053 bwipe! 1053 bwipe!
1054 endfunc 1054 endfunc
1055 1055
1056 func Test_using_invalid_visual_position()
1057 " this was going beyond the end of the line
1058 new
1059 exe "norm 0o000\<Esc>0\<C-V>$s0"
1060 /\%V
1061 bwipe!
1062 endfunc
1063
1056 " vim: shiftwidth=2 sts=2 expandtab 1064 " vim: shiftwidth=2 sts=2 expandtab