mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.0-209
This commit is contained in:
parent
38323e4f4a
commit
454ec05a47
@ -2410,6 +2410,8 @@ py_fix_cursor(int lo, int hi, int extra)
|
||||
curwin->w_cursor.lnum = lo;
|
||||
check_cursor();
|
||||
}
|
||||
else
|
||||
check_cursor_col();
|
||||
changed_cline_bef_curs();
|
||||
}
|
||||
invalidate_botline();
|
||||
@ -2487,6 +2489,10 @@ SetBufferLine(buf_T *buf, int n, PyObject *line, int *len_change)
|
||||
|
||||
curbuf = savebuf;
|
||||
|
||||
/* Check that the cursor is not beyond the end of the line now. */
|
||||
if (buf == curwin->w_buffer)
|
||||
check_cursor_col();
|
||||
|
||||
if (PyErr_Occurred() || VimErrorCheck())
|
||||
return FAIL;
|
||||
|
||||
|
@ -666,6 +666,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
209,
|
||||
/**/
|
||||
208,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user