Problem: Crash when doing spell completion in an empty line and pressing
commitdabae69856420ddd97bd16b61d696c124f4f97de
authoredyfox <edyfox@2a77ed30-b011-0410-a7ad-c7884a0aa172>
Fri, 23 Jun 2006 01:16:10 +0000 (23 01:16 +0000)
committeredyfox <edyfox@2a77ed30-b011-0410-a7ad-c7884a0aa172>
Fri, 23 Jun 2006 01:16:10 +0000 (23 01:16 +0000)
treecf5f062cb577b07985d6aa0a4d2609728c34d643
parent6d032d3e3fe7f03c9ddd5c6cdb97a550efa5deb6
Problem:    Crash when doing spell completion in an empty line and pressing
           CTRL-E.
Solution:   Check for a zero pointer. (James Vega)
           Also handle a situation without a matching pattern better, report
           "No matches" instead of remaining in undefined CTRL-X mode.  And
           get out of CTRL-X mode when typing a letter.
Files:      src/edit.c

git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/vim7@35 2a77ed30-b011-0410-a7ad-c7884a0aa172
src/edit.c
src/version.c