beginCommand endCommand beginInstruction endInstruction beginVariable endVariable firstString " secondString ' firstSingleLineComment // secondSingleLineComment beginFirstMultiLineComment /* endFirstMultiLineComment */ beginSecondMultiLineComment endSecondMultiLineComment functionDefinition ^\s*function\s+.*\n?\s*{ removeFromFunction function keywordsCaseSensitive recolourKeywordIfAlreadyColoured keywords if else for in while do continue break with try catch switch case new var function return delete true false void throw typeof const default this as int float boolean string yield private protected public internal import String System UnityEngine UnityEditor ArrayList Length class struct enum extends static autocompleteWords REPLACE_SCRIPT_SYNTAX