view runtime/macros/urm/urm @ 29263:8408ffd9af69 v8.2.5150

patch 8.2.5150: read past the end of the first line with ":0;'{" Commit: https://github.com/vim/vim/commit/f7c7c3fad6d2135d558f3b36d0d1a943118aeb5e Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 22 19:08:38 2022 +0100 patch 8.2.5150: read past the end of the first line with ":0;'{" Problem: Read past the end of the first line with ":0;'{". Solution: When on line zero check the column is valid for line one.
author Bram Moolenaar <Bram@vim.org>
date Wed, 22 Jun 2022 20:15:03 +0200
parents 3fc0f57ecb91
children
line wrap: on
line source

>0
>3
>4
>0
>0
>0
(a4;a5;s2)2; ((a2;s4)4; s3; (a1;a4;s5)5; (a5;s1)1)3. 
_________
O	; =xp ( =x%hp ) @l a @db s @dt . =x0xkdd:ready _end_
o	0 1 2 3 4 5 6 7 8 9 0
_________
INIT main(k), l, b, c, t, u, q, d 

"kT
"lT
"bT
"cT
"tT
"uT
"qT
"dT
=lF'wa/O
fpaw"zdt hp@z0"xD@x@k
=2ldwhp'wiGT'wp0P0"yD@ya =xlwP >0 =x%p I k/>0
ww"ydt 0D@y
'wa/o
fwF'wpi`ar`aF'wffp0"vD@v0"vDp03x@v'wa @c 0 0 0I f0w"wdt 0D@w
`ahmaF'wa  'aa1 > @b 0p0f>w"vdt 0D@v
'wa/o
wfbF'wpi`ar`aF'wffp0"vD@v0"vDp03x@v'wa @u 9 0 0I f9w"wdt 0D@w
`ahmaF'wa  `alr0 > @q 0p0f>w"vdt 0D@v
`ahy2l'wa  `ax >1 @t 0p0/>1
ww"idt 0D@i
=xwhpbldwhp'wpaG$ma0"yD@y@