From ea87f1977911c984c600edab73d62cfb10a52286 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 25 Jan 2007 21:42:54 +0000 Subject: [PATCH] changed source extension to .sp added crimson editor binds --HG-- rename : plugins/admin-base.sma => plugins/admin-base.sp extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40367 --- editor/crimson/link/extension.sp | 2 + editor/crimson/sourcepawn.key | 48 +++++++++++++++++++++++ editor/crimson/sourcepawn.spc | 21 ++++++++++ editor/crimson/spec/sourcepawn.key | 48 +++++++++++++++++++++++ editor/crimson/spec/sourcepawn.spc | 21 ++++++++++ plugins/{admin-base.sma => admin-base.sp} | 0 6 files changed, 140 insertions(+) create mode 100644 editor/crimson/link/extension.sp create mode 100644 editor/crimson/sourcepawn.key create mode 100644 editor/crimson/sourcepawn.spc create mode 100644 editor/crimson/spec/sourcepawn.key create mode 100644 editor/crimson/spec/sourcepawn.spc rename plugins/{admin-base.sma => admin-base.sp} (100%) 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