File tree Expand file tree Collapse file tree 4 files changed +24
-1
lines changed
Expand file tree Collapse file tree 4 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -2643,7 +2643,7 @@ op_insert(oap, count1)
26432643
26442644 /* The user may have moved the cursor before inserting something, try
26452645 * to adjust the block for that. */
2646- if (oap -> start .lnum == curbuf -> b_op_start .lnum )
2646+ if (oap -> start .lnum == curbuf -> b_op_start .lnum && ! bd . is_MAX )
26472647 {
26482648 if (oap -> op_type == OP_INSERT
26492649 && oap -> start .col != curbuf -> b_op_start .col )
Original file line number Diff line number Diff line change @@ -23,6 +23,18 @@ G$khhhhhkkcmno
2323/^aaaa/
2424:exe ":norm! l\<C-V>jjjlllI\<Right>\<Right> \<Esc>"
2525:/^aa/,/^$/w >> test.out
26+ :" Test for Visual block was created with the last <C-v>$
27+ /^A23$/
28+ :exe ":norm! l\<C-V>j$Aab\<Esc>"
29+ :.,/^$/w >> test.out
30+ :" Test for Visual block was created with the middle <C-v>$ (1)
31+ /^B23$/
32+ :exe ":norm! l\<C-V>j$hAab\<Esc>"
33+ :.,/^$/w >> test.out
34+ :" Test for Visual block was created with the middle <C-v>$ (2)
35+ /^C23$/
36+ :exe ":norm! l\<C-V>j$hhAab\<Esc>"
37+ :.,/^$/w >> test.out
2638:" gUe must uppercase a whole word, also when � changes to SS
2739Gothe youtu�euu endYpk0wgUe
2840:" gUfx must uppercase until x, inclusive.
@@ -49,6 +61,15 @@ bbbbbb
4961cccccc
5062dddddd
5163
64+ A23
65+ 4567
66+
67+ B23
68+ 4567
69+
70+ C23
71+ 4567
72+
5273abcdefghijklm
5374abcdefghijklm
5475abcdefghijklm
Original file line number Diff line number Diff line change @@ -738,6 +738,8 @@ static char *(features[]) =
738738
739739static int included_patches [] =
740740{ /* Add new patch number below this line */
741+ /**/
742+ 99 ,
741743/**/
742744 98 ,
743745/**/
You can’t perform that action at this time.
0 commit comments