|
Karsten Hopp |
6c4c58 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
6c4c58 |
Subject: Patch 7.4.072
|
|
Karsten Hopp |
6c4c58 |
Fcc: outbox
|
|
Karsten Hopp |
6c4c58 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
6c4c58 |
Mime-Version: 1.0
|
|
Karsten Hopp |
6c4c58 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
6c4c58 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
6c4c58 |
------------
|
|
Karsten Hopp |
6c4c58 |
|
|
Karsten Hopp |
6c4c58 |
Patch 7.4.072
|
|
Karsten Hopp |
6c4c58 |
Problem: Crash when using Insert mode completion.
|
|
Karsten Hopp |
6c4c58 |
Solution: Avoid going past the end of pum_array. (idea by Fransisco Lopes)
|
|
Karsten Hopp |
6c4c58 |
Files: src/popupmnu.c
|
|
Karsten Hopp |
6c4c58 |
|
|
Karsten Hopp |
6c4c58 |
|
|
Karsten Hopp |
6c4c58 |
*** ../vim-7.4.071/src/popupmnu.c 2011-08-17 18:04:28.000000000 +0200
|
|
Karsten Hopp |
6c4c58 |
--- src/popupmnu.c 2013-11-02 04:01:06.000000000 +0100
|
|
Karsten Hopp |
6c4c58 |
***************
|
|
Karsten Hopp |
6c4c58 |
*** 282,287 ****
|
|
Karsten Hopp |
6c4c58 |
--- 282,291 ----
|
|
Karsten Hopp |
6c4c58 |
int round;
|
|
Karsten Hopp |
6c4c58 |
int n;
|
|
Karsten Hopp |
6c4c58 |
|
|
Karsten Hopp |
6c4c58 |
+ /* Never display more than we have */
|
|
Karsten Hopp |
6c4c58 |
+ if (pum_first > pum_size - pum_height)
|
|
Karsten Hopp |
6c4c58 |
+ pum_first = pum_size - pum_height;
|
|
Karsten Hopp |
6c4c58 |
+
|
|
Karsten Hopp |
6c4c58 |
if (pum_scrollbar)
|
|
Karsten Hopp |
6c4c58 |
{
|
|
Karsten Hopp |
6c4c58 |
thumb_heigth = pum_height * pum_height / pum_size;
|
|
Karsten Hopp |
6c4c58 |
***************
|
|
Karsten Hopp |
6c4c58 |
*** 672,681 ****
|
|
Karsten Hopp |
6c4c58 |
#endif
|
|
Karsten Hopp |
6c4c58 |
}
|
|
Karsten Hopp |
6c4c58 |
|
|
Karsten Hopp |
6c4c58 |
- /* Never display more than we have */
|
|
Karsten Hopp |
6c4c58 |
- if (pum_first > pum_size - pum_height)
|
|
Karsten Hopp |
6c4c58 |
- pum_first = pum_size - pum_height;
|
|
Karsten Hopp |
6c4c58 |
-
|
|
Karsten Hopp |
6c4c58 |
if (!resized)
|
|
Karsten Hopp |
6c4c58 |
pum_redraw();
|
|
Karsten Hopp |
6c4c58 |
|
|
Karsten Hopp |
6c4c58 |
--- 676,681 ----
|
|
Karsten Hopp |
6c4c58 |
*** ../vim-7.4.071/src/version.c 2013-11-06 04:01:31.000000000 +0100
|
|
Karsten Hopp |
6c4c58 |
--- src/version.c 2013-11-06 04:03:18.000000000 +0100
|
|
Karsten Hopp |
6c4c58 |
***************
|
|
Karsten Hopp |
6c4c58 |
*** 740,741 ****
|
|
Karsten Hopp |
6c4c58 |
--- 740,743 ----
|
|
Karsten Hopp |
6c4c58 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
6c4c58 |
+ /**/
|
|
Karsten Hopp |
6c4c58 |
+ 72,
|
|
Karsten Hopp |
6c4c58 |
/**/
|
|
Karsten Hopp |
6c4c58 |
|
|
Karsten Hopp |
6c4c58 |
--
|
|
Karsten Hopp |
6c4c58 |
No children may attend school with their breath smelling of "wild onions."
|
|
Karsten Hopp |
6c4c58 |
[real standing law in West Virginia, United States of America]
|
|
Karsten Hopp |
6c4c58 |
|
|
Karsten Hopp |
6c4c58 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
6c4c58 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
6c4c58 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
6c4c58 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|