[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: XML-outputting editor questions

From: Bob Miller <kbob_at_jogger-egg.com>
Date: 2000-09-30 07:44:15 CEST

Greg Hudson wrote:

> But the file's contents didn't necessarily change; maybe only the
> properties changed. So you don't know whether a text-delta is coming
> later or not.

So? Generate a text-delta-ref. It's cheap. You don't have to use it
later.

> I'll note that if the producer were restricted to a depth-first
> traversal, edit_fns could be drastically simplified;

I didn't design this interface, but my guess is that it's for
redundancy. By passing dir and file batons around, the consumer can
check that the producer is in fact not confused about where it is in
the tree.

You're right that it allows an arbitrarily messy sequence of
calls, and it could be more constrained.

> Well, I'd like to have something to do. :)

Okay, go ahead. Let me know if you don't want to finish it.

-- 
                                        K<bob>
kbob_at_jogger-egg.com, http://www.jogger-egg.com/
Received on Sat Oct 21 14:36:09 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.