view src/libvterm/t/46screen_extent.test @ 17638:9ffec4eb8d33 v8.1.1816

patch 8.1.1816: cannot use a user defined function as a method commit https://github.com/vim/vim/commit/fcfe1a9b8950b8b211ab3b24d84b17c6847ea43f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 4 23:04:39 2019 +0200 patch 8.1.1816: cannot use a user defined function as a method Problem: Cannot use a user defined function as a method. Solution: Pass the base as the first argument to the user defined function after "->". (partly by FUJIWARA Takuya)
author Bram Moolenaar <Bram@vim.org>
date Sun, 04 Aug 2019 23:15:05 +0200
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