mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
16 lines
529 B
Objective-C
16 lines
529 B
Objective-C
@class BundleGrammar;
|
|
@class OakDocumentView;
|
|
|
|
typedef NS_ENUM(NSInteger, SelectGrammarResponse) {
|
|
SelectGrammarResponseInstall = 0,
|
|
SelectGrammarResponseNotNow,
|
|
SelectGrammarResponseNever,
|
|
SelectGrammarResponseCount
|
|
};
|
|
|
|
@interface SelectGrammarViewController : NSViewController
|
|
@property (nonatomic) NSString* documentDisplayName;
|
|
- (void)showGrammars:(NSArray<BundleGrammar*>*)grammars forView:(OakDocumentView*)documentView completionHandler:(void(^)(SelectGrammarResponse, BundleGrammar*))callback;
|
|
- (void)dismiss;
|
|
@end
|