On Apr 14, 8:23 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote:
> I think that's about it for now. It truly is thrilling to be able to
> > simplify and generalize this fundamental code.
I just pushed the latest code to the unified-nodes branch. This code
can now go through all of Leo's startup logic **provided** that the
code that reads leoSettings.leo and related files is disabled.
As usual in such situations, I just ran the code until it crashed,
then fixed the crashes.
The biggest problem turned out to be that v.t.headString and
v.t.bodyString are ivars, while v.headString() and v.bodyString() are
functions. There were a few places where Leo's core actually used
v.t.body/headString, and I had to convert those to v.body/
headString(). A few places assigned to v.t.body/headString, which
overwrote the corresponding methods!
Anyway, I now have a semi-functioning Leo to play with. I'll now test
the code that inserts/deletes/clones nodes. After that works I'll re-
enable the code that reads leoSettings.leo and see what happens :-)
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
-~----------~----~----~----~------~----~------~--~---