| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.784 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.4.784 |
| Problem: Using both "noinsert" and "noselect" in 'completeopt' does not |
| work properly. |
| Solution: Change the ins_complete() calls. (Ozaki Kiichi) |
| Files: src/edit.c |
| |
| |
| |
| |
| |
| *** 2794,2809 **** |
| |
| compl_curr_match = compl_first_match; |
| if (compl_no_insert) |
| ! { |
| ! if (!compl_no_select) |
| ! ins_complete(K_DOWN); |
| ! } |
| else |
| - { |
| ins_complete(Ctrl_N); |
| ! if (compl_no_select) |
| ! ins_complete(Ctrl_P); |
| ! } |
| out_flush(); |
| } |
| |
| --- 2794,2804 ---- |
| |
| compl_curr_match = compl_first_match; |
| if (compl_no_insert) |
| ! ins_complete(K_DOWN); |
| else |
| ins_complete(Ctrl_N); |
| ! if (compl_no_select) |
| ! ins_complete(Ctrl_P); |
| out_flush(); |
| } |
| |
| |
| |
| |
| *** 743,744 **** |
| --- 743,746 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 784, |
| /**/ |
| |
| -- |
| hundred-and-one symptoms of being an internet addict: |
| 230. You spend your Friday nights typing away at your keyboard |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ an exciting new programming language -- http://www.Zimbu.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |