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.
This commit is contained in:
Bram Moolenaar
2011-10-26 17:04:29 +02:00
parent 78997dd9ef
commit c66e217f33
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -6078,6 +6078,7 @@ internal_format(textwidth, second_indent, flags, format_only, c)
* 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)
{
+2
View File
@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
351,
/**/
350,
/**/