php-kilo/tests/__snapshots__/EditorTest__testOpen__1.json
Timothy Warren 998102816e
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
Use c stdlib function to set up raw mode
2023-10-10 13:02:05 -04:00

2194 lines
67 KiB
JSON

{
"cursor": {
"x": 0,
"y": 0
},
"document": {
"fileType": {
"name": "C",
"syntax": {
"tokens": [],
"filetype": "C",
"keywords1": [
"auto",
"break",
"case",
"const",
"continue",
"default",
"do",
"typedef",
"switch",
"return",
"static",
"while",
"break",
"struct",
"extern",
"union",
"class",
"else",
"enum",
"for",
"case",
"if",
"inline",
"register",
"restrict",
"return",
"sizeof",
"switch",
"typedef",
"union",
"volatile"
],
"keywords2": [
"#include",
"unsigned",
"#define",
"#ifndef",
"double",
"signed",
"#endif",
"#ifdef",
"float",
"#error",
"#undef",
"#elif",
"long",
"char",
"int",
"void",
"#if",
"uint32_t",
"wchar_t",
"int32_t",
"int64_t",
"uint64_t",
"int16_t",
"uint16_t",
"uint8_t",
"int8_t",
"time_t",
"size_t"
],
"operators": [
"<=>",
"<<=",
">>=",
"++",
"--",
"==",
"!=",
">=",
"<=",
"&&",
"||",
"<<",
">>",
"+=",
"-=",
"*=",
"\/=",
"%=",
"&=",
"|=",
"^=",
"->",
"::"
],
"singleLineCommentStart": "\/\/",
"multiLineCommentStart": "\/*",
"multiLineCommentEnd": "*\/"
}
},
"tokens": [],
"filename": "src\/Terminal\/ffi.h",
"rows": [
{
"render": "\/**",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 0
},
{
"render": " * Interfaces for PHP FFI",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 1
},
{
"render": " *",
"hl": [
"MultiLineComment",
"MultiLineComment"
],
"idx": 2
},
{
"render": " * Most of the structure code is cribbed from GLib",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 3
},
{
"render": " *",
"hl": [
"MultiLineComment",
"MultiLineComment"
],
"idx": 4
},
{
"render": " * Defines are not (generally) recognized by the FFI integration",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 5
},
{
"render": " *\/",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 6
},
{
"render": "",
"hl": [],
"idx": 7
},
{
"render": "\/\/ PHP 'constants' for FFI integration",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 8
},
{
"render": "\/\/ These seem to be the only define statements supported by the FFI integration",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 9
},
{
"render": "#define FFI_SCOPE \"terminal\"",
"hl": [
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String"
],
"idx": 10
},
{
"render": "#define FFI_LIB \"libc.so\"",
"hl": [
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String"
],
"idx": 11
},
{
"render": "",
"hl": [],
"idx": 12
},
{
"render": "\/\/ Nonsense for a test with a single quote",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 13
},
{
"render": "\/\/ Ignored by PHP due to the octothorpe (#)",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 14
},
{
"render": "#if 0",
"hl": [
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Number"
],
"idx": 15
},
{
"render": "# char* x = \"String with \\\" escape char\";",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Operator",
"Normal",
"Normal",
"Normal",
"Operator",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Operator"
],
"idx": 16
},
{
"render": "# char y = 'q';",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Operator",
"Normal",
"Character",
"Character",
"Character",
"Operator"
],
"idx": 17
},
{
"render": "#endif",
"hl": [
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2"
],
"idx": 18
},
{
"render": "",
"hl": [],
"idx": 19
},
{
"render": "\/\/ -----------------------------------------------------------------------------",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 20
},
{
"render": "\/\/! <termios.h>",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 21
},
{
"render": "\/\/ -----------------------------------------------------------------------------",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 22
},
{
"render": "",
"hl": [],
"idx": 23
},
{
"render": "\/* Type of terminal control flag masks. *\/",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 24
},
{
"render": "typedef unsigned long int tcflag_t;",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator"
],
"idx": 25
},
{
"render": "",
"hl": [],
"idx": 26
},
{
"render": "\/* Type of control characters. *\/",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 27
},
{
"render": "typedef unsigned char cc_t;",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator"
],
"idx": 28
},
{
"render": "",
"hl": [],
"idx": 29
},
{
"render": "\/* Type of baud rate specifiers. *\/",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 30
},
{
"render": "typedef long int speed_t;",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator"
],
"idx": 31
},
{
"render": "",
"hl": [],
"idx": 32
},
{
"render": "\/* Terminal control structure. *\/",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 33
},
{
"render": "struct termios",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 34
},
{
"render": "{",
"hl": [
"Delimiter"
],
"idx": 35
},
{
"render": " \/* Input modes. *\/",
"hl": [
"Normal",
"Normal",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 36
},
{
"render": " tcflag_t c_iflag;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator"
],
"idx": 37
},
{
"render": "",
"hl": [],
"idx": 38
},
{
"render": " \/* Output modes. *\/",
"hl": [
"Normal",
"Normal",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 39
},
{
"render": " tcflag_t c_oflag;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator"
],
"idx": 40
},
{
"render": "",
"hl": [],
"idx": 41
},
{
"render": " \/* Control modes. *\/",
"hl": [
"Normal",
"Normal",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 42
},
{
"render": " tcflag_t c_cflag;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator"
],
"idx": 43
},
{
"render": "",
"hl": [],
"idx": 44
},
{
"render": " \/* Local modes. *\/",
"hl": [
"Normal",
"Normal",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 45
},
{
"render": " tcflag_t c_lflag;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator"
],
"idx": 46
},
{
"render": "",
"hl": [],
"idx": 47
},
{
"render": " \/* Control characters. *\/",
"hl": [
"Normal",
"Normal",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 48
},
{
"render": " cc_t c_cc[20];",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter",
"Number",
"Number",
"Delimiter",
"Operator"
],
"idx": 49
},
{
"render": "",
"hl": [],
"idx": 50
},
{
"render": " \/* Input and output baud rates. *\/",
"hl": [
"Normal",
"Normal",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 51
},
{
"render": " speed_t __ispeed, __ospeed;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator"
],
"idx": 52
},
{
"render": "};",
"hl": [
"Delimiter",
"Operator"
],
"idx": 53
},
{
"render": "",
"hl": [],
"idx": 54
},
{
"render": "int tcgetattr (int fd, struct termios *termios_p);",
"hl": [
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Operator",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter",
"Operator"
],
"idx": 55
},
{
"render": "int tcsetattr (int fd, int optional_actions, const struct termios *termios_p);",
"hl": [
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Operator",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter",
"Operator"
],
"idx": 56
},
{
"render": "void cfmakeraw(struct termios *);",
"hl": [
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator",
"Delimiter",
"Operator"
],
"idx": 57
},
{
"render": "",
"hl": [],
"idx": 58
},
{
"render": "\/\/ -----------------------------------------------------------------------------",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 59
},
{
"render": "\/\/! <sys\/ioctl.h>",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 60
},
{
"render": "\/\/ -----------------------------------------------------------------------------",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 61
},
{
"render": "struct winsize {",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter"
],
"idx": 62
},
{
"render": " unsigned short ws_row;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator"
],
"idx": 63
},
{
"render": " unsigned short ws_col;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator"
],
"idx": 64
},
{
"render": " unsigned short ws_xpixel;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator"
],
"idx": 65
},
{
"render": " unsigned short ws_ypixel;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Operator"
],
"idx": 66
},
{
"render": "};",
"hl": [
"Delimiter",
"Operator"
],
"idx": 67
},
{
"render": "int ioctl (int, int, ...);",
"hl": [
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter",
"Keyword2",
"Keyword2",
"Keyword2",
"Operator",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Operator",
"Normal",
"Operator",
"Operator",
"Operator",
"Delimiter",
"Operator"
],
"idx": 68
}
],
"dirty": false
},
"offset": {
"x": 0,
"y": 0
},
"renderX": 0,
"terminalSize": {
"rows": 21,
"cols": 80
},
"statusMessage": {
"text": "HELP: Ctrl-S = save | Ctrl-Q = quit | Ctrl-F = find",
"len": 51,
"time": 1234567890
}
}