In all the recent excitement, a very important commit log got left
out. Here is what the log for rev 4961 should have said:
Fixed (I hope) the problems that ruined key bindings for Viktor:
- Replaced the hopeless master_shortcuts_dict with
g.app.config.localShortcutsDict,
which works exactly like g.app.config.localOptionsDict, except that
the values are shortcutsDict
created by make_shortcuts_dicts.
- Eliminated the useless and confusing readSettings method.
The update_settings now inits the localSettings and localShortcuts
dicts, in a simpler way.
As a result, if d is either of these dicts, code must use
d.get(c.hash(),{}) instead of d.get(c.hash())
This is a natural ideom, and failure to use the default of {} will
quickly be noticed.
Besides, the whole c.hash() business will probably go away soon.
All unit tests pass, and I am using the new code without problems.
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.