On Feb 12, 9:45 am, "Edward K. Ream" <[email protected]> wrote:

> Experimentation will likely reveal further complexities and different 
> strategies for getting .leo
> files loaded in a single pass, without loading any file twice.

A new strategy has just come to mind.  The question is, what kind of
"infrastructure" is required to load a .leo file?  If I can make this
process self-contained, I may be able to avoid the immense
difficulties that would be entailed by changing Leo's ctors.

The idea is simple: have the load code work *independently* of the
Commands class.  The process becomes:

1. Load the .leo file *without* any Commander.
2. Parse settings in the loaded file, creating a config object, again
without any Commander.
3. Create the Commander (and all the subsidiary objects, including
frames) using the data gathered in steps 1 and 2.

This looks like the simplest thing that could possibly work.  However,
it will require that steps 1 and 2 work without a commander.  I
believe that is feasible, but only time will tell...

Edward

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