Rob McMullen schreef:
> * Integrated Stani' fold explorer as a replacement for custom
> class browsers. It doesn't update itself in response to your typing,
> so there's plenty of work to do, but at least it shows what's possible
> without knowing anything about the syntax of the language. I suspect
> major modes will start from this information and then do a little
> additional scanning to fully populate the class browser
Hi Rob,
I had hoped you announced your new release of peppy on this list like
you did on wxpython. As you didn't, I felt free to quote you from there.
(I still think it would be good to do so. We are IDE/editor junkies here
anyway.)
I have been thinking about improving real time updating of the fold
explorer. (I have a solution in SPE, but probably this one will be
better.) The real time update requires a diff function between the two
trees. What is the most costly is probably adding and removing nodes to
a tree. Second is the renaming of the nodes. So the best would be to
have an algorythm which first updates the hierarchy and which afterwards
renames the necessary nodes.
The best solution I can think of now is a script which can translate the
tree to a plain text file in which each line represents a node. With the
diff module from the standard library the difference can be defined.
This would work for any kind of explorer. This should also work for
lists (such as todo, index, ...).
These are my ideas so far about this topic.
Stani