Re: Checking text styles
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