]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.103
- updated to 7.1.285
[packages/vim.git] / 7.1.103
CommitLineData
c0949972
ER
1To: vim-dev@vim.org
2Subject: patch 7.1.103
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.1.103
11Problem: Using "dw" with the cursor past the end of the last line (using
12 CTRL-\ CTRL-O from Insert mode) deletes a character. (Tim Chase)
13Solution: Don't move the cursor back when the movement failed.
14Files: src/normal.c
15
16
17*** ../vim-7.1.102/src/normal.c Tue Aug 14 22:54:00 2007
18--- src/normal.c Tue Sep 11 19:32:42 2007
19***************
20*** 8364,8370 ****
21 n = fwd_word(cap->count1, cap->arg, cap->oap->op_type != OP_NOP);
22
23 /* Don't leave the cursor on the NUL past a line */
24! if (curwin->w_cursor.col && gchar_cursor() == NUL)
25 {
26 --curwin->w_cursor.col;
27 cap->oap->inclusive = TRUE;
28--- 8364,8370 ----
29 n = fwd_word(cap->count1, cap->arg, cap->oap->op_type != OP_NOP);
30
31 /* Don't leave the cursor on the NUL past a line */
32! if (n != FAIL && curwin->w_cursor.col > 0 && gchar_cursor() == NUL)
33 {
34 --curwin->w_cursor.col;
35 cap->oap->inclusive = TRUE;
36*** ../vim-7.1.102/src/version.c Thu Sep 13 15:19:32 2007
37--- src/version.c Thu Sep 13 15:32:05 2007
38***************
39*** 668,669 ****
40--- 668,671 ----
41 { /* Add new patch number below this line */
42+ /**/
43+ 103,
44 /**/
45
46--
47ARTHUR: Then who is your lord?
48WOMAN: We don't have a lord.
49ARTHUR: What?
50DENNIS: I told you. We're an anarcho-syndicalist commune. We take it in
51 turns to act as a sort of executive officer for the week.
52 The Quest for the Holy Grail (Monty Python)
53
54 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
55/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
56\\\ download, build and distribute -- http://www.A-A-P.org ///
57 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.028325 seconds and 4 git commands to generate.