swapWithMark:
マークと挿入ポイントを入れ替えます
-(void)swapWithMark:(id)sender:
解説
マークと挿入ポイントを入れ替えます。NSTextViewで実装します。
返り値
( void )
なし
引数
( id )sender
送信オブジェクト
フレームワーク
ApplicationKit
クラス
NSResponder
Instance Methods
使用可能
10.0
参照
- setMark:
例文
- (IBAction)markAct:(id)sender { [mark setMark:self]; } - (IBAction)swapAct:(id)sender { [swap swapWithMark:self]; }