view src/testdir/test_balloon_gui.vim @ 18323:72a0dbe1c004 v8.1.2156

patch 8.1.2156: first character after Tab is not highlighted Commit: https://github.com/vim/vim/commit/9115c611dbd3e4abab583eade6888421f66077e7 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 16 16:57:06 2019 +0200 patch 8.1.2156: first character after Tab is not highlighted Problem: First character after Tab is not highlighted. Solution: Remember the syntax attribute for a column.
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Oct 2019 17:00:03 +0200
parents 45eca7143d7c
children 08940efa6b4e
line wrap: on
line source

" Tests for 'ballooneval' in the GUI.

source check.vim
CheckGui
CheckFeature balloon_eval

func Test_balloon_show_gui()
  let msg = 'this this this this'
  call balloon_show(msg)
  call assert_equal(msg, balloon_gettext())
  sleep 10m
  call balloon_show('')

  let msg = 'that that'
  eval msg->balloon_show()
  call assert_equal(msg, balloon_gettext())
  sleep 10m
  call balloon_show('')
endfunc