-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMarkup.h
51 lines (35 loc) · 1.24 KB
/
Markup.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//***************************************************************************
#import <Cocoa/Cocoa.h>
#import "RWPluginFramework.h"
//***************************************************************************
#pragma mark Logging
#if ENABLE_LOGGING
#define Log NSLog
#define LOG_ENTRY \
NSLog(@"Entered: %s (%@:%d)", __func__, \
[[NSString stringWithUTF8String:__FILE__] lastPathComponent], __LINE__);
#else
#define Log(...) \
do { \
} while (0);
#define LOG_ENTRY \
do { \
} while (0);
#endif
//***************************************************************************
@interface Markup : RWAbstractPlugin<NSMenuDelegate> {
@public
BOOL usingSmartQuotes;
NSString* _uniqueID;
}
+ (Markup*)sharedMarkupPlugin;
+ (NSBundle*)sharedBundle;
+ (NSArray*)markupStyles;
+ (NSNumber*)markupEnabledForFilterStyleInSelectedRange:(NSString*)markupStyleName;
+ (void)addMarkupMenuItem;
@end
//***************************************************************************
extern const NSString* const kMarkupStyleFilterCommand;
extern const NSString* const kMarkupStyleName;
extern const NSInteger kMarkupTextMenuItemTag;
//***************************************************************************