> Phase 1: Load the standard settings files (using a nullGui).
>
> The LoadManager will remember the created commander and the resulting
> settings dictionaries.
>
> Phase 2: Load all files on the command line (using the Qt Gui).
>
> For each file on the command line (*including* standard settings files
> if they appear there) the LoadManager will merge the global settings
> computed in Phase 1 with the local settings.

This scheme opens the way for a major simplification of
c.config.getX.  Indeed, rather than the baroque code in
g.app.config.getX, each c.config class will contain two "finalized"
settings dicts, one for shortcuts and one for all other settings.  To
get a setting, the c.config.getX methods will simply look up the
setting in the appropriate dictionary.

Note that this scheme will produce the proper results for standard
settings files themselves if they appear on the command line.

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