]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.190
- updated to 7.1.285
[packages/vim.git] / 7.1.190
CommitLineData
d2415672
AG
1To: vim-dev@vim.org
2Subject: Patch 7.1.190
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.190
11Problem: Cursor after end-of-line: "iA sentence.<Esc>)"
12Solution: Move cursor back and make motion inclusive.
13Files: src/normal.c
14
15
16*** ../vim-7.1.189/src/normal.c Wed Jan 2 16:25:20 2008
17--- src/normal.c Wed Jan 2 22:04:38 2008
18***************
19*** 6564,6569 ****
20--- 6564,6575 ----
21 clearopbeep(cap->oap);
22 else
23 {
24+ /* Don't leave the cursor on the NUL past a line */
25+ if (curwin->w_cursor.col > 0 && gchar_cursor() == NUL)
26+ {
27+ --curwin->w_cursor.col;
28+ cap->oap->inclusive = TRUE;
29+ }
30 #ifdef FEAT_VIRTUALEDIT
31 curwin->w_cursor.coladd = 0;
32 #endif
33*** ../vim-7.1.189/src/version.c Thu Jan 3 12:42:39 2008
34--- src/version.c Thu Jan 3 13:19:03 2008
35***************
36*** 668,669 ****
37--- 668,671 ----
38 { /* Add new patch number below this line */
39+ /**/
40+ 190,
41 /**/
42
43--
44 [clop clop]
45GUARD #1: Halt! Who goes there?
46ARTHUR: It is I, Arthur, son of Uther Pendragon, from the castle of
47 Camelot. King of the Britons, defeator of the Saxons, sovereign of
48 all England!
49GUARD #1: Pull the other one!
50 The Quest for the Holy Grail (Monty Python)
51
52 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
53/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
54\\\ download, build and distribute -- http://www.A-A-P.org ///
55 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.036916 seconds and 4 git commands to generate.