To: vim-dev@vim.org Subject: Patch 5.6a.013 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.6a.013 Problem: Command line completion works different when another completion was done earlier. (Johannes Zellner) Solution: Reset wim_index when starting a new completion. Files: src/ex_getln.c *** ../vim-5.6a/src/ex_getln.c Sun Dec 19 19:45:23 1999 --- src/ex_getln.c Wed Dec 29 10:47:03 1999 *************** *** 531,536 **** --- 531,537 ---- } else /* typed p_wc first time */ { + wim_index = 0; j = ccline.cmdpos; /* if 'wildmode' first contains "longest", get longest * common part */ *** ../vim-5.6a.12/src/version.c Mon Dec 27 15:24:41 1999 --- src/version.c Wed Dec 29 10:51:32 1999 *************** *** 420,421 **** --- 420,423 ---- { /* Add new patch number below this line */ + /**/ + 13, /**/ -- ARTHUR: You are indeed brave Sir knight, but the fight is mine. BLACK KNIGHT: Had enough? ARTHUR: You stupid bastard. You havn't got any arms left. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\-- \ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /