• 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: Checking text styles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking text styles


  • Subject: Re: Checking text styles
  • From: Stephane Sudre <email@hidden>
  • Date: Thu, 18 Nov 2004 15:15:04 +0100


On 18 nov. 04, at 12:54, Jesus De Meyer wrote:

Hi again,

Is it possible to check if a certain word is in a particular style, like for example check if it's in bold or italic, or both?

- (NSDictionary *)attributesAtIndex:(unsigned)index effectiveRange:(NSRangePointer)aRange


or

- (id)attribute:(NSString *)attributeName atIndex:(unsigned int)index effectiveRange:(NSRangePointer)aRange

And you look at the NSFontAttributeName attribute for instance.

_______________________________________________
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


References: 
 >Checking text styles (From: Jesus De Meyer <email@hidden>)

  • Prev by Date: Re: Keeping track of a folder's contents
  • Next by Date: Re: Drag and Drop
  • Previous by thread: Checking text styles
  • Next by thread: [OT] XCode not free anymore ?
  • Index(es):
    • Date
    • Thread