styles.c
来自「C语言编程中算法数据结构中的树行代码」· C语言 代码 · 共 976 行 · 第 1/5 页
C
976 行
"nokeyword noljmp nom510 none nonunique nooldmacros nooldstructs "
"noreadonly noscoped nosignextend nothing notpublic oldmacros oldstructs "
"os_dos para private prologue radix readonly req scoped setif2 smallstack "
"tiny use16 use32 uses # nasm directives, mostly complete, does not parse "
"properly a16 a32 o16 o32 byte word dword nosplit $ $$ seq wrt flat large "
"small .text .data .bss near far %0 %1 %2 %3 %4 %5 %6 %7 %8 %9",
"addpd addps addsd addss andpd andps andnpd andnps cmpeqpd cmpltpd "
"cmplepd cmpunordpd cmpnepd cmpnltpd cmpnlepd cmpordpd cmpeqps "
"cmpltps cmpleps cmpunordps cmpneps cmpnltps cmpnleps cmpordps "
"cmpeqsd cmpltsd cmplesd cmpunordsd cmpnesd cmpnltsd cmpnlesd "
"cmpordsd cmpeqss cmpltss cmpless cmpunordss cmpness cmpnltss "
"cmpnless cmpordss comisd comiss cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi "
"cvtpd2ps cvtpi2pd cvtpi2ps cvtps2dq cvtps2pd cvtps2pi cvtss2sd "
"cvtss2si cvtsd2si cvtsd2ss cvtsi2sd cvtsi2ss cvttpd2dq cvttpd2pi "
"cvttps2dq cvttps2pi cvttsd2si cvttss2si divpd divps divsd divss fxrstor "
"fxsave ldmxscr lfence mfence maskmovdqu maskmovdq maxpd maxps "
"paxsd maxss minpd minps minsd minss movapd movaps movdq2q movdqa "
"movdqu movhlps movhpd movhps movd movq movlhps movlpd movlps "
"movmskpd movmskps movntdq movnti movntpd movntps movntq "
"movq2dq movsd movss movupd movups mulpd mulps mulsd mulss orpd "
"orps packssdw packsswb packuswb paddb paddsb paddw paddsw paddd "
"paddsiw paddq paddusb paddusw pand pandn pause paveb pavgb pavgw "
"pavgusb pdistib pextrw pcmpeqb pcmpeqw pcmpeqd pcmpgtb pcmpgtw "
"pcmpgtd pf2id pf2iw pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin "
"pfmul pmachriw pmaddwd pmagw pmaxsw pmaxub pminsw pminub "
"pmovmskb pmulhrwc pmulhriw pmulhrwa pmulhuw pmulhw pmullw pmuludq "
"pmvzb pmvnzb pmvlzb pmvgezb pfnacc pfpnacc por prefetch prefetchw "
"prefetchnta prefetcht0 prefetcht1 prefetcht2 pfrcp pfrcpit1 pfrcpit2 "
"pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pf2iw pinsrw psadbw pshufd pshufhw "
"pshuflw pshufw psllw pslld psllq pslldq psraw psrad psrlw psrld psrlq psrldq "
"psubb psubw psubd psubq psubsb psubsw psubusb psubusw psubsiw "
"pswapd punpckhbw punpckhwd punpckhdq punpckhqdq punpcklbw "
"punpcklwd punpckldq punpcklqdq pxor rcpps rcpss rsqrtps rsqrtss sfence "
"shufpd shufps sqrtpd sqrtps sqrtsd sqrtss stmxcsr subpd subps subsd "
"subss ucomisd ucomiss unpckhpd unpckhps unpcklpd unpcklps xorpd xorps",
"", "", "" };
EDITLEXER lexASM = { SCLEX_ASM, "Assembly Script", "asm", "", &KeyWords_ASM, {
{ STYLE_DEFAULT, "Default", "", "" },
//{ SCE_ASM_DEFAULT, "Default", "", "" },
{ SCE_ASM_COMMENT, "Comment", "fore:#008000", "" },
//{ SCE_ASM_COMMENTBLOCK, "Comment Block (not used)", "", "" },
{ SCE_ASM_NUMBER, "Number", "fore:#FF0000", "" },
{ SCE_ASM_STRING, "String double quoted", "fore:#008000", "" },
{ SCE_ASM_CHARACTER, "String single quoted", "fore:#008000", "" },
{ SCE_ASM_STRINGEOL, "String not closed", "fore:#008000;back:#FFFF80;eolfilled", "" },
{ SCE_ASM_OPERATOR, "Operator", "fore:#0A246A", "" },
{ SCE_ASM_IDENTIFIER, "Identifier", "", "" },
{ SCE_ASM_CPUINSTRUCTION, "CPU Instruction", "fore:#0A246A", "" },
{ SCE_ASM_MATHINSTRUCTION, "FPU Instruction", "fore:#0A246A", "" },
{ SCE_ASM_REGISTER, "Register", "fore:#FF8000", "" },
{ SCE_ASM_DIRECTIVE, "Directive", "fore:#0A246A", "" },
{ SCE_ASM_DIRECTIVEOPERAND, "Directive Operand", "fore:#0A246A", "" },
{ SCE_ASM_EXTINSTRUCTION, "Extended Instruction", "fore:#0A246A", "" },
{ -1, "", "", "" } } };
KEYWORDLIST KeyWords_PL = {
"NULL __FILE__ __LINE__ __PACKAGE__ __DATA__ __END__ AUTOLOAD "
"BEGIN CORE DESTROY END EQ GE GT INIT LE LT NE CHECK abs accept alarm "
"and atan2 bind binmode bless caller chdir chmod chomp chop chown chr "
"chroot close closedir cmp connect continue cos crypt dbmclose dbmopen "
"defined delete die do dump each else elsif endgrent endhostent endnetent "
"endprotoent endpwent endservent eof eq eval exec exists exit exp fcntl "
"fileno flock for foreach fork format formline ge getc getgrent getgrgid "
"getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr "
"getnetbyname getnetent getpeername getpgrp getppid getpriority "
"getprotobyname getprotobynumber getprotoent getpwent getpwnam "
"getpwuid getservbyname getservbyport getservent getsockname "
"getsockopt glob gmtime goto grep gt hex if index int ioctl join keys kill last lc "
"lcfirst le length link listen local localtime lock log lstat lt m map mkdir msgctl "
"msgget msgrcv msgsnd my ne next no not oct open opendir or ord our pack "
"package pipe pop pos print printf prototype push q qq qr quotemeta qu qw "
"qx rand read readdir readline readlink readpipe recv redo ref rename require "
"reset return reverse rewinddir rindex rmdir s scalar seek seekdir select "
"semctl semget semop send setgrent sethostent setnetent setpgrp "
"setpriority setprotoent setpwent setservent setsockopt shift shmctl shmget "
"shmread shmwrite shutdown sin sleep socket socketpair sort splice split "
"sprintf sqrt srand stat study sub substr symlink syscall sysopen sysread "
"sysseek system syswrite tell telldir tie tied time times tr truncate uc ucfirst "
"umask undef unless unlink unpack unshift untie until use utime values vec "
"wait waitpid wantarray warn while write x xor y",
"", "", "", "", "", "", "", "" };
EDITLEXER lexPL = { SCLEX_PERL, "Perl Script", "pl;pm;cgi;pod", "", &KeyWords_PL, {
{ STYLE_DEFAULT, "Default", "", "" },
//{ SCE_PL_DEFAULT, "Default", "", "" },
{ SCE_PL_ERROR, "Error", "", "" },
{ SCE_PL_COMMENTLINE, "Comment", "fore:#008000", "" },
{ SCE_PL_NUMBER, "Number", "", "" },
{ SCE_PL_WORD, "Keyword", "fore:#FF8000;bold", "" },
{ SCE_PL_STRING, "String double quoted", "fore:#008000", "" },
{ SCE_PL_CHARACTER, "String single quoted", "fore:#008000", "" },
//{ SCE_PL_PUNCTUATION, "Symbols / Punctuation (not used)", "", "" },
//{ SCE_PL_PREPROCESSOR, "Preprocessor (not used)", "", "" },
{ SCE_PL_OPERATOR, "Operator", "", "" },
{ SCE_PL_IDENTIFIER, "Identifier", "", "" },
{ SCE_PL_POD, "POD at beginning of line", "", "" },
{ SCE_PL_POD_VERB, "POD verbatim paragraphs", "", "" },
{ SCE_PL_SCALAR, "Scalar $", "", "" },
{ SCE_PL_ARRAY, "Array @", "", "" },
{ SCE_PL_HASH, "Hash %", "", "" },
{ SCE_PL_SYMBOLTABLE, "Symbol Table *", "", "" },
{ SCE_PL_REGEX, "Regex /re/ or m{re}", "", "" },
{ SCE_PL_REGSUBST, "Substitution s/re/or e/", "", "" },
//{ SCE_PL_LONGQUOTE, "Long Quote (qq, qr, qw, qx) (not used)", "", "" },
{ SCE_PL_BACKTICKS, "Back Ticks", "", "" },
{ SCE_PL_DATASECTION, "Data Section", "", "" },
{ SCE_PL_HERE_DELIM, "Here-doc (Delimiter)", "", "" },
{ SCE_PL_HERE_Q, "Here-doc (Single quoted, q)", "", "" },
{ SCE_PL_HERE_QQ, "Here-doc (Double quoted, qq)", "", "" },
{ SCE_PL_HERE_QX, "Here-doc (Back ticks, qx)", "", "" },
{ SCE_PL_STRING_Q, "Single quoted string, generic (q)", "", "" },
{ SCE_PL_STRING_QQ, "Double quoted string (qq)", "", "" },
{ SCE_PL_STRING_QX, "Back ticks (qx)", "", "" },
{ SCE_PL_STRING_QR, "Regex (qr)", "", "" },
{ SCE_PL_STRING_QW, "Array (qw)", "", "" },
{ -1, "", "", "" } } };
KEYWORDLIST KeyWords_INI = {
"", "", "", "", "", "", "", "", "" };
EDITLEXER lexINI = { SCLEX_PROPERTIES, "Configuration Files", "ini;inf;reg;cfg;properties;url;sif", "", &KeyWords_INI, {
{ STYLE_DEFAULT, "Default", "", "" },
//{ SCE_PROPS_DEFAULT, "Default", "", "" },
{ SCE_PROPS_COMMENT, "Comment", "fore:#008000", "" },
{ SCE_PROPS_SECTION, "Section", "back:#FF8040;bold;eolfilled", "" },
{ SCE_PROPS_ASSIGNMENT, "Assignment", "fore:#FF0000", "" },
{ SCE_PROPS_DEFVAL, "Default Value", "fore:#FF0000", "" },
{ -1, "", "", "" } } };
KEYWORDLIST KeyWords_BAT = {
"rem set if exist errorlevel for in do break call chcp cd chdir choice cls "
"country ctty date del erase dir echo exit goto loadfix loadhigh mkdir md "
"move path pause prompt rename ren rmdir rd shift time type ver verify vol "
"com con lpt nul echo.",
"", "", "", "", "", "", "", "" };
EDITLEXER lexBAT = { SCLEX_BATCH, "Batch Files", "bat;cmd", "", &KeyWords_BAT, {
{ STYLE_DEFAULT, "Default", "", "" },
//{ SCE_BAT_DEFAULT, "Default", "", "" },
{ SCE_BAT_COMMENT, "Comment", "fore:#008000", "" },
{ SCE_BAT_WORD, "Keyword", "bold;fore:#0A246A", "" },
{ SCE_BAT_LABEL, "Label", "fore:#800000;back:#FFFF80;eolfilled", "" },
{ SCE_BAT_HIDE, "Hide", "", "" },
{ SCE_BAT_COMMAND, "Command", "bold", "" },
{ SCE_BAT_IDENTIFIER, "Identifier", "", "" },
{ SCE_BAT_OPERATOR, "Operator", "", "" },
{ -1, "", "", "" } } };
KEYWORDLIST KeyWords_DIFF = {
"", "", "", "", "", "", "", "", "" };
EDITLEXER lexDIFF = { SCLEX_DIFF, "Diff Files", "diff;patch", "", &KeyWords_DIFF, {
{ STYLE_DEFAULT, "Default", "", "" },
//{ SCE_DIFF_DEFAULT, "Default", "", "" },
{ SCE_DIFF_COMMENT, "Comment", "fore:#008000", "" },
{ SCE_DIFF_COMMAND, "Command", "bold;fore:#0A246A", "" },
{ SCE_DIFF_HEADER, "Source and Destination Files", "fore:#800000;back:#FFFF80;eolfilled", "" },
{ SCE_DIFF_POSITION, "Position Setting", "fore:#FF0000", "" },
{ SCE_DIFF_ADDED, "Line Addition", "back:#80FF80;eolfilled", "" },
{ SCE_DIFF_DELETED, "Line Removal", "back:#FF8080;eolfilled", "" },
{ -1, "", "", "" } } };
KEYWORDLIST KeyWords_SQL = {
"abort accessible action add after all alter analyze and as asc asensitive attach autoincrement "
"before begin between bigint binary bit blob both by call cascade case cast change char character "
"check collate column commit condition conflict constraint continue convert create cross current_date "
"current_time current_timestamp current_user cursor database databases date day_hour day_microsecond "
"day_minute day_second dec decimal declare default deferrable deferred delayed delete desc describe "
"detach deterministic distinct distinctrow div double drop dual each else elseif enclosed end enum "
"escape escaped except exclusive exists exit explain fail false fetch float float4 float8 for force "
"foreign from full fulltext glob grant group having high_priority hour_microsecond hour_minute "
"hour_second if ignore immediate in index infile initially inner inout insensitive insert instead int "
"int1 int2 int3 int4 int8 integer intersect interval into is isnull iterate join key keys kill "
"leading leave left like limit linear lines load localtime localtimestamp lock long longblob longtext "
"loop low_priority master_ssl_verify_server_cert match mediumblob mediumint mediumtext middleint "
"minute_microsecond minute_second mod modifies natural no no_write_to_binlog not notnull null numeric "
"of offset on optimize option optionally or order out outer outfile plan pragma precision primary "
"procedure purge query raise range read read_only read_write reads real references regexp reindex "
"release rename repeat replace require restrict return revoke right rlike rollback row rowid schema "
"sc
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?