mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
40 lines
1.3 KiB
Objective-C
40 lines
1.3 KiB
Objective-C
#import <oak/oak.h>
|
|
#import <regexp/find.h> // for find::options_t
|
|
|
|
extern PUBLIC NSString* const OakReplacePboard;
|
|
extern PUBLIC NSString* const OakPasteboardDidChangeNotification;
|
|
|
|
extern PUBLIC NSString* const kUserDefaultsFindWrapAround;
|
|
extern PUBLIC NSString* const kUserDefaultsFindIgnoreCase;
|
|
|
|
extern PUBLIC NSString* const OakFindIgnoreWhitespaceOption;
|
|
extern PUBLIC NSString* const OakFindFullWordsOption;
|
|
extern PUBLIC NSString* const OakFindRegularExpressionOption;
|
|
|
|
PUBLIC @interface OakPasteboardEntry : NSManagedObject
|
|
@property (nonatomic) NSString* string;
|
|
@property (nonatomic) NSDictionary* options;
|
|
|
|
@property (nonatomic) BOOL fullWordMatch;
|
|
@property (nonatomic) BOOL ignoreWhitespace;
|
|
@property (nonatomic) BOOL regularExpression;
|
|
|
|
@property (nonatomic, readonly) find::options_t findOptions;
|
|
@end
|
|
|
|
PUBLIC @interface OakPasteboard : NSManagedObject
|
|
+ (OakPasteboard*)pasteboardWithName:(NSString*)aName;
|
|
|
|
- (void)addEntryWithString:(NSString*)aString;
|
|
- (void)addEntryWithString:(NSString*)aString andOptions:(NSDictionary*)someOptions;
|
|
|
|
- (OakPasteboardEntry*)previous;
|
|
- (OakPasteboardEntry*)current;
|
|
- (OakPasteboardEntry*)next;
|
|
|
|
@property (nonatomic) OakPasteboardEntry* currentEntry;
|
|
@property (nonatomic) NSDictionary* auxiliaryOptionsForCurrent;
|
|
|
|
- (void)selectItemForControl:(NSView*)controlView;
|
|
@end
|