mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Add NSResponder actions
This commit is contained in:
parent
d72e9e6ced
commit
41484fd5b3
1 changed files with 13 additions and 0 deletions
|
@ -112,6 +112,19 @@
|
|||
}
|
||||
|
||||
// Validating and performing
|
||||
- (void) performTextFinderAction: (id)sender
|
||||
{
|
||||
if (_finder == nil)
|
||||
{
|
||||
_finder = [[GSTextFinder alloc] init];
|
||||
}
|
||||
}
|
||||
|
||||
- (void) performFindPanelAction: (id)sender
|
||||
{
|
||||
[self performAction: [sender tag]];
|
||||
}
|
||||
|
||||
- (void) performAction: (NSTextFinderAction)op
|
||||
{
|
||||
switch (op)
|
||||
|
|
Loading…
Reference in a new issue