Christian Brabandt wrote:

> > On Mo, 06 Mär 2017, Bram Moolenaar wrote:
> > 
> > > 
> > > Christian Brabandt wrote:
> > > 
> > > > And another one that fixes the :move closes folds and :move invalidates 
> > > > folds:
> > > > https://github.com/neovim/neovim/pull/6221
> > > 
> > > It's a bit big, but I suppose it's needed to make it work.
> > > 
> > > Can someone turn this into a Vim patch?  And check that it works,
> > > removing the changed_lines() calls is a bit unexpected.
> 
> That is called later down anyways, so I guess it is okay.
> 
> > I'll check it out within the next days.
> 
> Converted patch attached. I slightly renamed some functions, added some 
> static declarations and added some ifdefs and wrote a new test. From my 
> testing it looks good now. 

Thanks.  Unfortunately, running the test without the patch doesn't fail.
I thought the test should fail without applying the fix.

-- 
>From "know your smileys":
 :q     vi user saying, "How do I get out of this damn emacs editor?"

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui