|
Karsten Hopp |
bf7002 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
bf7002 |
Subject: Patch 7.3.585
|
|
Karsten Hopp |
bf7002 |
Fcc: outbox
|
|
Karsten Hopp |
bf7002 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
bf7002 |
Mime-Version: 1.0
|
|
Karsten Hopp |
bf7002 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
bf7002 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
bf7002 |
------------
|
|
Karsten Hopp |
bf7002 |
|
|
Karsten Hopp |
bf7002 |
Patch 7.3.585
|
|
Karsten Hopp |
bf7002 |
Problem: Calling changed_bytes() too often.
|
|
Karsten Hopp |
bf7002 |
Solution: Move changed_bytes() out of a loop. (Tor Perkins)
|
|
Karsten Hopp |
bf7002 |
Files: src/edit.c
|
|
Karsten Hopp |
bf7002 |
|
|
Karsten Hopp |
bf7002 |
|
|
Karsten Hopp |
bf7002 |
*** ../vim-7.3.584/src/edit.c 2012-06-29 15:04:34.000000000 +0200
|
|
Karsten Hopp |
bf7002 |
--- src/edit.c 2012-07-06 13:29:25.000000000 +0200
|
|
Karsten Hopp |
bf7002 |
***************
|
|
Karsten Hopp |
bf7002 |
*** 6350,6359 ****
|
|
Karsten Hopp |
bf7002 |
* add the additional whitespace needed after the
|
|
Karsten Hopp |
bf7002 |
* comment leader for the numbered list. */
|
|
Karsten Hopp |
bf7002 |
for (i = 0; i < padding; i++)
|
|
Karsten Hopp |
bf7002 |
- {
|
|
Karsten Hopp |
bf7002 |
ins_str((char_u *)" ");
|
|
Karsten Hopp |
bf7002 |
! changed_bytes(curwin->w_cursor.lnum, leader_len);
|
|
Karsten Hopp |
bf7002 |
! }
|
|
Karsten Hopp |
bf7002 |
}
|
|
Karsten Hopp |
bf7002 |
else
|
|
Karsten Hopp |
bf7002 |
{
|
|
Karsten Hopp |
bf7002 |
--- 6350,6357 ----
|
|
Karsten Hopp |
bf7002 |
* add the additional whitespace needed after the
|
|
Karsten Hopp |
bf7002 |
* comment leader for the numbered list. */
|
|
Karsten Hopp |
bf7002 |
for (i = 0; i < padding; i++)
|
|
Karsten Hopp |
bf7002 |
ins_str((char_u *)" ");
|
|
Karsten Hopp |
bf7002 |
! changed_bytes(curwin->w_cursor.lnum, leader_len);
|
|
Karsten Hopp |
bf7002 |
}
|
|
Karsten Hopp |
bf7002 |
else
|
|
Karsten Hopp |
bf7002 |
{
|
|
Karsten Hopp |
bf7002 |
*** ../vim-7.3.584/src/version.c 2012-07-06 13:36:02.000000000 +0200
|
|
Karsten Hopp |
bf7002 |
--- src/version.c 2012-07-06 13:35:03.000000000 +0200
|
|
Karsten Hopp |
bf7002 |
***************
|
|
Karsten Hopp |
bf7002 |
*** 716,717 ****
|
|
Karsten Hopp |
bf7002 |
--- 716,719 ----
|
|
Karsten Hopp |
bf7002 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
bf7002 |
+ /**/
|
|
Karsten Hopp |
bf7002 |
+ 585,
|
|
Karsten Hopp |
bf7002 |
/**/
|
|
Karsten Hopp |
bf7002 |
|
|
Karsten Hopp |
bf7002 |
--
|
|
Karsten Hopp |
bf7002 |
From "know your smileys":
|
|
Karsten Hopp |
bf7002 |
:'-D Laughing so much that they're crying
|
|
Karsten Hopp |
bf7002 |
|
|
Karsten Hopp |
bf7002 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
bf7002 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
bf7002 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
bf7002 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|