On Wed, Jun 28, 2017 at 6:09 PM, Edward K. Ream <[email protected]> wrote:

@Edward, I have another question. Where is the point where the actual
> reading of Leo document ends and data is transferred in the tree.
>
>  To be more concrete I have found in method getLeoFileHelper of
> FileCommands class the following lines:
>
> c.setRootVnode(v)
>
> fc.rootVnode = v
>
> I thought that is what I was looking for, but on my surprise
> c.setRootVnode is empty method. It does nothing.
>
> It looks like *both* the statements you show can be eliminated. Not only
> does c.setRootVnode do nothing, but fc.rootVnode is never used! I'll clean
> this up soon.
>

​Done at 259ae3e in master:

- Added a comment that readSaxFile sets c.hiddenRootNode.
- Replaced the two statements with a "pass".
- Removed the fc.rootVnode ivar entirely.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to