Tuesday, November 30th, 2004
I updated the ODBEditor classes hosted here with a patch from Eric Blair and myself. He updated it to remove paths from a NSDictionary when the odb client/server connection is gone (which was a minor memory leak), and he also added support for handling Save As messages and differentiating between editing a file and editing a string.
I also added a little patch to clear up any confusion between the temp file living /tmp or /tmp/private (/tmp is a symlink), which I ran into at some point .
In case this is the first time you've heard of ODB here's a brief description from Bare Bones's webpage about it: "(it's) an Apple Event-based interface that developers may take advantage of in order to provide better integration between their products and BBEdit"
It's how the various FTP programs (and VoodooPad 2.0) are able to do the "Edit in BBEdit" stuff, which also works with other text editors like SubEthaEdit. Source is provided, and it's Public Domain.
-- posted 7:14 pm