Problem: Cursor on invalid line with range and :substitute.
Solution: Do not move the cursor when skipping commands. (closes #3434)
{
linenr_T joined_lines_count;
+ if (eap->skip)
+ return;
curwin->w_cursor.lnum = eap->line1;
if (*cmd == 'l')
eap->flags = EXFLAG_LIST;
call assert_fails("for x in 99", 'E714:')
call assert_fails("for x in 'asdf'", 'E714:')
call assert_fails("for x in {'a': 9}", 'E714:')
+
+ if 0
+ /1/5/2/s/\n
+ endif
+ redraw
endfunc
func Test_readfile_binary()
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2425,
/**/
2424,
/**/