ÆÄÀÏÀ» ÅØ½ºÆ® ¿¡µðÅÍ·Î ¿¾î¼ ³»¿ëÀ» ´ÙÀ½°ú °°ÀÌ ¹Ù²Û´Ù.
TSynGalaxySyn {first Identifier is considered to be the Class Name }
tk {second Identifier is considered to be the Identifier Prefix }
IdentStart '_', 'a'..'z', 'A'..'Z':: '_', '0'..'9', 'a'..'z', 'A'..'Z'::
TOKENTYPES
Identifier
Comment Foreground=clGreen
Space
String Foreground=clRed
Key Foreground=clBlue|Style=[fsBold]
FunctionKeys Foreground=clNavy
|><|
KEYS
and
break
do
else elseif end
false for function
global
if in
local
nil not
or
repeat return
then true
until
while
for
|><|
KEYS FunctionKeys
abs acos asin assert atan atan2
byte
ceil char clock close collectgarbage concat cos create
date debug deg difftime dofile dump
error execute exit exp
find floor flush foreach foreachi format frexp
gcinfo getenv getfenv gethook getinfo getlocal getmetatable getn getupvalue gfind gsub
input insert ipairs
ldexp len lines loadfile loadlib loadstring log log10 lower
max min mod
next
open output
pairs pcall pow print
rad random randomseed rawequal rawget rawset read remove rename rep require resume
seek setfenv sethook setlocal setlocale setmetatable setn setupvalue sin sort sqrt status sub
tan time tmpfile tmpname tonumber tostring traceback type
unpack upper
wrap write
xpcall
yield
|><|
CHARS
'A'..'Z', 'a'..'z', '_':: Ident
BeginProc
fTokenID := IdentKind((fLine + Run));
inc(Run, fStringLen);
while Identifiers[fLine[Run]] do
Inc(Run);
EndProc
|><|
ENCLOSEDBY
Comment,BlockComment,--[[,--]],MultiLine
String,String,","
String,BlockString,[[,]],MultiLine
|><|
SAMPLESOURCE
/* this is sample source for lua script */
/* This hightlight will recognize a lua script */
const char* myString = "this is string";
int a = 0;
|><|