view src/libvterm/t/46screen_extent.test @ 19481:c27837cbe922 v8.2.0298

patch 8.2.0298: Vim9 script: cannot start command with a string constant Commit: https://github.com/vim/vim/commit/0c6ceaf90389b41545d803458c4813013811c756 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 22 18:36:32 2020 +0100 patch 8.2.0298: Vim9 script: cannot start command with a string constant Problem: Vim9 script: cannot start command with a string constant. Solution: Recognize expression starting with '('.
author Bram Moolenaar <Bram@vim.org>
date Sat, 22 Feb 2020 18:45:04 +0100
parents b8299e742f41
children
line wrap: on
line source

INIT
WANTSCREEN 

!Bold extent
RESET
PUSH "AB\e[1mCD\e[mE"
  ?screen_attrs_extent 0,0 = 0,0-1,1
  ?screen_attrs_extent 0,1 = 0,0-1,1
  ?screen_attrs_extent 0,2 = 0,2-1,3
  ?screen_attrs_extent 0,3 = 0,2-1,3
  ?screen_attrs_extent 0,4 = 0,4-1,79