diff --git a/editor/crimson/link/extension.sp b/editor/crimson/link/extension.sp new file mode 100644 index 00000000..c2f792cf --- /dev/null +++ b/editor/crimson/link/extension.sp @@ -0,0 +1,2 @@ +LANGSPEC:SOURCEPAWN.SPC +KEYWORDS:SOURCEPAWN.KEY \ No newline at end of file diff --git a/editor/crimson/sourcepawn.key b/editor/crimson/sourcepawn.key new file mode 100644 index 00000000..86155320 --- /dev/null +++ b/editor/crimson/sourcepawn.key @@ -0,0 +1,48 @@ +[-COMMENT-:GLOBAL] +# =================================================================== +# "SourcePawn" LANGUAGE KEYWORD FILE FOR CRIMSON EDITOR +# Created by David Anderson +# =================================================================== + +[KEYWORDS0:GLOBAL] +# Statements +assert begin break case continue default defined do else enum exit for +forward funcenum functag if native new decl operator return struct switch while + +[KEYWORDS1:GLOBAL] +# Operators +cellsof chars sizeof tagof + +# Predefined constants +false true cellbits cellmax cellmin charbits charmax charmin myinfo INVALID_HANDLE +__version + +# Predefined tag names +bool Float Handle String + +[KEYWORDS2:GLOBAL] +# Directives + #assert #define #else #elseif #emit #endif #endinput #endscript #if #include + #pragma #error #tryinclude #undef + +# Extra information for #pragma +align ctrlchar dynamic library pack rational semicolon tabsize + +[KEYWORDS3:GLOBAL] +# Others +const public static stock + +[KEYWORDS4:GLOBAL] +#:TODO: + +[KEYWORDS5:GLOBAL] +#:TODO: + +[KEYWORDS6:GLOBAL] +#:TODO: + +[KEYWORDS6:GLOBAL] +#:TODO: + +[KEYWORDS8:GLOBAL] +#:TODO: diff --git a/editor/crimson/sourcepawn.spc b/editor/crimson/sourcepawn.spc new file mode 100644 index 00000000..4e76d299 --- /dev/null +++ b/editor/crimson/sourcepawn.spc @@ -0,0 +1,21 @@ +# =================================================================== +# "SourcePawn" LANGUAGE SPECIFICATION FILE FOR CRIMSON EDITOR +# Created by David Anderson +# +# =================================================================== + +$BLOCKCOMMENTON=/* +$BLOCKCOMMENTOFF=*/ +$CASESENSITIVE=YES +$DELIMITERS=~`!@#$%^&*()-+=|\{}[]:;"',.<>/? +$ESCAPECHAR=\ +$HEXADECIMALMARK=0x +$INDENTATIONON={ +$INDENTATIONOFF=} +$KEYWORDPREFIX=# +$LINECOMMENT=// +$PAIRS1=() +$PAIRS2=[] +$PAIRS3={} +$QUOTATIONMARK1=" +$QUOTATIONMARK2=' \ No newline at end of file diff --git a/editor/crimson/spec/sourcepawn.key b/editor/crimson/spec/sourcepawn.key new file mode 100644 index 00000000..86155320 --- /dev/null +++ b/editor/crimson/spec/sourcepawn.key @@ -0,0 +1,48 @@ +[-COMMENT-:GLOBAL] +# =================================================================== +# "SourcePawn" LANGUAGE KEYWORD FILE FOR CRIMSON EDITOR +# Created by David Anderson +# =================================================================== + +[KEYWORDS0:GLOBAL] +# Statements +assert begin break case continue default defined do else enum exit for +forward funcenum functag if native new decl operator return struct switch while + +[KEYWORDS1:GLOBAL] +# Operators +cellsof chars sizeof tagof + +# Predefined constants +false true cellbits cellmax cellmin charbits charmax charmin myinfo INVALID_HANDLE +__version + +# Predefined tag names +bool Float Handle String + +[KEYWORDS2:GLOBAL] +# Directives + #assert #define #else #elseif #emit #endif #endinput #endscript #if #include + #pragma #error #tryinclude #undef + +# Extra information for #pragma +align ctrlchar dynamic library pack rational semicolon tabsize + +[KEYWORDS3:GLOBAL] +# Others +const public static stock + +[KEYWORDS4:GLOBAL] +#:TODO: + +[KEYWORDS5:GLOBAL] +#:TODO: + +[KEYWORDS6:GLOBAL] +#:TODO: + +[KEYWORDS6:GLOBAL] +#:TODO: + +[KEYWORDS8:GLOBAL] +#:TODO: diff --git a/editor/crimson/spec/sourcepawn.spc b/editor/crimson/spec/sourcepawn.spc new file mode 100644 index 00000000..4e76d299 --- /dev/null +++ b/editor/crimson/spec/sourcepawn.spc @@ -0,0 +1,21 @@ +# =================================================================== +# "SourcePawn" LANGUAGE SPECIFICATION FILE FOR CRIMSON EDITOR +# Created by David Anderson +# +# =================================================================== + +$BLOCKCOMMENTON=/* +$BLOCKCOMMENTOFF=*/ +$CASESENSITIVE=YES +$DELIMITERS=~`!@#$%^&*()-+=|\{}[]:;"',.<>/? +$ESCAPECHAR=\ +$HEXADECIMALMARK=0x +$INDENTATIONON={ +$INDENTATIONOFF=} +$KEYWORDPREFIX=# +$LINECOMMENT=// +$PAIRS1=() +$PAIRS2=[] +$PAIRS3={} +$QUOTATIONMARK1=" +$QUOTATIONMARK2=' \ No newline at end of file diff --git a/plugins/admin-base.sma b/plugins/admin-base.sp similarity index 100% rename from plugins/admin-base.sma rename to plugins/admin-base.sp