Lines Matching refs:popup_create

18 …let winid = popup_create('hello there', #{line: 3, col: 11, minwidth: 20, highlight: 'PopupColor1'…
19 …let winid2 = popup_create(['another one', 'another two', 'another three'], #{line: 3, col: 25, min…
28 call term_sendkeys(buf, ":let popupwin = popup_create(["
85 call popup_create('hello border', #{line: 2, col: 3, border: []})
86 call popup_create('hello padding', #{line: 2, col: 23, padding: []})
87 … call popup_create('hello both', #{line: 2, col: 43, border: [], padding: [], highlight: 'Normal'})
88 call popup_create('border TL', #{line: 6, col: 3, border: [1, 0, 0, 4]})
89 call popup_create('paddings', #{line: 6, col: 23, padding: range(1, 4)})
90 …call popup_create('wrapped longer text', #{line: 8, col: 55, padding: [0, 3, 0, 3], border: [0, 1,…
91 …call popup_create('right aligned text', #{line: 11, col: 56, wrap: 0, padding: [0, 3, 0, 3], borde…
92 call popup_create('X', #{line: 2, col: 73})
93 call popup_create('X', #{line: 3, col: 74})
94 call popup_create('X', #{line: 4, col: 75})
95 call popup_create('X', #{line: 5, col: 76})
113 call popup_create('hello border', #{line: 2, col: 3, border: [], borderhighlight: ['BlueColor']})
114 …call popup_create(['hello border', 'and more'], #{line: 2, col: 23, border: [], borderhighlight: […
115 …call popup_create(['hello border', 'lines only'], #{line: 2, col: 43, border: [], borderhighlight:…
116 …call popup_create(['hello border', 'with corners'], #{line: 2, col: 60, border: [], borderhighligh…
117 …let winid = popup_create(['hello border', 'with numbers'], #{line: 6, col: 3, border: [], borderhi…
118 …call popup_create(['hello border', 'just blanks'], #{line: 7, col: 23, border: [], borderhighlight…
120 …call popup_create(['hello'], #{line: 8, col: 43, border: [], borderchars: ['─', '│', '─', '│', '┌'…
153 let winid = popup_create('hello border', #{line: 2, col: 3, border: []})",
159 let winid = popup_create('hello padding', #{line: 2, col: 3, padding: []})
191 let winid = popup_create('hello both', #{line: 3, col: 8, border: [], padding: []})
215 let winid = popup_create([
239 let winid = popup_create([
262 let winid = popup_create([
290 let winid1 = popup_create(['first', 'second'], #{
298 let winid1 = popup_create(['First', 'SeconD'], #{
306 let winid1 = popup_create(['fiRSt', 'seCOnd'], #{
314 let winid1 = popup_create(['FIrsT', 'SEcoND'], #{
322 let winid1 = popup_create(['one', 'two'], #{
349 let winid1 = popup_create(['one', 'two'], #{
358 let winid1 = popup_create(['one', 'two', 'tee'], #{
368 let winid1 = popup_create(['one', 'two', 'tee'], #{
377 let winid1 = popup_create(['aaa', 'bbb', 'ccc', 'ddd', 'eee', 'fff'], #{
387 let winid1 = popup_create(['one', 'two'], #{
396 let winid1 = popup_create(['one', 'two', 'tee'], #{
406 let winid1 = popup_create(['one', 'two', 'tee', 'fou', 'fiv'], #{
415 let winid1 = popup_create(['aaa', 'bbb', 'ccc', 'ddd', 'eee', 'fff'], #{
436 …let winid = popup_create(['1111', '222222', '33333', '44', '5', '666666', '77777', '888', '9999999…
455 let winid = popup_create(['1111', '222222', '33333', '44444'], #{
464 let winid = popup_create(['xxx']->repeat(50), #{
499 let winid = popup_create(['xxx']->repeat(50), #{
520 let winid = popup_create(['1111', '222222', '33333', '44444'], #{
534 let winid = popup_create(['xxx']->repeat(50), #{
561 let winid = popup_create(['1111', '222222', '33333'], #{
612 let winid = popup_create(['1111', '2222'], #{
656 let winid = popup_create('foobar', #{
665 let winid = popup_create('notification', #{
671 let winid = popup_create('no border here', #{
676 let winid = popup_create('only padding', #{
691 let winid = popup_create('barfoo', #{
728 call popup_create([
761 let winid = popup_create([
775 call popup_create([
782 let winidb = popup_create([
826 call popup_create('test', #{mask: [[0, 0, 0, 0]]})
836 let opts = popup_create('', #{textprop: 'textprop'})
839 call popup_create('', opts)
857 …let winid = popup_create(['the word', 'some more', 'several words here', 'invisible', '5', '6', '7…
889 let winid = popup_create("text", {})
905 let winid = popup_create("text", #{tabpage: -1})
917 let winid = popup_create("text", #{tabpage: 1})
930 let winid = popup_create("text", #{col: 0})
937 let winid = popup_create("text", #{col: 'cursor-100'})
943 let winid = popup_create("text", #{pos: 'center'})
953 call assert_fails('call popup_create(666, {})', 'E86:')
955 call assert_fails('call popup_create("text", "none")', 'E715:')
957 call assert_fails('call popup_create(test_null_string(), {})', 'E450:')
958 call assert_fails('call popup_create(test_null_list(), {})', 'E450:')
961 call assert_fails('call popup_create("text", #{col: "xxx"})', 'E475:')
963 call assert_fails('call popup_create("text", #{col: "cursor8"})', 'E15:')
965 call assert_fails('call popup_create("text", #{col: "cursor+x"})', 'E15:')
967 call assert_fails('call popup_create("text", #{col: "cursor+8x"})', 'E15:')
970 call assert_fails('call popup_create("text", #{line: "xxx"})', 'E475:')
972 call assert_fails('call popup_create("text", #{line: "cursor8"})', 'E15:')
974 call assert_fails('call popup_create("text", #{line: "cursor+x"})', 'E15:')
976 call assert_fails('call popup_create("text", #{line: "cursor+8x"})', 'E15:')
979 call assert_fails('call popup_create("text", #{pos: "there"})', 'E475:')
981 call assert_fails('call popup_create("text", #{padding: "none"})', 'E714:')
983 call assert_fails('call popup_create("text", #{border: "none"})', 'E714:')
985 call assert_fails('call popup_create("text", #{borderhighlight: "none"})', 'E714:')
987 call assert_fails('call popup_create("text", #{borderhighlight: test_null_list()})', 'E714:')
989 call assert_fails('call popup_create("text", #{borderchars: "none"})', 'E714:')
992 call assert_fails('call popup_create([#{text: "text"}, 666], {})', 'E715:')
994 call assert_fails('call popup_create([#{text: "text", props: "none"}], {})', 'E714:')
996 call assert_fails('call popup_create([#{text: "text", props: ["none"]}], {})', 'E715:')
998 call assert_fails('call popup_create([#{text: "text", props: range(3)}], {})', 'E715:')
1000 call assert_fails('call popup_create("text", #{mask: ["asdf"]})', 'E475:')
1002 call assert_fails('call popup_create("text", #{mask: range(5)})', 'E475:')
1004 call popup_create("text", #{mask: [range(4)]})
1006 call assert_fails('call popup_create("text", #{mask: test_null_list()})', 'E475:')
1007 call assert_fails('call popup_create("text", #{mapping: []})', 'E745:')
1009 call assert_fails('call popup_create("text", #{tabpage : 4})', 'E997:')
1015 let winid = popup_create('some text', {})
1019 let winid = popup_create('some text', {})
1025 let winid = popup_create('some text', {})
1057 let winid = popup_create(
1075 let winid = popup_create(
1115 let winid = popup_create('world', #{
1135 call popup_create('on the command line', #{
1157 let winid = popup_create('world', #{
1203 let winid = popup_create('world', #{
1235 let winid = popup_create('hello', #{
1262 let winid = popup_create(test[0], #{line: 2, col: 3})
1277 let winid = popup_create(test[0],
1290 let winid = popup_create('hello', #{
1317 let winid = popup_create('hello', {})
1347 let winid = popup_create('hello', {})
1388 let winid = popup_create('vim', #{
1399 let winid = popup_create('vim', #{
1549 let winid = 'something'->popup_create(#{filter: 'MyPopupFilter'})
1589 let g:winid = popup_create(text, #{maxheight: 5, minwidth: 3, filter: 'invalidfilter'})
1607 let g:id = popup_create(lines, #{
1631 let g:id = popup_create(lines, #{
1659 let g:winid = popup_create('some text', {'filter': 'invalidfilter'})
1795 let winid = popup_create(['one', 'two', 'another'], #{title: 'Title String'})
1810 …call term_sendkeys(buf, ":call popup_create(['aaa', 'bbb'], #{title: 'Title', minwidth: 12, paddin…
1815 …call term_sendkeys(buf, ":call popup_create(['aaa', 'bbb'], #{title: 'Title', minwidth: 12, border…
1828 let winid = popup_create('something', #{title: 'Some Title'})
1840 let winid = popup_create('something', #{callback: 'PopupDone'})
1847 let winid = popup_create('', #{padding: [2,2,2,2]})
1854 let winid = popup_create([], #{border: []})
1882 call popup_create(['line1', 'line2', 'line3', 'line4'], #{
2023 let p = popup_create(text, options)
2039 let p = popup_create(X, #{line: 1, col: 1, wrap: 0})
2050 let p = popup_create(X, #{line: 1, col: &columns, wrap: 0})
2063 let p = popup_create(X, #{line: 1, col: 1, wrap: 0})
2074 let p = popup_create(X, #{line: 1, col: &columns - 3, wrap: 0})
2085 let p = popup_create(X,
2197 let winid = popup_create(['one', 'two', 'three', 'four', 'five',
2230 popup_create(text, {
2355 let winid = popup_create([
2370 let p = popup_create('test', opts)
2412 let id = popup_create('', #{ tabpage: 0 })
2417 let id = popup_create('', #{ tabpage: -1 })
2424 let id = popup_create('', #{ tabpage: 0 })
2428 let id = popup_create('', #{ tabpage: 0 })
2441 let winid = popup_create('text', #{hidden: 1})
2471 let winid = popup_create('some text', #{highlight: 'Beautiful'})
2495 let winid = popup_create('something', #{filter: function('MyPopupFilter', [{}])})
2517 let winid = popup_create('something', #{filter: 'MyPopupFilter', filtermode: 'nvi'})
2535 let winid = popup_create('something', #{filter: 'MyPopupFilter', filtermode: 'n'})
2552 let winid = popup_create('something', #{filter: 'MyPopupFilter'})
2579 let winid = popup_create(['short', 'long line that will wrap', 'other'], #{
2685 let winid = popup_create(buf, {})
2702 let winid = popup_create(bufnr(''), {})
2720 let winid = popup_create(termbuf, #{minwidth: 40, minheight: 10, border: []})
2753 call assert_fails('call popup_create(termbuf2, #{})', 'E861:')
2777 popup_create(buf, {})
2801 let winid = popup_create(bufnr, #{maxheight: 5, filter: 'BufferFilter'})
2812 let winid = popup_create(repeat(['short', 'long long long line', 'medium width'], 50), #{
2828 let winid = popup_create(buf, {})
2995 let winid = popup_create('some text', {})
2999 let winid = popup_create('some text', #{ cursorline: 1, })
3003 let winid = popup_create('some text', #{ cursorline: v:true, })
3007 let winid = popup_create('some text', #{ cursorline: 0, })
3027 call popup_create(['111', '222', '333'], #{ cursorline : 0 })
3039 call popup_create(['111', '222', '333'], #{ cursorline : 1 })
3111 let winid = popup_create(['111', '222', '333'], #{
3128 let winid = popup_create(bufnr('%'), #{
3142 var winid = popup_create('some text', { cursorline: true, })
3146 assert_fails("popup_create('some text', { cursorline: 2, })", 'E1023:')
3332 call popup_create([
3344 call popup_create([
3582 let win1 = popup_create('nothing', #{maxheight: 8})
3583 let win2 = popup_create('something', #{maxheight: 10})
3584 let win3 = popup_create('something', #{maxheight: 15})
3593 let win1 = popup_create('one', #{line: 5, filter: {... -> 0}})
3594 let win2 = popup_create('two', #{line: 10, filter: {... -> 0}})
3595 let win3 = popup_create('three', #{line: 15, filter: {... -> 0}})
3627 let id1 = popup_create('first one', #{
3632 let id2 = popup_create('second one', #{
3655 call popup_create('你好,世界 - 你好,世界xxxxx', #{line: 1, col: 3, maxwidth: 14})
3681 let winid = popup_create(['hello', 'bright', 'world'], {
3717 let popwin = popup_create(['blah'], #{})
3724 let popwin = popup_create(['blah'], #{})
3738 let winid = popup_create('', #{mapping: 0, filter: 'MyPopupFilter'})
3775 call popup_create('test test test test...', {'filter': {-> 0}})
3792 call popup_create('one two three...', {'filter': 'NoSuchFunc'})
3810 call popup_create('one two three...', {'filter': 'filter'})
3834 call popup_create(['one', 'two', 'three', 'four'], #{line: 1, col: 10})
3893 autocmd WinEnter * :call popup_create('test', {})
3917 let id = popup_create('TEST', #{textprop: 'textprop', highlight: 'ErrorMsg', tabpage: 1})
3934 let id = popup_create('TEST', #{textprop: 'textprop'})
3955 popup_create('attached to "some"', {
3964 popup_create('attached to "other"', {
3988 let id = popup_create("Some text", {})