Am 2016-08-29 22:13, schrieb Christian Brabandt:
Hi Bram!
On Mo, 29 Aug 2016, Bram Moolenaar wrote:
Christian Brabandt wrote:
> I am currently writing some tests for normal.c, to increase the coverage.
>
> Unfortunately, I noteiced some bugs with folding: Here is one issue:
>
> ~$ vim -u NONE -N
> call setline(1, range(1,10)
> :3
> norm! 2zF
> :2
> norm! 5zF
> :set nofoldenable
> :3
> norm! zc -> folds line 2 - 8, I would have expected to only close the inner
fold 3-4, but perhaps that is expected, but see below:
> set nofoldenable
> norm! Vzc -> correctly folds 3-4
> :set nofoldenable
> norm! zc -> folds lines 3-4?
Actually, I can't seem to verify this bug on a recent Vim. It seems to
always fold the longer range.
Can someone confirm this behaviour?
Best,
Christian
--
--
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.