Skip to content
Snippets Groups Projects
Commit 454ec05a authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

updated for version 7.0-209

parent 38323e4f
No related branches found
No related tags found
No related merge requests found
...@@ -2410,6 +2410,8 @@ py_fix_cursor(int lo, int hi, int extra) ...@@ -2410,6 +2410,8 @@ py_fix_cursor(int lo, int hi, int extra)
curwin->w_cursor.lnum = lo; curwin->w_cursor.lnum = lo;
check_cursor(); check_cursor();
} }
else
check_cursor_col();
changed_cline_bef_curs(); changed_cline_bef_curs();
} }
invalidate_botline(); invalidate_botline();
...@@ -2487,6 +2489,10 @@ SetBufferLine(buf_T *buf, int n, PyObject *line, int *len_change) ...@@ -2487,6 +2489,10 @@ SetBufferLine(buf_T *buf, int n, PyObject *line, int *len_change)
curbuf = savebuf; 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()) if (PyErr_Occurred() || VimErrorCheck())
return FAIL; return FAIL;
......
...@@ -666,6 +666,8 @@ static char *(features[]) = ...@@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
209,
/**/ /**/
208, 208,
/**/ /**/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment