]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.192
- manpaged md5 fix
[packages/vim.git] / 6.2.192
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.192
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 6.2.192
11 Problem:    Using CTRL-T and CTRL-D with "gR" messes up the text.  (Jonahtan
12             Hankins)
13 Solution:   Avoid calling change_indent() recursively.
14 Files:      src/edit.c
15
16
17 *** ../vim-6.2.191/src/edit.c   Sun Jan 18 20:28:26 2004
18 --- src/edit.c  Sun Jan 18 20:23:49 2004
19 ***************
20 *** 1611,1617 ****
21 --- 1611,1629 ----
22       if (type == INDENT_SET)
23         (void)set_indent(amount, SIN_CHANGED);
24       else
25 +     {
26 + #ifdef FEAT_VREPLACE
27 +       int     save_State = State;
28
29 +       /* Avoid being called recursively. */
30 +       if (State & VREPLACE_FLAG)
31 +           State = INSERT;
32 + #endif
33         shift_line(type == INDENT_DEC, round, 1);
34 + #ifdef FEAT_VREPLACE
35 +       State = save_State;
36 + #endif
37 +     }
38       insstart_less -= curwin->w_cursor.col;
39   
40       /*
41 *** ../vim-6.2.191/src/version.c        Sun Jan 18 21:19:56 2004
42 --- src/version.c       Sun Jan 18 21:21:12 2004
43 ***************
44 *** 639,640 ****
45 --- 639,642 ----
46   {   /* Add new patch number below this line */
47 + /**/
48 +     192,
49   /**/
50
51 -- 
52 Q: Is selling software the same as selling hardware?
53 A: No, good hardware is sold new, good software has already been used by many.
54
55  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
56 ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
57 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
58  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
This page took 0.095363 seconds and 3 git commands to generate.