From 15740faf9fe9fe4be08965098bbf2947e096aeeb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Aug 2019 22:50:43 +0800 Subject: +Unity Runtime code --- Runtime/Export/SyntaxDefs/template-csharp.plist | 140 ++++++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 Runtime/Export/SyntaxDefs/template-csharp.plist (limited to 'Runtime/Export/SyntaxDefs/template-csharp.plist') diff --git a/Runtime/Export/SyntaxDefs/template-csharp.plist b/Runtime/Export/SyntaxDefs/template-csharp.plist new file mode 100644 index 0000000..c764621 --- /dev/null +++ b/Runtime/Export/SyntaxDefs/template-csharp.plist @@ -0,0 +1,140 @@ + + + + + beginCommand + + endCommand + + beginInstruction + + endInstruction + + beginVariable + + endVariable + + firstString + " + secondString + ' + firstSingleLineComment + // + secondSingleLineComment + + beginFirstMultiLineComment + /* + endFirstMultiLineComment + */ + beginSecondMultiLineComment + + endSecondMultiLineComment + + functionDefinition + ^\s*(static|public|private|protected|internal).*\(.*\).*\n?\s*{ + removeFromFunction + + keywordsCaseSensitive + + recolourKeywordIfAlreadyColoured + + keywords + + abstract + as + base + break + case + catch + class + checked + continue + default + delegate + do + else + enum + event + explicit + extern + false + for + foreach + finally + fixed + goto + if + implicit + in + interface + internal + is + lock + namespace + new + null + operator + out + override + params + private + protected + public + readonly + ref + return + sealed + sizeof + stackalloc + static + struct + switch + this + throw + true + try + typeof + unchecked + unsafe + using + virtual + while + #if + #else + #elif + #endif + #define + #undef + #warning + #error + #line + bool + byte + char + const + decimal + double + float + int + long + object + uint + ushort + ulong + sbyte + short + string + void + + autocompleteWords + + REPLACE_SCRIPT_SYNTAX + IEnumerator + System + UnityEngine + UnityEditor + ArrayList + Length + + + -- cgit v1.1-26-g67d0