2016-07-09 15:04:09 +03:00
|
|
|
/**
|
|
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
|
|
* See LICENSE
|
|
|
|
*/
|
|
|
|
|
2016-10-22 18:25:43 +03:00
|
|
|
@import Foundation;
|
2016-07-09 15:04:09 +03:00
|
|
|
|
|
|
|
|
2017-06-23 19:58:43 +03:00
|
|
|
typedef NS_ENUM(NSInteger, NeoVimServerMsgId) {
|
2016-11-20 23:50:31 +03:00
|
|
|
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,
|
|
|
|
NeoVimServerMsgIdSetTitle,
|
|
|
|
NeoVimServerMsgIdSetIcon,
|
|
|
|
NeoVimServerMsgIdStop,
|
|
|
|
|
2017-01-07 18:06:39 +03:00
|
|
|
NeoVimServerMsgIdDirtyStatusChanged,
|
2017-06-09 02:15:45 +03:00
|
|
|
NeoVimServerMsgIdCwdChanged,
|
2017-06-25 18:35:51 +03:00
|
|
|
NeoVimServerMsgIdColorSchemeChanged,
|
2016-12-19 23:31:16 +03:00
|
|
|
NeoVimServerMsgIdAutoCommandEvent,
|
|
|
|
|
2016-07-09 15:04:09 +03:00
|
|
|
#ifdef DEBUG
|
2016-11-20 23:50:31 +03:00
|
|
|
NeoVimServerDebug1,
|
2016-07-09 15:04:09 +03:00
|
|
|
#endif
|
|
|
|
};
|
|
|
|
|
2017-06-23 19:58:43 +03:00
|
|
|
typedef NS_ENUM(NSInteger, NeoVimAgentMsgId) {
|
2016-11-20 23:50:31 +03:00
|
|
|
NeoVimAgentMsgIdAgentReady = 0,
|
|
|
|
NeoVimAgentMsgIdInput,
|
|
|
|
NeoVimAgentMsgIdInputMarked,
|
|
|
|
NeoVimAgentMsgIdDelete,
|
2017-12-01 23:59:31 +03:00
|
|
|
NeoVimAgentMsgIdResize,
|
2017-05-30 23:13:52 +03:00
|
|
|
NeoVimAgentMsgIdScroll,
|
2016-08-25 00:06:39 +03:00
|
|
|
|
2016-11-20 23:50:31 +03:00
|
|
|
NeoVimAgentMsgIdGetEscapeFileNames,
|
2016-08-12 11:51:16 +03:00
|
|
|
|
2017-09-07 19:24:06 +03:00
|
|
|
NeoVimAgentMsgIdFocusGained,
|
|
|
|
|
2016-07-09 15:04:09 +03:00
|
|
|
#ifdef DEBUG
|
2016-11-20 23:50:31 +03:00
|
|
|
NeoVimAgentDebug1,
|
2016-07-09 15:04:09 +03:00
|
|
|
#endif
|
|
|
|
};
|