I'm continuing to build basic functionality for Verbosio, my extensible XML editor project. Remember when I said "Designing an editor is hard", not once, but twice? Well, hard problems just slow me down. They don't stop me. :-)
Right now, the following things work:
The last is a "maybe", because I haven't got any fully-fleshed-out transactions to do or undo. The first transaction I'm attempting to implement is a delete transaction. In the world of single DOM nodes, a deletion is easy. In the world of a range of nodes (think selected hypertext), it gets more interesting. That is, deleting is easy, but undoing the deletion is more interesting. Especially since there are several possibilities with ranges which I have to consider.
My immediate to-do list for Verbosio looks like:
With luck, I could have the above done in a week. Beyond that, my longer-term to-do list for Verbosio includes:
Of the longer-term list, only the first two or three are requirements for a version 0.1 release of Verbosio. At this point, I'm down-scaling my lofty ambitions for the 0.1 release. It'll still be a good little editor if I meet the above targets, just useful enough for developers to start working with. For now, that will be satisfactory.
I don't like "satisfactory". I like "excellent". But after a couple years of slogging through this code and other projects, "satisfactory" will have to do for now.
P.S. I also bought a new MacBook on Friday, to replace the laptop that collapsed a few months ago.
Posted by WeirdAl at November 26, 2006 7:11 PMHmm, you know that the DOMI has code for the stuff on your immediate to-do list? Once I get working on Bug 310370 (maybe this weekend) it will even do the range of nodes that you have been talking about.
I really enjoy my Macbook. I have moved to developing all of my Mozilla work on it alone because windows just seemed clunkier (and builds a lot slower).
Posted by: Shawn Wilsher at November 26, 2006 9:16 PM