Mercurial > vim
diff src/edit.c @ 3162:ff69efc4bc55 v7.3.351
updated for version 7.3.351
Problem: Text formatting uses start of insert position when it should not.
(Peter Wagenaar)
Solution: Do not use Insstart when intentionally formatting.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 26 Oct 2011 17:04:29 +0200 |
parents | dc7f2f975920 |
children | e958eeffa0a7 |
line wrap: on
line diff
--- a/src/edit.c +++ b/src/edit.c @@ -6078,6 +6078,7 @@ internal_format(textwidth, second_indent * Stop at first entered white when 'formatoptions' has 'v' */ while ((!fo_ins_blank && !has_format_option(FO_INS_VI)) + || (flags & INSCHAR_FORMAT) || curwin->w_cursor.lnum != Insstart.lnum || curwin->w_cursor.col >= Insstart.col) {