[wxPython-users] ANN: peppy-0.5.1, editor and software development process experiment

Rob McMullen rob.mcmullen at gmail.com
Mon Feb 12 18:24:06 PST 2007


On 2/12/07, Josiah Carlson <jcarlson at uci.edu> wrote:
> My goodness.  I could have sworn that I wrote everything so horribly
> that it was not only impossible for 3rd parties to modify, but that it
> being GPLed was really only useful as an example of "what not to do".
> Congratulations on managing to find a use for some of it. :D

:)  Actually, I found most of your plugins fairly self-contained.  I
mean, there are a few global references (e.g. the _pype global), but
most of the stuff is passed in to the plugin through its init method,
so I can provide adapters for those.  It took me (literally!) less
than 30 minutes to write a peppy plugin and adapter for your
filesystem browser.  It took me longer to adapt the search and
replace, but I did those first and I was still trying to understand
your code.  Once I understood more about it, it was very easy to
modify.  I'm sure I'll be incorporating more of your stuff as I go,
and hopefully if I extend any functionality, you'll be able to plug it
back into PyPE with no changes to your code.

> One of the things that has slowed me down (and what slowed me down when
> initially working on PyPE 2.0 a couple years back) is saving and
> restoring the edit control state when moving documents between editors.

You mean, like saving and restoring sessions?  I hadn't really thought
about that much, but as I pause to check into
GetSaveState/SetSaveState I see you've also coded up a VIM settings
decoder which I'll probably borrow at some point. :)  I also hadn't
thought about code folding much, either, as I've never really used
that coming from XEmacs.  I did have an idea for a minor mode that
automatically folds docstring comments so someone familiar with the
code could get more of it on screen at once.

> Good luck!
>  - Josiah

Thanks!  I'll let you know as I borrow more of your stuff. :)

Rob




More information about the wxpython-users mailing list