File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9496,6 +9496,9 @@ nv_put(cap)
94969496 {
94979497 curbuf -> b_visual .vi_start = curbuf -> b_op_start ;
94989498 curbuf -> b_visual .vi_end = curbuf -> b_op_end ;
9499+ /* need to adjust cursor position */
9500+ if (* p_sel == 'e' )
9501+ inc (& curbuf -> b_visual .vi_end );
94999502 }
95009503
95019504 /* When all lines were selected and deleted do_put() leaves an empty
Original file line number Diff line number Diff line change 210210:-2yank
211211$v$p
212212:$put ='---'
213+ :
214+ :$put =''
215+ :$put ='gv in exclusive select mode after operation'
216+ :$put ='zzz '
217+ :$put ='äà '
218+ :set selection=exclusive
219+ kv3lyjv3lpgvcxxx
220+ :$put ='---'
221+ :
222+ :$put =''
223+ :$put ='gv in exclusive select mode without operation'
224+ :$put ='zzz '
225+ :set selection=exclusive
226+ 0v3lgvcxxx
227+ :$put ='---'
213228:/^start:/+2,$w! test.out
214229:q!
215230ENDTEST
Original file line number Diff line number Diff line change 112112aaa
113113
114114---
115+
116+ gv in exclusive select mode after operation
117+ zzz
118+ xxx
119+ ---
120+
121+ gv in exclusive select mode without operation
122+ xxx
123+ ---
Original file line number Diff line number Diff line change @@ -741,6 +741,8 @@ static char *(features[]) =
741741
742742static int included_patches [] =
743743{ /* Add new patch number below this line */
744+ /**/
745+ 929 ,
744746/**/
745747 928 ,
746748/**/
You can’t perform that action at this time.
0 commit comments