Skip navigation.
 
mlRe: Setting spell-checker underlines
FROM : I. Savant
DATE : Thu Jan 10 18:45:29 2008

> It is a temporary attribute on the layout manager,
> NSSpellingStateAttributeName.  See the Leopard AppKit release notes
> for details.


  Ah! I stand corrected, Douglas, thanks. My original point still
remains, though - unless you're using it for misspelled words, you'll
need to come up with your own marker. This means (unless I'm further
mistaken), creating your own temporary attribute, setting it on the
attributed string, then properly rendering it in the text view (which,
IMO, is done most easily by drawing it on the text view itself via
-drawViewBackgroundInRect:).

  If there's a better way, I welcome it.

--
I.S.

Related mailsAuthorDate
mlSetting spell-checker underlines Ivan C Myrvold Jan 10, 14:07
mlRe: Setting spell-checker underlines I. Savant Jan 10, 17:13
mlRe: Setting spell-checker underlines Douglas Davidson Jan 10, 18:37
mlRe: Setting spell-checker underlines I. Savant Jan 10, 18:45
mlRe: Setting spell-checker underlines Douglas Davidson Jan 10, 20:44
mlRe: Setting spell-checker underlines Ivan C Myrvold Jan 10, 21:05