|
Karsten Hopp |
50e9a5 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
50e9a5 |
Subject: Patch 7.3.418
|
|
Karsten Hopp |
50e9a5 |
Fcc: outbox
|
|
Karsten Hopp |
50e9a5 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
50e9a5 |
Mime-Version: 1.0
|
|
Karsten Hopp |
50e9a5 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
50e9a5 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
50e9a5 |
------------
|
|
Karsten Hopp |
50e9a5 |
|
|
Karsten Hopp |
50e9a5 |
Patch 7.3.418
|
|
Karsten Hopp |
50e9a5 |
Problem: When a user complete function returns -1 an error message is
|
|
Karsten Hopp |
50e9a5 |
given.
|
|
Karsten Hopp |
50e9a5 |
Solution: When -2 is returned stop completion silently. (Yasuhiro Matsumoto)
|
|
Karsten Hopp |
50e9a5 |
Files: src/edit.c
|
|
Karsten Hopp |
50e9a5 |
|
|
Karsten Hopp |
50e9a5 |
|
|
Karsten Hopp |
50e9a5 |
*** ../vim-7.3.417/src/edit.c 2012-01-20 14:32:22.000000000 +0100
|
|
Karsten Hopp |
50e9a5 |
--- src/edit.c 2012-01-26 18:32:23.000000000 +0100
|
|
Karsten Hopp |
50e9a5 |
***************
|
|
Karsten Hopp |
50e9a5 |
*** 5189,5194 ****
|
|
Karsten Hopp |
50e9a5 |
--- 5189,5199 ----
|
|
Karsten Hopp |
50e9a5 |
return FAIL;
|
|
Karsten Hopp |
50e9a5 |
}
|
|
Karsten Hopp |
50e9a5 |
|
|
Karsten Hopp |
50e9a5 |
+ /* Return value -2 means the user complete function wants to
|
|
Karsten Hopp |
50e9a5 |
+ * cancel the complete without an error. */
|
|
Karsten Hopp |
50e9a5 |
+ if (col == -2)
|
|
Karsten Hopp |
50e9a5 |
+ return FAIL;
|
|
Karsten Hopp |
50e9a5 |
+
|
|
Karsten Hopp |
50e9a5 |
/*
|
|
Karsten Hopp |
50e9a5 |
* Reset extended parameters of completion, when start new
|
|
Karsten Hopp |
50e9a5 |
* completion.
|
|
Karsten Hopp |
50e9a5 |
*** ../vim-7.3.417/src/version.c 2012-01-26 18:58:13.000000000 +0100
|
|
Karsten Hopp |
50e9a5 |
--- src/version.c 2012-01-26 18:42:14.000000000 +0100
|
|
Karsten Hopp |
50e9a5 |
***************
|
|
Karsten Hopp |
50e9a5 |
*** 716,717 ****
|
|
Karsten Hopp |
50e9a5 |
--- 716,719 ----
|
|
Karsten Hopp |
50e9a5 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
50e9a5 |
+ /**/
|
|
Karsten Hopp |
50e9a5 |
+ 418,
|
|
Karsten Hopp |
50e9a5 |
/**/
|
|
Karsten Hopp |
50e9a5 |
|
|
Karsten Hopp |
50e9a5 |
--
|
|
Karsten Hopp |
50e9a5 |
If someone questions your market projections, simply point out that your
|
|
Karsten Hopp |
50e9a5 |
target market is "People who are nuts" and "People who will buy any damn
|
|
Karsten Hopp |
50e9a5 |
thing". Nobody is going to tell you there aren't enough of those people
|
|
Karsten Hopp |
50e9a5 |
to go around.
|
|
Karsten Hopp |
50e9a5 |
(Scott Adams - The Dilbert principle)
|
|
Karsten Hopp |
50e9a5 |
|
|
Karsten Hopp |
50e9a5 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
50e9a5 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
50e9a5 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
50e9a5 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|