Felix Kater:
> line 1:
> line 2: #if 1
> [folded]
> line 9: ...
>
> and then start to type /* in line 1 to enter a comment: Then the fold
> in line 2 is uncollapsed, also all subfolds.
The fold points match the actual structure of the code. At this
point, line 2 is a comment and thus is not a fold point. Therefore the
code is unfolded.
> Obviously this happens since the scopus of the newly inserted comment
> start ("/*") is not terminated by "*/" and so reaches into the folded
> section. However, this should not cause the next fold to uncollaps.
There is no fold point now so you would have invisible text with no
structure which could not be revealed.
> This is quite confusing from the user's viewpoint.
Looks a lot more obvious than any alternative I've been able to imagine.
Neil
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest