• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting spell-checker underlines
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting spell-checker underlines


  • Subject: Re: Setting spell-checker underlines
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 10 Jan 2008 12:45:29 -0500

> 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.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Setting spell-checker underlines
      • From: Douglas Davidson <email@hidden>
References: 
 >Setting spell-checker underlines (From: Ivan C Myrvold <email@hidden>)
 >Re: Setting spell-checker underlines (From: Douglas Davidson <email@hidden>)

  • Prev by Date: CocoaHeads-NYC meeting tonight
  • Next by Date: Re: NSMutableAttributedString binding
  • Previous by thread: Re: Setting spell-checker underlines
  • Next by thread: Re: Setting spell-checker underlines
  • Index(es):
    • Date
    • Thread