Mercurial > vim
comparison src/if_python.c @ 1083:1d12208efb37 v7.0.209
updated for version 7.0-209
author | vimboss |
---|---|
date | Thu, 08 Mar 2007 09:20:28 +0000 |
parents | 8fd2e00c44ae |
children | 23aeaff96141 |
comparison
equal
deleted
inserted
replaced
1082:342d2b3a072a | 1083:1d12208efb37 |
---|---|
2408 else if (extra < 0) | 2408 else if (extra < 0) |
2409 { | 2409 { |
2410 curwin->w_cursor.lnum = lo; | 2410 curwin->w_cursor.lnum = lo; |
2411 check_cursor(); | 2411 check_cursor(); |
2412 } | 2412 } |
2413 else | |
2414 check_cursor_col(); | |
2413 changed_cline_bef_curs(); | 2415 changed_cline_bef_curs(); |
2414 } | 2416 } |
2415 invalidate_botline(); | 2417 invalidate_botline(); |
2416 } | 2418 } |
2417 | 2419 |
2484 } | 2486 } |
2485 else | 2487 else |
2486 changed_bytes((linenr_T)n, 0); | 2488 changed_bytes((linenr_T)n, 0); |
2487 | 2489 |
2488 curbuf = savebuf; | 2490 curbuf = savebuf; |
2491 | |
2492 /* Check that the cursor is not beyond the end of the line now. */ | |
2493 if (buf == curwin->w_buffer) | |
2494 check_cursor_col(); | |
2489 | 2495 |
2490 if (PyErr_Occurred() || VimErrorCheck()) | 2496 if (PyErr_Occurred() || VimErrorCheck()) |
2491 return FAIL; | 2497 return FAIL; |
2492 | 2498 |
2493 if (len_change) | 2499 if (len_change) |