On 07/03/09 22:30, James Vega wrote:
> There seems to be an edge case when positioning the cursor and
> 'virtualedit' is set to all that causes gvim to crash. This was
> introduced between 6.4 and 7.0b.
>
> It can be reproduced using the attached files as follows:
What attached files?
>
> gvim -u NONE -N -S crash.vim crash.txt
>
> If the last jump in crash.vim is commented out, you can see getpos()
> returns an interesting set of values:
>
> :echo getpos("']")
> [0, 15, 2147483647, 3]
>
> In fact, calling setpos() with the col item of the list set to
> 2147483647 and off set to any number greater than 1 causes Vim to crash.
>
Best regards,
Tony.
--
Ask five economists and you'll get five different explanations (six if
one went to Harvard).
-- Edgar R. Fiedler
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---