On Wednesday, February 20, 2019 at 4:18:33 PM UTC-6, Bram Moolenaar wrote:
> 
> As mentioned, the fold code currently can't handle two folds without a
> 
> line in between.  Perhaps it can be made to work to consider a filler
> 
> line something in between folds.  No idea how difficult that is.
> 
> 

I played around with this last night and got two folds to show up with a pretty 
simple addition in fold.c to use the "start" field in the fold line struct for 
diff folding. I need to try to get the filler line to show up tonight or 
tomorrow. It looks like I'll need to copy some of the logic from win_line into 
fold_line in screen.c. That looks fairly complicated so I'm not entirely sure 
it will work but I *think* I figured out what's needed before I went to bed.

-- 
-- 
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