On Sun, Feb 19, 2012 at 7:14 AM, Edward K. Ream <[email protected]> wrote:
> On Sat, Feb 18, 2012 at 11:43 AM, Edward K. Ream <[email protected]> wrote:
>> Rev 4990  of the trunk contains many important simplifications, some
>> of which I have wanted to do for years.
>
> The next rev will contain at least one more code simplification.
> g.openWithFileName will now return a single value, a Commander, rather
> than the tuple (ok,frame). The old way is un-pythonic.

Note: in rev 4990, the g.app.newCommander method (formerly called
g.app.newLeoCommanderAndFrame) also returns a single value (a
Commander) rather than the tuple (c,c.frame).  This will probably
cause less problems for others, as few were likely to call
newCommanderAndFrame directly. However, both the change in returned
values and the change in names could, in fact, cause problems for
writers of scripts or plugins.

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