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-07-09 15:04:09 +03:00
|
|
|
NeoVimAgentMsgIdInput,
|
|
|
|
NeoVimAgentMsgIdInputMarked,
|
|
|
|
NeoVimAgentMsgIdDelete,
|
|
|
|
NeoVimAgentMsgIdResize,
|
|
|
|
NeoVimAgentMsgIdRedraw,
|
2016-07-18 21:16:56 +03:00
|
|
|
NeoVimAgentMsgIdDirtyDocs,
|
2016-07-09 15:04:09 +03:00
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
NeoVimAgentDebug1,
|
|
|
|
#endif
|
|
|
|
};
|