#import <AppKit/NSLayoutManager.h>

@implementation NSLayoutManager (hys)

/*removeTemporaryAttribute:forCharacterRange:

Removes a temporary attribute name from the list of attributes for the specified character range charRange.

- (void)removeTemporaryAttribute:(NSString *)name forCharacterRange:(NSRange)charRange
Discussion

Temporary attributes are used only for onscreen drawing and are not persistent in any way. NSTextView uses them to color misspelled words when continuous spell checking is enabled. Currently the only temporary attributes that will be recognized are those related to colors and underlines.
Availability
Available in Mac OS X v10.0 and later.
See Also
– setTemporaryAttributes:forCharacterRange:
– addTemporaryAttributes:forCharacterRange:
– temporaryAttributesAtCharacterIndex:effectiveRange:*/
- (void)removeTemporaryAttribute:(NSString *)name forCharacterRange:(NSRange)charRange{}

@end
