bf7002 - patchlevel 585

Authored and Committed by Karsten Hopp 12 years ago
1 file changed. 56 lines added. 0 lines removed.
    - patchlevel 585
    
        
file added
+56
7.3.585 ADDED
@@ -0,0 +1,56 @@
1
+ To: vim_dev@googlegroups.com
2
+ Subject: Patch 7.3.585
3
+ Fcc: outbox
4
+ From: Bram Moolenaar <Bram@moolenaar.net>
5
+ Mime-Version: 1.0
6
+ Content-Type: text/plain; charset=UTF-8
7
+ Content-Transfer-Encoding: 8bit
8
+ ------------
9
+
10
+ Patch 7.3.585
11
+ Problem: Calling changed_bytes() too often.
12
+ Solution: Move changed_bytes() out of a loop. (Tor Perkins)
13
+ Files: src/edit.c
14
+
15
+
16
+ *** ../vim-7.3.584/src/edit.c 2012-06-29 15:04:34.000000000 +0200
17
+ --- src/edit.c 2012-07-06 13:29:25.000000000 +0200
18
+ ***************
19
+ *** 6350,6359 ****
20
+ * add the additional whitespace needed after the
21
+ * comment leader for the numbered list. */
22
+ for (i = 0; i < padding; i++)
23
+ - {
24
+ ins_str((char_u *)" ");
25
+ ! changed_bytes(curwin->w_cursor.lnum, leader_len);
26
+ ! }
27
+ }
28
+ else
29
+ {
30
+ --- 6350,6357 ----
31
+ * add the additional whitespace needed after the
32
+ * comment leader for the numbered list. */
33
+ for (i = 0; i < padding; i++)
34
+ ins_str((char_u *)" ");
35
+ ! changed_bytes(curwin->w_cursor.lnum, leader_len);
36
+ }
37
+ else
38
+ {
39
+ *** ../vim-7.3.584/src/version.c 2012-07-06 13:36:02.000000000 +0200
40
+ --- src/version.c 2012-07-06 13:35:03.000000000 +0200
41
+ ***************
42
+ *** 716,717 ****
43
+ --- 716,719 ----
44
+ { /* Add new patch number below this line */
45
+ + /**/
46
+ + 585,
47
+ /**/
48
+
49
+ --
50
+ From "know your smileys":
51
+ :'-D Laughing so much that they're crying
52
+
53
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
54
+ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
55
+ \\\ an exciting new programming language -- http://www.Zimbu.org ///
56
+ \\\ help me help AIDS victims -- http://ICCF-Holland.org ///