updateInsertionPointStateAndRestartTimer:
flagがYESならカーソルの点滅を開始させます
-(void)updateInsertionPointStateAndRestartTimer:(BOOL)flag:
解説
flagがYESならカーソルの点滅を開始させます。
挿入位置が動かされる時に、自動的に呼び出されます。
直接呼び出しません
オーバーライドすることができます。
返り値
( void )
なし
引数
( BOOL )flag
YES/NO
フレームワーク
ApplicationKit
クラス
NSTextView
Instance Methods
使用可能
10.0
参照
- shouldDrawInsertionPoint
- drawInsertionPointInRect:color:turnedOn:
例文
-(void)updateInsertionPointStateAndRestartTimer:(BOOL)flag { (flag)?NSLog(@"updateInsertionPointStateAndRestartTimer YES"):NSLog(@"NO"); [super updateInsertionPointStateAndRestartTimer:flag]; }