public
Description: A lightweight snippet plugin for Xcode
Homepage: http://blog.skorpiostech.com/
Clone URL: git://github.com/rtmfd/sktcompletion.git
Search Repo:
sktcompletion / SKTTextCompletor.h
100644 26 lines (19 sloc) 0.545 kb
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
//
// SKTTextCompletor.h
// SKTCompletion
//
// Created by Ian Baird on 4/18/08.
// Copyright 2008 Skorpiostech, Inc. All rights reserved.
//
 
#import <Cocoa/Cocoa.h>
 
@class CSqliteDatabase;
 
@interface SKTTextCompletor : NSObject
{
    NSMutableDictionary *snippets;
}
 
@property(retain, readonly) NSMutableDictionary *snippets;
 
+ (id)sharedInstance;
 
- (BOOL)completeForTextView:(NSTextView *)textView;
- (void)promptSnippet:(NSString *)snippetBase;
- (void)addSnippet:(NSString *)snippet withAbbreviation:(NSString *)abbreviation;
 
@end