2016-07-09 15:04:09 +03:00
|
|
|
/**
|
|
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
|
|
* See LICENSE
|
|
|
|
*/
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
|
|
|
|
typedef NS_ENUM(NSUInteger, NeoVimServerMsgId) {
|
|
|
|
NeoVimServerMsgIdServerReady = 0,
|
|
|
|
NeoVimServerMsgIdNeoVimReady,
|
|
|
|
NeoVimServerMsgIdResize,
|
|
|
|
NeoVimServerMsgIdClear,
|
|
|
|
NeoVimServerMsgIdEolClear,
|
|
|
|
NeoVimServerMsgIdSetPosition,
|
|
|
|
NeoVimServerMsgIdSetMenu,
|
|
|
|
NeoVimServerMsgIdBusyStart,
|
|
|
|
NeoVimServerMsgIdBusyStop,
|
|
|
|
NeoVimServerMsgIdMouseOn,
|
|
|
|
NeoVimServerMsgIdMouseOff,
|
|
|
|
NeoVimServerMsgIdModeChange,
|
|
|
|
NeoVimServerMsgIdSetScrollRegion,
|
|
|
|
NeoVimServerMsgIdScroll,
|
|
|
|
NeoVimServerMsgIdSetHighlightAttributes,
|
|
|
|
NeoVimServerMsgIdPut,
|
|
|
|
NeoVimServerMsgIdPutMarked,
|
|
|
|
NeoVimServerMsgIdUnmark,
|
|
|
|
NeoVimServerMsgIdBell,
|
|
|
|
NeoVimServerMsgIdVisualBell,
|
|
|
|
NeoVimServerMsgIdFlush,
|
|
|
|
NeoVimServerMsgIdSetForeground,
|
|
|
|
NeoVimServerMsgIdSetBackground,
|
|
|
|
NeoVimServerMsgIdSetSpecial,
|
|
|
|
NeoVimServerMsgIdSuspend,
|
|
|
|
NeoVimServerMsgIdSetTitle,
|
|
|
|
NeoVimServerMsgIdSetIcon,
|
|
|
|
NeoVimServerMsgIdStop,
|
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
NeoVimServerDebug1,
|
|
|
|
#endif
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef NS_ENUM(NSUInteger, NeoVimAgentMsgId) {
|
2016-07-09 23:52:59 +03:00
|
|
|
NeoVimAgentMsgIdAgentReady = 0,
|
2016-08-04 21:01:03 +03:00
|
|
|
NeoVimAgentMsgIdCommand,
|
2016-07-09 15:04:09 +03:00
|
|
|
NeoVimAgentMsgIdInput,
|
|
|
|
NeoVimAgentMsgIdInputMarked,
|
|
|
|
NeoVimAgentMsgIdDelete,
|
|
|
|
NeoVimAgentMsgIdResize,
|
2016-08-12 15:32:42 +03:00
|
|
|
|
2016-08-12 19:00:05 +03:00
|
|
|
NeoVimAgentMsgIdQuit,
|
2016-07-18 21:16:56 +03:00
|
|
|
NeoVimAgentMsgIdDirtyDocs,
|
2016-08-12 11:51:16 +03:00
|
|
|
NeoVimAgentMsgIdEscapeFileNames,
|
2016-08-12 15:32:42 +03:00
|
|
|
NeoVimAgentMsgIdGetBuffers,
|
2016-08-12 11:51:16 +03:00
|
|
|
|
2016-07-09 15:04:09 +03:00
|
|
|
#ifdef DEBUG
|
|
|
|
NeoVimAgentDebug1,
|
|
|
|
#endif
|
|
|
|
};
|