File tree Expand file tree Collapse file tree 5 files changed +91
-0
lines changed Expand file tree Collapse file tree 5 files changed +91
-0
lines changed Original file line number Diff line number Diff line change
1
+ |o+0&#ffffff0|n|e| |t|w|o| |t|h|r|e@1| |f|o|u|r| |f|i|v|e| @51
2
+ |a|n|d| |o|n|e| |t|w|o| |X|t|h|r|e@1| |f|o|u|r| |f|i|v|e| @46
3
+ |o|n|e| |m|o|r|e| |t|w| +0#0000001#ffd7ff255|U|n|d|o| @12| +0#0000000#ffffff0@45
4
+ |~+0#4040ff13&| @9| +0#0000001#ffd7ff255@17| +0#4040ff13#ffffff0@45
5
+ |~| @9| +0#0000001#ffd7ff255|P|a|s|t|e| @11| +0#4040ff13#ffffff0@45
6
+ |~| @9| +0#0000001#ffd7ff255@17| +0#4040ff13#ffffff0@45
7
+ |~| @9| +0#0000001#ffd7ff255|S|e|l|e|c|t| |W|o|r|d| @5| +0#4040ff13#ffffff0@45
8
+ |~| @9| +0#0000001#ffd7ff255|S|e|l|e|c|t| |S|e|n|t|e|n|c|e| @1| +0#4040ff13#ffffff0@45
9
+ |~| @9| +0#0000001#ffd7ff255|S|e|l|e|c|t| |P|a|r|a|g|r|a|p|h| | +0#4040ff13#ffffff0@45
10
+ |~| @9| +0#0000001#ffd7ff255|S|e|l|e|c|t| |L|i|n|e| @5| +0#4040ff13#ffffff0@45
11
+ |~| @9| +0#0000001#ffd7ff255|S|e|l|e|c|t| |B|l|o|c|k| @4| +0#4040ff13#ffffff0@45
12
+ |~| @9| +0#0000001#ffd7ff255|S|e|l|e|c|t| |A|l@1| @6| +0#4040ff13#ffffff0@45
13
+ |~| @73
14
+ |~| @73
15
+ |~| @73
16
+ |~| @73
17
+ |~| @73
18
+ |~| @73
19
+ |~| @73
20
+ |:+0#0000000&|p|o|p|u|p| |P|o|p|U|p| @34|:| @8> @17
Original file line number Diff line number Diff line change
1
+ |o+0&#ffffff0|n|e| |t|w|o| |t|h|r|e@1| |f|o|u|r| |f|i|v|e| @51
2
+ |a|n|d| |o|n|e| |t|w|o| >X|t|h|r|e@1| |f|o|u|r| |f|i|v|e| @46
3
+ |o|n|e| |m|o|r|e| |t|w| +0#0000001#ffd7ff255|U|n|d|o| @12| +0#0000000#ffffff0@45
4
+ |~+0#4040ff13&| @9| +0#0000001#ffd7ff255@17| +0#4040ff13#ffffff0@45
5
+ |~| @9| +0#0000001#e0e0e08|P|a|s|t|e| @11| +0#4040ff13#ffffff0@45
6
+ |~| @9| +0#0000001#ffd7ff255@17| +0#4040ff13#ffffff0@45
7
+ |~| @9| +0#0000001#ffd7ff255|S|e|l|e|c|t| |W|o|r|d| @5| +0#4040ff13#ffffff0@45
8
+ |~| @9| +0#0000001#ffd7ff255|S|e|l|e|c|t| |S|e|n|t|e|n|c|e| @1| +0#4040ff13#ffffff0@45
9
+ |~| @9| +0#0000001#ffd7ff255|S|e|l|e|c|t| |P|a|r|a|g|r|a|p|h| | +0#4040ff13#ffffff0@45
10
+ |~| @9| +0#0000001#ffd7ff255|S|e|l|e|c|t| |L|i|n|e| @5| +0#4040ff13#ffffff0@45
11
+ |~| @9| +0#0000001#ffd7ff255|S|e|l|e|c|t| |B|l|o|c|k| @4| +0#4040ff13#ffffff0@45
12
+ |~| @9| +0#0000001#ffd7ff255|S|e|l|e|c|t| |A|l@1| @6| +0#4040ff13#ffffff0@45
13
+ |~| @73
14
+ |~| @73
15
+ |~| @73
16
+ |~| @73
17
+ |~| @73
18
+ |~| @73
19
+ |~| @73
20
+ |:+0#0000000&|p|o|p|u|p| |P|o|p|U|p| @34|:| @8| @17
Original file line number Diff line number Diff line change
1
+ |o+0&#ffffff0|n|e| |t|w|o| |t|h|r|e@1| |f|o|u|r| |f|i|v|e| @51
2
+ |a|n|d| |o|n|e| |t|w|o| |X+0&#e0e0e08|t|h|r|e@1> +0&#ffffff0|f|o|u|r| |f|i|v|e| @46
3
+ |o|n|e| |m|o|r|e| |t|w|o| |t|h|r|e@1| |f|o|u|r| |f|i|v|e| @46
4
+ |~+0#4040ff13&| @73
5
+ |~| @73
6
+ |~| @73
7
+ |~| @73
8
+ |~| @73
9
+ |~| @73
10
+ |~| @73
11
+ |~| @73
12
+ |~| @73
13
+ |~| @73
14
+ |~| @73
15
+ |~| @73
16
+ |~| @73
17
+ |~| @73
18
+ |~| @73
19
+ |~| @73
20
+ |-+2#0000000&@1| |V|I|S|U|A|L| |-@1| +0&&@34|7| @8|2|,|1|9| @9|A|l@1|
Original file line number Diff line number Diff line change @@ -786,4 +786,33 @@ func Test_popup_position()
786
786
call delete (' Xtest' )
787
787
endfunc
788
788
789
+ func Test_popup_command ()
790
+ if ! CanRunVimInTerminal () || ! has (' menu' )
791
+ return
792
+ endif
793
+
794
+ call writefile ([
795
+ \ ' one two three four five' ,
796
+ \ ' and one two Xthree four five' ,
797
+ \ ' one more two three four five' ,
798
+ \ ], ' Xtest' )
799
+ let buf = RunVimInTerminal (' Xtest' , {})
800
+ call term_sendkeys (buf , " :source $VIMRUNTIME/menu.vim\<CR> " )
801
+ call term_sendkeys (buf , " /X\<CR> :popup PopUp\<CR> " )
802
+ call VerifyScreenDump (buf , ' Test_popup_command_01' , {})
803
+
804
+ " Select a word
805
+ call term_sendkeys (buf , " jj" )
806
+ call VerifyScreenDump (buf , ' Test_popup_command_02' , {})
807
+
808
+ " Select a word
809
+ call term_sendkeys (buf , " j\<CR> " )
810
+ call VerifyScreenDump (buf , ' Test_popup_command_03' , {})
811
+
812
+ call term_sendkeys (buf , " \<Esc> " )
813
+ call StopVimInTerminal (buf )
814
+ call delete (' Xtest' )
815
+ endfunc
816
+
817
+
789
818
" vim: shiftwidth = 2 sts = 2 expandtab
Original file line number Diff line number Diff line change @@ -766,6 +766,8 @@ static char *(features[]) =
766
766
767
767
static int included_patches [] =
768
768
{ /* Add new patch number below this line */
769
+ /**/
770
+ 1578 ,
769
771
/**/
770
772
1577 ,
771
773
/**/
You can’t perform that action at this time.
0 commit comments