|
Karsten Hopp |
8c13b9 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
8c13b9 |
Subject: Patch 7.3.351
|
|
Karsten Hopp |
8c13b9 |
Fcc: outbox
|
|
Karsten Hopp |
8c13b9 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
8c13b9 |
Mime-Version: 1.0
|
|
Karsten Hopp |
8c13b9 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
8c13b9 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
8c13b9 |
------------
|
|
Karsten Hopp |
8c13b9 |
|
|
Karsten Hopp |
8c13b9 |
Patch 7.3.351
|
|
Karsten Hopp |
8c13b9 |
Problem: Text formatting uses start of insert position when it should not.
|
|
Karsten Hopp |
8c13b9 |
(Peter Wagenaar)
|
|
Karsten Hopp |
8c13b9 |
Solution: Do not use Insstart when intentionally formatting.
|
|
Karsten Hopp |
8c13b9 |
Files: src/edit.c
|
|
Karsten Hopp |
8c13b9 |
|
|
Karsten Hopp |
8c13b9 |
|
|
Karsten Hopp |
8c13b9 |
*** ../vim-7.3.350/src/edit.c 2011-09-21 18:23:02.000000000 +0200
|
|
Karsten Hopp |
8c13b9 |
--- src/edit.c 2011-10-26 16:58:21.000000000 +0200
|
|
Karsten Hopp |
8c13b9 |
***************
|
|
Karsten Hopp |
8c13b9 |
*** 6078,6083 ****
|
|
Karsten Hopp |
8c13b9 |
--- 6078,6084 ----
|
|
Karsten Hopp |
8c13b9 |
* Stop at first entered white when 'formatoptions' has 'v'
|
|
Karsten Hopp |
8c13b9 |
*/
|
|
Karsten Hopp |
8c13b9 |
while ((!fo_ins_blank && !has_format_option(FO_INS_VI))
|
|
Karsten Hopp |
8c13b9 |
+ || (flags & INSCHAR_FORMAT)
|
|
Karsten Hopp |
8c13b9 |
|| curwin->w_cursor.lnum != Insstart.lnum
|
|
Karsten Hopp |
8c13b9 |
|| curwin->w_cursor.col >= Insstart.col)
|
|
Karsten Hopp |
8c13b9 |
{
|
|
Karsten Hopp |
8c13b9 |
*** ../vim-7.3.350/src/version.c 2011-10-26 13:19:23.000000000 +0200
|
|
Karsten Hopp |
8c13b9 |
--- src/version.c 2011-10-26 17:03:37.000000000 +0200
|
|
Karsten Hopp |
8c13b9 |
***************
|
|
Karsten Hopp |
8c13b9 |
*** 716,717 ****
|
|
Karsten Hopp |
8c13b9 |
--- 716,719 ----
|
|
Karsten Hopp |
8c13b9 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
8c13b9 |
+ /**/
|
|
Karsten Hopp |
8c13b9 |
+ 351,
|
|
Karsten Hopp |
8c13b9 |
/**/
|
|
Karsten Hopp |
8c13b9 |
|
|
Karsten Hopp |
8c13b9 |
--
|
|
Karsten Hopp |
8c13b9 |
From "know your smileys":
|
|
Karsten Hopp |
8c13b9 |
:-* A big kiss!
|
|
Karsten Hopp |
8c13b9 |
|
|
Karsten Hopp |
8c13b9 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
8c13b9 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
8c13b9 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
8c13b9 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|