invalidateAttributesInRange:
指定した範囲の属性を無効にします
-(void)invalidateAttributesInRange:(NSRange)range:
解説
指定した範囲の属性を無効にします。
返り値
( void )
なし
引数
( NSRange )range
範囲
フレームワーク
ApplicationKit
クラス
NSTextStorage
Instance Methods
使用可能
10.0
参照
例文
- (IBAction)invalidate:(id)sender; { NSTextStorage* textStorage = [myOutlet textStorage]; //属性無効 [textStorage invalidateAttributesInRange:NSMakeRange(2,3)]; [[sender window] display]; }