Mercurial > vim
comparison src/testdir/test_execute_func.vim @ 18763:49b78d6465e5 v8.1.2371
patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Commit: https://github.com/vim/vim/commit/05ad5ff0ab34ed9a5296dedd420ca81698b8ce22
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 30 22:48:27 2019 +0100
patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Problem: FEAT_TEXT_PROP is a confusing name.
Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes https://github.com/vim/vim/issues/5291)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Nov 2019 23:00:05 +0100 |
parents | f254dd2bc107 |
children | 068337e86133 |
comparison
equal
deleted
inserted
replaced
18762:19582783e5ad | 18763:49b78d6465e5 |
---|---|
88 call setline(1, 'the new window') | 88 call setline(1, 'the new window') |
89 call win_gotoid(thiswin) | 89 call win_gotoid(thiswin) |
90 let line = win_execute(otherwin, 'echo getline(1)') | 90 let line = win_execute(otherwin, 'echo getline(1)') |
91 call assert_match('the new window', line) | 91 call assert_match('the new window', line) |
92 | 92 |
93 if has('textprop') | 93 if has('popupwin') |
94 let popupwin = popup_create('the popup win', {'line': 2, 'col': 3}) | 94 let popupwin = popup_create('the popup win', {'line': 2, 'col': 3}) |
95 redraw | 95 redraw |
96 let line = 'echo getline(1)'->win_execute(popupwin) | 96 let line = 'echo getline(1)'->win_execute(popupwin) |
97 call assert_match('the popup win', line) | 97 call assert_match('the popup win', line) |
98 | 98 |