mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-28 02:54:31 +03:00
38 lines
759 B
Objective-C
38 lines
759 B
Objective-C
/**
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
* See LICENSE
|
|
*/
|
|
|
|
@import Cocoa;
|
|
|
|
|
|
@protocol NeoVimUiBridgeProtocol;
|
|
@class NeoVimBuffer;
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface NeoVimAgent : NSObject
|
|
|
|
@property (nonatomic, weak) id <NeoVimUiBridgeProtocol> bridge;
|
|
|
|
- (instancetype)initWithUuid:(NSString *)uuid;
|
|
- (void)quit;
|
|
- (void)establishLocalServer;
|
|
|
|
- (void)vimCommand:(NSString *)string;
|
|
|
|
- (void)vimInput:(NSString *)string;
|
|
- (void)vimInputMarkedText:(NSString *_Nonnull)markedText;
|
|
- (void)deleteCharacters:(NSInteger)count;
|
|
|
|
- (void)resizeToWidth:(int)width height:(int)height;
|
|
|
|
- (bool)hasDirtyDocs;
|
|
- (NSArray<NSString *> *)escapedFileNames:(NSArray<NSString *> *)fileNames;
|
|
- (NSArray<NeoVimBuffer *> *)buffers;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|