Mercurial > vim
diff src/edit.c @ 5848:75f222d67cea v7.4.267
updated for version 7.4.267
Problem: The '[ mark is in the wrong position after "gq". (Ingo Karkat)
Solution: Add the setmark argument to do_join(). (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 29 Apr 2014 12:15:40 +0200 |
parents | 50dbef5e774a |
children | 81c26975e8f9 |
line wrap: on
line diff
--- a/src/edit.c +++ b/src/edit.c @@ -8685,7 +8685,7 @@ ins_del() { temp = curwin->w_cursor.col; if (!can_bs(BS_EOL) /* only if "eol" included */ - || do_join(2, FALSE, TRUE, FALSE) == FAIL) + || do_join(2, FALSE, TRUE, FALSE, FALSE) == FAIL) vim_beep(); else curwin->w_cursor.col = temp; @@ -8866,7 +8866,7 @@ ins_bs(c, mode, inserted_space_p) ptr[len - 1] = NUL; } - (void)do_join(2, FALSE, FALSE, FALSE); + (void)do_join(2, FALSE, FALSE, FALSE, FALSE); if (temp == NUL && gchar_cursor() != NUL) inc_cursor(); }