On 15/02/11 11:43 AM, Yue Wu wrote:
I'm confused with `screen line', I think 3 screen lines without EOL in 'wrap' condition will be a long screen line in 'nowrap' condition, right?
Yes, that's right. So with nowrap, that line should only be folded when fml is 0; but with wrap, it should be folded if fml is 2 or less. At least, that seems to be our current interpretation of the documentation!
I've tried to twiddled with 'fml' before, and when in the above case, set 'fml' to '2' will make the long screen line get folded too, but set to '3' will not get it folded.
Interesting. I'll have to try it out more. When I did a quick test, it didn't behave like this for me, but maybe my line wasn't long enough.
So I think, if set 'fml' to '1', one screen line should not be folded, if so, then the long screen line should not get folded, it's a bug.
Yeah. There's definitely a bug here. Or more than one. It's just a bit complicated, particularly since doing certain things doesn't update the folds properly, so the bug 'comes and goes' a bit. Ben. -- 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
