]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.322
- new
[packages/vim.git] / 7.2.322
CommitLineData
6ac11130
AG
1To: vim-dev@vim.org
2Subject: Patch 7.2.322
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.2.322
11Problem: Wrong indenting in virtual replace mode with CTRL-Y below a short
12 line.
13Solution: Check for character to be NUL. (suggested by Lech Lorens)
14Files: src/edit.c
15
16
17*** ../vim-7.2.321/src/edit.c 2009-11-17 17:40:34.000000000 +0100
18--- src/edit.c 2009-12-24 15:18:23.000000000 +0100
19***************
20*** 7397,7402 ****
21--- 7397,7406 ----
22 int icase;
23 int i;
24
25+ if (keytyped == NUL)
26+ /* Can happen with CTRL-Y and CTRL-E on a short line. */
27+ return FALSE;
28+
29 #ifdef FEAT_EVAL
30 if (*curbuf->b_p_inde != NUL)
31 look = curbuf->b_p_indk; /* 'indentexpr' set: use 'indentkeys' */
32*** ../vim-7.2.321/src/version.c 2009-12-24 15:00:31.000000000 +0100
33--- src/version.c 2009-12-24 15:44:46.000000000 +0100
34***************
35*** 683,684 ****
36--- 683,686 ----
37 { /* Add new patch number below this line */
38+ /**/
39+ 322,
40 /**/
41
42--
43hundred-and-one symptoms of being an internet addict:
4445. You buy a Captain Kirk chair with a built-in keyboard and mouse.
45
46 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
47/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
48\\\ download, build and distribute -- http://www.A-A-P.org ///
49 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.026617 seconds and 4 git commands to generate.