# HG changeset patch # User Bram Moolenaar # Date 1560597306 -7200 # Node ID 89753fdfab8533a7c1d2e43dc2dd770ab8d23ae9 # Parent f948bd505764a7cf00f9b2f0fe05c8790b62aedd patch 8.1.1536: popup select test still fails on Mac commit https://github.com/vim/vim/commit/1755ec4278ee6dccdbb8030fd5a4cf6054211f81 Author: Bram Moolenaar Date: Sat Jun 15 13:13:54 2019 +0200 patch 8.1.1536: popup select test still fails on Mac Problem: Popup select test still fails on Mac. Solution: Set 'clipboard' to "autoselect" diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim --- a/src/testdir/test_popupwin.vim +++ b/src/testdir/test_popupwin.vim @@ -328,6 +328,7 @@ func Test_popup_select() endif " create a popup with some text to be selected let lines =<< trim END + set clipboard=autoselect call setline(1, range(1, 20)) let winid = popup_create(['the word', 'some more', 'several words here'], { \ 'drag': 1, diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -778,6 +778,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1536, +/**/ 1535, /**/ 1534,