1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-01 01:32:04 +03:00
vimr/SwiftNeoVim/NeoVimAgent.h
Tae Won Ha 4b4ccd13b3
GH-218 Add hasDirtyDocs()
- Use it to determine whether to close the window or not.
2016-07-18 20:16:56 +02:00

33 lines
626 B
Objective-C

/**
* Tae Won Ha - http://taewon.de - @hataewon
* See LICENSE
*/
#import <Foundation/Foundation.h>
@protocol NeoVimUiBridgeProtocol;
NS_ASSUME_NONNULL_BEGIN
@interface NeoVimAgent : NSObject
@property (nonatomic, weak) id <NeoVimUiBridgeProtocol> bridge;
- (instancetype)initWithUuid:(NSString *)uuid;
- (void)cleanUp;
- (void)establishLocalServer;
- (void)vimInput:(NSString *)string;
- (void)vimInputMarkedText:(NSString *_Nonnull)markedText;
- (void)deleteCharacters:(NSInteger)count;
- (void)forceRedraw;
- (void)resizeToWidth:(int)width height:(int)height;
- (bool)hasDirtyDocs;
@end
NS_ASSUME_NONNULL_END