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