|
Karsten Hopp |
81043d |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
81043d |
Subject: Patch 7.3.415
|
|
Karsten Hopp |
81043d |
Fcc: outbox
|
|
Karsten Hopp |
81043d |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
81043d |
Mime-Version: 1.0
|
|
Karsten Hopp |
81043d |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
81043d |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
81043d |
------------
|
|
Karsten Hopp |
81043d |
|
|
Karsten Hopp |
81043d |
Patch 7.3.415 (after 7.3.359)
|
|
Karsten Hopp |
81043d |
Problem: Completion of functions stops once a dictionary is encountered.
|
|
Karsten Hopp |
81043d |
(James McCoy)
|
|
Karsten Hopp |
81043d |
Solution: Return an empty string instead of NULL.
|
|
Karsten Hopp |
81043d |
Files: src/eval.c
|
|
Karsten Hopp |
81043d |
|
|
Karsten Hopp |
81043d |
|
|
Karsten Hopp |
81043d |
*** ../vim-7.3.414/src/eval.c 2012-01-26 11:45:25.000000000 +0100
|
|
Karsten Hopp |
81043d |
--- src/eval.c 2012-01-26 13:45:52.000000000 +0100
|
|
Karsten Hopp |
81043d |
***************
|
|
Karsten Hopp |
81043d |
*** 21802,21808 ****
|
|
Karsten Hopp |
81043d |
fp = HI2UF(hi);
|
|
Karsten Hopp |
81043d |
|
|
Karsten Hopp |
81043d |
if (fp->uf_flags & FC_DICT)
|
|
Karsten Hopp |
81043d |
! return NULL; /* don't show dict functions */
|
|
Karsten Hopp |
81043d |
|
|
Karsten Hopp |
81043d |
if (STRLEN(fp->uf_name) + 4 >= IOSIZE)
|
|
Karsten Hopp |
81043d |
return fp->uf_name; /* prevents overflow */
|
|
Karsten Hopp |
81043d |
--- 21802,21808 ----
|
|
Karsten Hopp |
81043d |
fp = HI2UF(hi);
|
|
Karsten Hopp |
81043d |
|
|
Karsten Hopp |
81043d |
if (fp->uf_flags & FC_DICT)
|
|
Karsten Hopp |
81043d |
! return ""; /* don't show dict functions */
|
|
Karsten Hopp |
81043d |
|
|
Karsten Hopp |
81043d |
if (STRLEN(fp->uf_name) + 4 >= IOSIZE)
|
|
Karsten Hopp |
81043d |
return fp->uf_name; /* prevents overflow */
|
|
Karsten Hopp |
81043d |
*** ../vim-7.3.414/src/version.c 2012-01-26 13:40:04.000000000 +0100
|
|
Karsten Hopp |
81043d |
--- src/version.c 2012-01-26 14:32:16.000000000 +0100
|
|
Karsten Hopp |
81043d |
***************
|
|
Karsten Hopp |
81043d |
*** 716,717 ****
|
|
Karsten Hopp |
81043d |
--- 716,719 ----
|
|
Karsten Hopp |
81043d |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
81043d |
+ /**/
|
|
Karsten Hopp |
81043d |
+ 415,
|
|
Karsten Hopp |
81043d |
/**/
|
|
Karsten Hopp |
81043d |
|
|
Karsten Hopp |
81043d |
--
|
|
Karsten Hopp |
81043d |
Normal people believe that if it ain't broke, don't fix it. Engineers believe
|
|
Karsten Hopp |
81043d |
that if it ain't broke, it doesn't have enough features yet.
|
|
Karsten Hopp |
81043d |
(Scott Adams - The Dilbert principle)
|
|
Karsten Hopp |
81043d |
|
|
Karsten Hopp |
81043d |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
81043d |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
81043d |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
81043d |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|