4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Using CTRL-T and CTRL-D with "gR" messes up the text. (Jonahtan
13 Solution: Avoid calling change_indent() recursively.
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
22 if (type == INDENT_SET)
23 (void)set_indent(amount, SIN_CHANGED);
26 + #ifdef FEAT_VREPLACE
27 + int save_State = State;
29 + /* Avoid being called recursively. */
30 + if (State & VREPLACE_FLAG)
33 shift_line(type == INDENT_DEC, round, 1);
34 + #ifdef FEAT_VREPLACE
38 insstart_less -= curwin->w_cursor.col;
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
46 { /* Add new patch number below this line */
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.
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 ///