]> granicus.if.org Git - vim/commitdiff
patch 8.1.1536: popup select test still fails on Mac v8.1.1536
authorBram Moolenaar <Bram@vim.org>
Sat, 15 Jun 2019 11:13:54 +0000 (13:13 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 15 Jun 2019 11:13:54 +0000 (13:13 +0200)
Problem:    Popup select test still fails on Mac.
Solution:   Set 'clipboard' to "autoselect"

src/testdir/test_popupwin.vim
src/version.c

index 79207c8b26bb307895033848dbddcfe52db376c5..be86fdc5466f7c2c993e5ba6d2052d29a0a96287 100644 (file)
@@ -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,
index 7d4d06d11332c0dcaf39d3f4f9ca645d869ab924..f379701ab0d38a93f379c4c1a44632e6cd53d24f 100644 (file)
@@ -777,6 +777,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1536,
 /**/
     1535,
 /**/