The Shape of Everything
A website mostly about Mac stuff, written by August "Gus" Mueller
» Acorn
» Retrobatch
» Mastodon
» Instagram
» Github
» Maybe Pizza?
» Archives
» Feed
» Micro feed
November 30, 2004
(This post is from my old, old, super old site. My views have changed over the years, hopefully my writing has improved, and there is now more than a handful of folks reading my site. Enjoy.)

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