I often make mis-statements.  Today I went back to look at some things here 
and found one that I want to correct / clarify.  (Based on the followup 
posts, I don't think it really confused anyone except myself, but I'm afraid 
that others (or "we" in the future) may be confused. ;-)

Otoh, this just might be another case of overkill on my part.

On Wednesday 05 March 2008 10:10 am, Randy Kramer wrote:
> When a folding region is collapsed, the following happens:
>    * the first line of the region remains visible, all other lines in the 
> region are hidden 

That could be confusing, my wording was ambiguous, and I'd like to try to 
clarify--I should use an example (with ASCII art):

- ---+ A Level 1 heading
| [optional text]
- ---++ A Level 2 heading
L [optional text]
- ---+ Another Level 1 heading

I guess the confusion comes from deciding what to call a folding region--does 
it include (in the case of TWiki / HTML markup) the heading line, or just the 
stuff below the heading?  (ATM, I don't know which is best, so I continue 
without answering that question. ;-)

It might have been more clear to say (for the TWiki / HTML case):

When a folding region is collapsed, the following happens:
   * the heading line remains visible
   * all lines below the heading line, until the end of the region, are hidden
   * the end of the region occurs (for the TWiki / HTML case) on the line 
before the next heading at the same or a higher level as the heading line 
that started this region (to clarify, this final line of the region (the line 
before the next heading ...) is also hidden)

For other folding (like for code) the situation is analogous.  (Well, except 
that this doesn't work very well for fold(s) within a single line--but 
(hoping) even there, there is something that could be considered the heading 
for the folded region, which should remain visible, and something that could 
be considered the body of the folded region, which should be hidden.)

Ahh, ok, maybe that's some of the terminology we need, that is, to say that a 
folding region consists of a heading (which remains visible when folded) and 
a body (which is not visible when folded).

Sorry for the noise.

Randy Kramer

-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to