view src/testdir/test_preview.vim @ 18720:7f066dff9d70 v8.1.2351

patch 8.1.2351: 'wincolor' not used for > for not fitting double width char Commit: https://github.com/vim/vim/commit/92e25ab2df03756bbb8523cf871db29fe8819c13 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 26 22:39:10 2019 +0100 patch 8.1.2351: 'wincolor' not used for > for not fitting double width char Problem: 'wincolor' not used for > for not fitting double width char. Also: popup drawn on right half of double width character looks wrong. Solution: Adjust color for > character. Clear left half of double width character if right half is being overwritten.
author Bram Moolenaar <Bram@vim.org>
date Tue, 26 Nov 2019 22:45:04 +0100
parents 5e36b2f825cb
children 068337e86133
line wrap: on
line source

" Tests for the preview window

func Test_Psearch()
  " this used to cause ml_get errors
  help
  let wincount = winnr('$')
  0f
  ps.
  call assert_equal(wincount + 1, winnr('$'))
  pclose
  call assert_equal(wincount, winnr('$'))
  bwipe
endfunc