> Let us define p.fileLevel() for any position p as follows:  p.fileLevel() is
> 0 if p is not a descendant of any kind of @file node.  Otherwise, suppose
> root is the position of the enclosing @file node (or @thin node, etc.)
> p.fileLevel() is p.level() - root.level() ...

I am still returning from time to time to this subject and trying to
get a clear view. I understand p.fileLevel() as a getter for some
instance variable, let's call it p.fileLevel. The question that popped
up today after diving into the souces of leo is: why one shall
associate fileLevel with a position, not with a vnode directly (to be
more exact, with that v, that is passed to p.__init__() and becomes
p.v)?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to