comparison src/ex_cmds.c @ 39:410fa1a31baf v7.0023

updated for version 7.0023
author vimboss
date Sun, 19 Dec 2004 22:46:22 +0000
parents 7f788cd27415
children f1d2a58883b9
comparison
equal deleted inserted replaced
38:c524f99c7925 39:410fa1a31baf
3597 *cmd++ = NUL; /* replace it with a NUL */ 3597 *cmd++ = NUL; /* replace it with a NUL */
3598 break; 3598 break;
3599 } 3599 }
3600 if (cmd[0] == '\\' && cmd[1] != 0) /* skip escaped characters */ 3600 if (cmd[0] == '\\' && cmd[1] != 0) /* skip escaped characters */
3601 ++cmd; 3601 ++cmd;
3602 #ifdef FEAT_MBYTE 3602 mb_ptr_adv(cmd);
3603 if (has_mbyte)
3604 cmd += (*mb_ptr2len_check)(cmd);
3605 else
3606 #endif
3607 ++cmd;
3608 } 3603 }
3609 3604
3610 if (!eap->skip) 3605 if (!eap->skip)
3611 { 3606 {
3612 vim_free(old_sub); 3607 vim_free(old_sub);
4496 if (global_need_beginline) 4491 if (global_need_beginline)
4497 beginline(BL_WHITE | BL_FIX); 4492 beginline(BL_WHITE | BL_FIX);
4498 else 4493 else
4499 check_cursor(); /* cursor may be beyond the end of the line */ 4494 check_cursor(); /* cursor may be beyond the end of the line */
4500 4495
4496 /* the cursor may not have moved in the text but a change in a previous
4497 * line may move it on the screen */
4498 changed_line_abv_curs();
4499
4501 /* If it looks like no message was written, allow overwriting the 4500 /* If it looks like no message was written, allow overwriting the
4502 * command with the report for number of changes. */ 4501 * command with the report for number of changes. */
4503 if (msg_col == 0 && msg_scrolled == 0) 4502 if (msg_col == 0 && msg_scrolled == 0)
4504 msg_didout = FALSE; 4503 msg_didout = FALSE;
4505 4504