• 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: Spell Checking Text Views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spell Checking Text Views


  • Subject: Re: Spell Checking Text Views
  • From: Tommy Nordgren <email@hidden>
  • Date: Sat, 4 Nov 2006 13:35:30 +0100


On 24 okt 2006, at 21.45, Douglas Davidson wrote:


On Oct 24, 2006, at 12:34 PM, Tommy Nordgren wrote:

How do I set up spell checking of text views (NSTextView or subclass). The problem is with
spellchecking embedded strings in source code. I need to make sure the spell checker sees
only embedded strings.

Spellchecking driven from the menu or panel goes through the method -checkSpelling:, which can be overridden. That method calls standard NSSpellChecker methods. As-you-type spellchecking is not so easily overridden in Tiger and before; there will be more control available in Leopard. You would probably need to drive it yourself.


Douglas Davidson

I've been checking through the API:s . The easiest way to support strings in programming languages appears to be
to create a custom NSTextView , that in it's turn creates/uses a custom NSTextStorage subclass.
Now I have the problem of initializing a custom NSTextView subclass in interface builder.
Is it possible, or do I have to create my view on the fly, in code?
-------------------------------------
This sig is dedicated to the advancement of Nuclear Power
Tommy Nordgren
email@hidden




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Spell Checking Text Views
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Importing data with core-data
  • Next by Date: Re: How do you append the data to the URL while POSTING?
  • Previous by thread: Re: Importing data with core-data
  • Next by thread: Re: Spell Checking Text Views
  • Index(es):
    • Date
    • Thread