1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-24 11:37:32 +03:00
vimr/SwiftNeoVim/NeoVimAgent.h

38 lines
759 B
C
Raw Normal View History

/**
* Tae Won Ha - http://taewon.de - @hataewon
* See LICENSE
*/
@import Cocoa;
2016-07-09 23:52:59 +03:00
@protocol NeoVimUiBridgeProtocol;
2016-08-12 15:32:42 +03:00
@class NeoVimBuffer;
2016-07-09 23:52:59 +03:00
NS_ASSUME_NONNULL_BEGIN
@interface NeoVimAgent : NSObject
2016-07-09 23:52:59 +03:00
@property (nonatomic, weak) id <NeoVimUiBridgeProtocol> bridge;
- (instancetype)initWithUuid:(NSString *)uuid;
- (void)quit;
2016-07-09 23:52:59 +03:00
- (void)establishLocalServer;
- (void)vimCommand:(NSString *)string;
2016-07-09 23:52:59 +03:00
- (void)vimInput:(NSString *)string;
- (void)vimInputMarkedText:(NSString *_Nonnull)markedText;
- (void)deleteCharacters:(NSInteger)count;
2016-08-09 22:54:56 +03:00
2016-07-09 23:52:59 +03:00
- (void)resizeToWidth:(int)width height:(int)height;
- (bool)hasDirtyDocs;
2016-08-13 12:20:03 +03:00
- (NSArray<NSString *> *)escapedFileNames:(NSArray<NSString *> *)fileNames;
- (NSArray<NeoVimBuffer *> *)buffers;
@end
NS_ASSUME_NONNULL_END