Mercurial > vim
view src/libvterm/t/32state_flow.test @ 25139:7fa520b85244 v8.2.3106
patch 8.2.3106: Vim9: confusing line number reported for error
Commit: https://github.com/vim/vim/commit/6977dba04b68b91410585ada65079651788ca7dc
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 4 22:48:12 2021 +0200
patch 8.2.3106: Vim9: confusing line number reported for error
Problem: Vim9: confusing line number reported for error.
Solution: Use the start line number for the store instruction.
(closes #8488)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 04 Jul 2021 23:00:04 +0200 |
parents | dc88c690f19b |
children |
line wrap: on
line source
INIT WANTSTATE # Many of these test cases inspired by # https://blueprints.launchpad.net/libvterm/+spec/reflow-cases !Spillover text marks continuation on second line RESET PUSH "A"x100 PUSH "\r\n" ?lineinfo 0 = ?lineinfo 1 = cont !CRLF in column 80 does not mark continuation RESET PUSH "B"x80 PUSH "\r\n" PUSH "B"x20 PUSH "\r\n" ?lineinfo 0 = ?lineinfo 1 = !EL cancels continuation of following line RESET PUSH "D"x100 ?lineinfo 1 = cont PUSH "\eM\e[79G\e[K" ?lineinfo 1 =