mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-01 01:32:04 +03:00
4b4ccd13b3
- Use it to determine whether to close the window or not.
33 lines
626 B
Objective-C
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
|