Hello,
On 11 Jan 2007, at 15:02, Adam R. Maxwell wrote:
I think you could write a Foundation command-line tool that calls [[NSSpellChecker sharedSpellChecker] completionsForPartialWordRange:inString:language:inSpellDocumentWithTa g:] and provides its results via tm_dialog. I did a similar thing in writing a tool that asks BibDesk for citation completions, and it works pretty well.
That sounds like the best way to hack it! It would also be a way of getting at the preferred spelling correction for misspelt words. Foundation is the Objective C framework, right? Do you have any examples of programs doing something similar?