< Previous PageHomeNext Page >

DirectCorrect™

Spell Catcher X 10.3 introduces DirectCorrect - an entirely new way to check your spelling. DirectCorrect combines the “write now, check later” capabilities of Check Selection, and the “make an error, fix it now” instant satisfaction of interactive checking.

Without leaving your document, you can instantly check it for errors, see them highlighted, and correct them. In any order you like, when it’s convenient. It’s the ideal way to check and correct short to medium-length documents, perfect for email, instant messaging, web forms and the like.

Where Does DirectCorrect Work?

Spell Catcher’s DirectCorrect feature uses advanced Text Services and Universal Access (accessibility) capabilities that are part of Mac OS X. For the most part, these are the same capabilities used by the Mac OS X Dictionary panel, when looking up a word using the Control-Command-D shortcut. If an application properly supports the Mac OS X Dictionary panel, DirectCorrect should work in that application.

All the built-in Mac OS X text editing views (Cocoa, Carbon and WebKit) support DirectCorrect, so any application that uses a standard Mac OS X editing view will as well. The WASTE 3.0 text editing engine supports DirectCorrect, as well as some 3rd party applications that use their own internal text engine, such as BBEdit and TextWrangler.

Before You Begin

DirectCorrect works best when “Enable access for assistive devices” is selected in Universal Access System Preferences. Open Universal Access preferences and make sure this preference is selected.
Enable access for assistive devices in Universal Access System Preferences

A Quick Tour

We’ll use TextEdit, as it has very good support for DirectCorrect. Click here to download a sample document to open with TextEdit.

NOTE: On Mac OS X 10.5 (Leopard), you may need to move this Help window so it doesn’t obscure the sample document that was opened in TextEdit.

With Spell Catcher selected in the Input menu, choose Spell Catcher checkmark > Turn DirectCorrect On. You should see something like this:

DirectCorrect with the sample document

Errors are highlighted according to kind, using the same colors as Check Selection. Note that DirectCorrect “follows” your document window as you move and resize it, along with its contents whenever it scrolls or is edited. Three controls appear near the top-right of the window, providing the following functionality (from left to right):

The DirectCorrect inspector window should open as well. The inspector displays a live count of what was checked, and the number of errors it found. The controls in the inspector window allow you to change the appearance of highlighted errors, and what part of the document that should be checked. You can also tailor the way that Spell Catcher obtains the positioning, font and style information from the application, in order to get the most accurate results for a particular application or document.

DirectCorrect inspector

Additional controls are available in the DirectCorrect inspector, click the disclosure button to show or hide them. See below for detailed descriptions of the various DirectCorrect controls.

Most DirectCorrect settings are remembered per-application, saved when you set them while using DirectCorrect with a particular program.

Making Corrections

Click a highlighted word to view a list of suggested replacements. Choose a replacement from the list by double=clicking it, or typing the number to its left. Double-clicking a shorthand abbreviation or repeated word error will instantly make the correction using the first suggestion in the list.

DirectCorrect suggestions

All Those Controls!

The function performed by most controls is generally self-explanatory, but some might warrant a little more explanation. As always, you can hover the mouse over any control in the inspector for a more detailed description.

DirectCorrect Advanced Controls

DirectCorrect highlight mode

Choose whether to draw highlights by coloring the words themselves, coloring the background, or underlining the word. The rightmost button hides all highlighted words, but keeps DirectCorrect turned on.


DirectCorrect position and size

Choose the method used to obtain positioning information from the application.


DirectCorrect fonts and styles

Choose the method used to obtain font and style information from the application.


DirectCorrect what to check

Choose how much of the document to check. Visible Text is only available if the application can supply the visible range of characters before DirectCorrect actually checks it and draws the highlighted errors. Selected Paragraphs includes the (entire) paragraphs that enclose the currently selected text.


DirectCorrect visibility

Choose whether DirectCorrect should remain on (if turned on manually) in all editable text areas.


DirectCorrect multi-column text

Select only when the text being checked is laid out in two or more columns. This will increase accuracy, but can significantly impact performance. Always leave deselected for single-column text.


DirectCorrect glyph variants

Select to get and display special glyphs/variants for increased accuracy. In some applications, this can cause a significant performance penalty.

The images below illustrate how DirectCorrect highlights text that contains glyph variants, with this preference selected and deselected. It should be obvious which is which.

No Glyphs Glyphs


DirectCorrect Core Text fonts

Select to use Core Text fonts (if available) when using Text Services fonts & styles. (Mac OS X 10.5 only).


What Settings Are The Best?

The simple answer: Whatever combination you like the most.
The not-so-simple answer: There is no single best combination of settings.

It’s unfortunate that there isn’t a single “best combination” - and the reason DirectCorrect has the number of setting that it does. The reality is that every application behaves differently, with respect to the results given for the positioning, font and style information needed by DirectCorrect. In fact, even within a particular application, the “best” settings can depend on the document you’re editing. So don’t hesitate to try various combinations until you find the ones you prefer.

Applications, Observations

We have learned a few things about using DirectCorrect with specific applications. You might find our observations useful. Just keep it in mind that software changes - what doesn’t work now might work in the next update. This applies to the Mac OS itself, the applications you use, and last but not least, Spell Catcher X. Email is probably one of the main applications you would want to use DirectCorrect with, so we’ll describe our experiences with Apple’s Mail.

Apple Mail

Mail’s message composition window uses WebKit’s HTML editing view. As of this writing, only Text Services are (publicly) supported, as far as obtaining positioning and font information. Unfortunately, WebKit returns an incorrect value, used by DirectCorrect to determine the baseline for drawing highlighted errors. Often, it’s only off by a pixel or two. But there are certain fonts and/or sizes that will give pixel-perfect results. Unfortunately, Mail’s default message font - Helvetica 12, isn’t one of them. Helvetica Neue, however, is. The images below illustrate the difference.

DirectCorrect in Mail using Helvetica DirectCorrect in Mail using Helvetica Neue

Simply changing Mail’s default message font to one that works better with DirectCorrect may be all you have to do to get the best results.

You may also see positioning problems when using Mail’s stationery - not necessarily because of the font used, but due to the line/paragraph spacing. WebKit reports incorrect positioning when the paragraph spacing is specified in the manner used by most of the stationery samples. This can usually be remedied by deleting the existing paragraph breaks and replacing them by typing a return. This may change the line spacing, but the results get along better with DirectCorrect. A quicker way is to use Spell Catcher’s “Standardize Line Endings” Modify Selection command. Choose to use Unix line endings, and the results will be similar to the images below. Note that the spacing is quite different in this case, whether that is an acceptable compromise is up to you.

DirectCorrect and Mail stationery - before DirectCorrect and Mail stationery - after


Useful Shortcuts

There are a number of keyboard shortcuts available when using DirectCorrect that you will likely find useful at times:


We Want Your Feedback!

DirectCorrect is a feature in its infancy. It uses advanced text input and accessibility technologies that are available to all developers. If one of your favorite applications doesn't have the support required by DirectCorrect, have them get in touch with us. If you find an application that supports DirectCorrect, let us know! If you have ideas or suggestions, contact us at directcorrect@rainmakerinc.com.

< Previous PageHomeNext Page >