Ramel wrote:

> I'm running Vim 7.4a BETA and have an issue with diff mode -When
> trying to exit diff mode with :diffoff! the folding is not cleared as
> it was in older versions.
>  
> To reproduce:
> >gvim -u NONE -c "for i in range(1,100) | call setline(i,i) | endfor"
> inside Vim:
> ggyG
> :vnew
> P   " now, we have 2 almost-identical windows
> :windo difft    " you should see one folded chunk
> :diffoff!  "  BUG: the folded chunk is still there!!
>  
> bugreport file is attached.

Thanks.  Easy to reproduce, took a bit of debugging to find out why it
ever worked.  Turns out restoring 'foldenable' is not right, I'll make a
patch.

-- 
A salesperson says:            Translation:
"backward compatible"          Old technology
"Premium"                      Overpriced
"Can't keep it on the shelf"   Unavailable
"Stands alone"                 Piece of shit
"Proprietary"                  Incompatible
                                (Scott Adams - The Dilbert principle)

 /// 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/groups/opt_out.


Raspunde prin e-mail lui