[7.2.262] When using custom completion for a user command the pattern string
commitc8583ab0e286cce08736fcd129e6305c918f0cea
authorBram Moolenaar <Bram@Moolenaar.net>
Fri, 18 Sep 2009 17:23:20 +0000 (18 17:23 +0000)
committerBram Moolenaar <Bram@Moolenaar.net>
Fri, 18 Sep 2009 17:23:20 +0000 (18 17:23 +0000)
treec980e85004312df1da3d7ff47453ca1102aa33db
parenta260470c15fcb8c7df3513f1bb6dbb5b8a7014f4
[7.2.262] When using custom completion for a user command the pattern string

Problem:    When using custom completion for a user command the pattern string
            goes beyond the cursor position. (Hari Krishna Dara)

Solution:   Truncate the string at the cursor position.

Patch 7.2.262
src/ex_getln.c
src/structs.h
src/version.c