>>> I think we don't need the foldcolumn in HTML.  One can click on the fold
>>> to open it, and on the text to close it again.  That's a lot simpler and
>>> removes the not-so-nice-looking fold column.
>> How do you solve the ambiguity problem when there are two folds starting
>> on the same line without the foldcolumn though (i.e. whether a click
>> should open the second fold or close the first)? If they can appear
>> beside each other in the foldcolumn, as in the prototype, that solves
>> that problem quite nicely. I think.
> 
> The same way it works for nested structures: first click opens the first
> level, second click the second level, etc.
> 
> For closing you would have to click on the text of the opened fold, not
> a closed fold at the start of that fold.

What about if there is no such text? I.e. if every line of a fold is
part of a subfold? Then you have the problem of an uncloseable fold with
this interface (unless I misunderstand). I don't know how common the
scenario would be for others, but it's certainly a very common case for
me.

Ben.





--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui