On Feb 26, 2007, at 3:31 PM, johnf wrote:
> Not completely sure but I think CD has an automatic save. So are
> you saying
> the date (as in touch) of the file is changing or are you really
> saying the
> code is changing?
Just got in a short while ago, and don't have time to look at it
now. What I believe is happening is if you save your code to a
separate .py file, Dabo gets the associated code from the Designer as
a dict. Since dict keys do not have a particular order, there is no
guarantee that they will be re-saved in any particular order. Hence,
saving a design doesn't preserve method ordering.
I'll see if I can save the original order upon opening, and use that
to re-create the text to save. This way it will only save the code if
it has actually changed.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev