4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Compiler warning for signed/unsigned compare.
12 Solution: Add type cast. Also fix a few typos.
16 *** ../vim-7.2.093/src/edit.c Tue Jan 13 12:29:03 2009
17 --- src/edit.c Wed Jan 28 21:13:51 2009
21 * Only matters when there are composing characters.
22 * Return TRUE when something was deleted.
26 del_char_after_col(limit_col)
30 * skip forward again when going too far back because of a
31 * composing character. */
33 ! while (curwin->w_cursor.col < limit_col)
35 int l = utf_ptr2len(ml_get_cursor());
38 * skip forward again when going too far back because of a
39 * composing character. */
41 ! while (curwin->w_cursor.col < (colnr_T)limit_col)
43 int l = utf_ptr2len(ml_get_cursor());
49 /* check if compl_curr_match has changed, (e.g. other type of
50 ! * expansion added somenthing) */
51 if (type != 0 && compl_curr_match != old_match)
57 /* check if compl_curr_match has changed, (e.g. other type of
58 ! * expansion added something) */
59 if (type != 0 && compl_curr_match != old_match)
65 compl_length = curwin->w_cursor.col - (int)compl_col;
66 /* IObuff is used to add a "word from the next line" would we
67 ! * have enough space? just being paranoic */
69 if (compl_length > (IOSIZE - MIN_SPACE))
73 compl_length = curwin->w_cursor.col - (int)compl_col;
74 /* IObuff is used to add a "word from the next line" would we
75 ! * have enough space? just being paranoid */
77 if (compl_length > (IOSIZE - MIN_SPACE))
82 * If the cursor is on an indent, ^T/^D insert/delete one
83 * shiftwidth. Otherwise ^T/^D behave like a "<<" or ">>".
84 ! * Always round the indent to 'shiftwith', this is compatible
85 * with vi. But vi only supports ^T and ^D after an
86 * autoindent, we support it everywhere.
90 * If the cursor is on an indent, ^T/^D insert/delete one
91 * shiftwidth. Otherwise ^T/^D behave like a "<<" or ">>".
92 ! * Always round the indent to 'shiftwidth', this is compatible
93 * with vi. But vi only supports ^T and ^D after an
94 * autoindent, we support it everywhere.
96 *** ../vim-7.2.093/src/version.c Wed Jan 28 21:22:20 2009
97 --- src/version.c Wed Feb 4 11:17:02 2009
101 { /* Add new patch number below this line */
107 Despite the cost of living, have you noticed how it remains so popular?
109 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
110 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
111 \\\ download, build and distribute -- http://www.A-A-P.org ///
112 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///