|
|
1.1 ! root 1: #import <objc/Object.h> ! 2: ! 3: typedef enum _FindDirection {FindForward, FindBackward} FindDirection; ! 4: ! 5: @interface FindPanel:Object ! 6: { ! 7: id findText; ! 8: id ignoreCaseButton; ! 9: id findNextButton; ! 10: } ! 11: ! 12: + sharedInstance; ! 13: - (void)findIn:textObject direction:(FindDirection)dir; ! 14: - (const char *)findString; ! 15: - (void)setFindString:(const char *)string; ! 16: - makeKeyAndOrderFront:sender; ! 17: - orderOut:sender; ! 18: - findNext:sender; ! 19: - findPrevious:sender; ! 20: - enterSelection:sender; ! 21: - findNextReturn:sender; ! 22: - firstResponderText; ! 23: - (void)findDirection:(FindDirection)dir; ! 24: ! 25: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.