2018-01-20 20:18:12 +03:00
|
|
|
/**
|
|
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
|
|
* See LICENSE
|
|
|
|
*/
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
2018-08-27 19:44:42 +03:00
|
|
|
typedef NS_OPTIONS(NSUInteger, FontTrait) {
|
2018-01-20 20:18:12 +03:00
|
|
|
FontTraitNone = 0,
|
|
|
|
FontTraitItalic = (1 << 0),
|
|
|
|
FontTraitBold = (1 << 1),
|
|
|
|
FontTraitUnderline = (1 << 2),
|
|
|
|
FontTraitUndercurl = (1 << 3)
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef NS_ENUM(NSInteger, RenderDataType) {
|
2018-08-27 19:44:42 +03:00
|
|
|
RenderDataTypeRawLine,
|
2018-01-20 20:18:12 +03:00
|
|
|
RenderDataTypeGoto,
|
2018-09-01 21:57:49 +03:00
|
|
|
RenderDataTypeScroll,
|
2018-01-20 20:18:12 +03:00
|
|
|
};
|
2018-01-21 16:16:07 +03:00
|
|
|
|
2018-01-23 22:40:20 +03:00
|
|
|
typedef NS_ENUM(NSInteger, NvimServerMsgId) {
|
|
|
|
NvimServerMsgIdServerReady = 0,
|
|
|
|
NvimServerMsgIdNvimReady,
|
|
|
|
NvimServerMsgIdResize,
|
|
|
|
NvimServerMsgIdClear,
|
|
|
|
NvimServerMsgIdSetMenu,
|
|
|
|
NvimServerMsgIdBusyStart,
|
|
|
|
NvimServerMsgIdBusyStop,
|
|
|
|
NvimServerMsgIdModeChange,
|
|
|
|
NvimServerMsgIdBell,
|
|
|
|
NvimServerMsgIdVisualBell,
|
|
|
|
NvimServerMsgIdFlush,
|
2018-08-02 12:46:01 +03:00
|
|
|
NvimServerMsgIdHighlightAttrs,
|
2018-01-23 22:40:20 +03:00
|
|
|
NvimServerMsgIdSetTitle,
|
|
|
|
NvimServerMsgIdStop,
|
2018-03-18 18:47:08 +03:00
|
|
|
NvimServerMsgIdOptionSet,
|
2018-01-21 16:16:07 +03:00
|
|
|
|
2018-01-23 22:40:20 +03:00
|
|
|
NvimServerMsgIdDirtyStatusChanged,
|
|
|
|
NvimServerMsgIdCwdChanged,
|
|
|
|
NvimServerMsgIdColorSchemeChanged,
|
2018-02-11 17:33:55 +03:00
|
|
|
NvimServerMsgIdDefaultColorsChanged,
|
2018-01-23 22:40:20 +03:00
|
|
|
NvimServerMsgIdAutoCommandEvent,
|
2018-01-21 16:16:07 +03:00
|
|
|
|
2018-01-23 22:40:20 +03:00
|
|
|
NvimServerMsgIdDebug1,
|
2018-01-21 16:16:07 +03:00
|
|
|
};
|
|
|
|
|
2018-01-23 22:40:20 +03:00
|
|
|
typedef NS_ENUM(NSInteger, NvimBridgeMsgId) {
|
|
|
|
NvimBridgeMsgIdAgentReady = 0,
|
2019-03-01 00:55:45 +03:00
|
|
|
NvimBridgeMsgIdReadyForRpcEvents,
|
2018-01-23 22:40:20 +03:00
|
|
|
NvimBridgeMsgIdInput,
|
2018-10-03 15:36:28 +03:00
|
|
|
NvimBridgeMsgIdDeleteInput,
|
2018-01-23 22:40:20 +03:00
|
|
|
NvimBridgeMsgIdResize,
|
|
|
|
NvimBridgeMsgIdScroll,
|
2018-01-21 16:16:07 +03:00
|
|
|
|
2018-01-23 22:40:20 +03:00
|
|
|
NvimBridgeMsgIdFocusGained,
|
2018-01-21 16:16:07 +03:00
|
|
|
|
2018-01-23 22:40:20 +03:00
|
|
|
NvimBridgeMsgIdDebug1,
|
2018-01-21 16:16:07 +03:00
|
|
|
};
|