On Feb 23, 7:28 am, "Edward K. Ream" <[email protected]> wrote:
> The following are notes to myself, and to future maintainers.  Feel
> free to ignore.

> The second call to LM.openFileByName will pass the previousSettings
> object to the Commander ctor that creates c2, which in turn will pass
> the previousSettings object to the c2.config ctor. Hurray!  The c1
> settings have been passed to c2.config! This is much cleaner than
> setting global LM ivars, which is what the experimental code did.

The crucial point is the previous settings get passed along to the
Commander ctor, *before* LM.openFileByName calls
c.fileCommands.openLeoFile to create the outline.

EKR

-- 
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