Lech Lorens wrote:

> Problem:
> The cursor position is not updated after deleting a fold based on
> markers. This results in an invalid memory reference in some scenarios.
> 
> How to reproduce:
> In normal mode perform zRgg$zdaa while editing a file with the following
> contents:
> [[[
> blah blah blah
> ]]]
> vim: fdm=marker fmr=[[[,]]]
> 
> Fix:
> The attached patch seems to fix the problem.

Thanks!  I'll put it at the top of my todo list.

-- 
Q: Why does /dev/null accept only integers?
A: You can't sink a float.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui