JGCSCS 7 Download the Just Great Software Custom Syntax Coloring Scheme Editor from https://www.editpadpro.com/cscs.html to create and edit Just Great Software Custom Syntax Coloring Schemes TRUE GCode *.g,*.gcode,*.bak Frederick C. Wilt frederick.wilt@gmail.com FALSE ; 0 9 ; the first list is intended to be the name of the file ; this is a normal comment global a_global_variable var a_local_variable set global.a_global_variable = "hello" ; and end of line comment set var.a_local_variable = 123 1 0 0 0 18 Documentation comment \A;\N+$ FALSE FALSE doccomm 0 -1 -1 2 FALSE FALSE FALSE FALSE 0 0 TRUE 0 0 0 0 0 0 Single-line comment ;\N+$ ;\N+$ FALSE FALSE comm 0 -1 -1 2 FALSE FALSE FALSE FALSE 0 0 TRUE 0 0 0 0 0 0 Opening brace { FALSE FALSE brkts 0 -1 -1 3 FALSE FALSE FALSE 0 {} code FALSE } 2 0 TRUE 0 0 0 0 0 0 Closing brace } FALSE FALSE brkts 0 -1 -1 3 FALSE FALSE FALSE 0 {} code FALSE { 2 0 TRUE 0 0 0 0 0 0 Opening bracket \[ FALSE FALSE brkt 0 -1 -1 3 FALSE FALSE FALSE 0 [] code FALSE ] 2 0 TRUE 0 0 0 0 0 0 Closing bracket ] FALSE FALSE brkt 0 -1 -1 3 FALSE FALSE FALSE 0 [] code FALSE [ 2 0 TRUE 0 0 0 0 0 0 Opening parenthesis \( FALSE FALSE brkt 0 -1 -1 3 FALSE FALSE FALSE 0 () code FALSE ) 2 0 TRUE 0 0 0 0 0 0 Closing parenthesis \) FALSE FALSE brkt 0 -1 -1 3 FALSE FALSE FALSE 0 () code FALSE ( 2 0 TRUE 0 0 0 0 0 0 String Closing quote optional so an unclosed string is still colored as a string "[^"\v]*+"? FALSE FALSE str 0 -1 -1 6 FALSE FALSE FALSE code FALSE " 2 0 TRUE 0 0 0 0 0 0 Hexadecimal number We allow underscores at the end so the number doesn't flicker while it is being typed in \m0x[0-9A-F]+\M TRUE FALSE int 0 -1 -1 3 FALSE FALSE FALSE FALSE 0 0 TRUE 0 0 0 0 0 0 Float -?[0-9]+\.[0-9]{1,5}(?:e[+-]?[0-9]++)?$ TRUE FALSE float 0 -1 -1 3 FALSE FALSE FALSE FALSE 0 0 TRUE 0 0 0 0 0 0 Integer We allow underscores at the end so the number doesn't flicker while it is being typed in \m[0-9]+\M TRUE FALSE int 0 -1 -1 3 FALSE FALSE FALSE FALSE 0 0 TRUE 0 0 0 0 0 0 Variables \m(?:global|var)\.[A-Z_a-z]+\M FALSE FALSE var 0 -1 -1 3 FALSE FALSE FALSE FALSE 0 0 FALSE 0 0 0 0 0 0 Variable Declartion \m(?:global|var)[\t ]+[_a-zA-Z]+\M FALSE FALSE typ 0 -1 -1 3 FALSE FALSE FALSE FALSE 0 0 FALSE 0 0 0 0 0 0 Name constants \m(?:false|iterations|line|null|pi|result|true)\M FALSE FALSE const 0 -1 -1 3 FALSE FALSE FALSE FALSE 0 0 FALSE 0 0 0 0 0 0 Reserved words \m(?:echo|elif|else|global|if|set|var|while)\M FALSE FALSE keyword 0 -1 -1 3 TRUE FALSE FALSE FALSE 0 0 TRUE 0 0 0 0 0 0 Operator Don't repeat the character class so (/* is properly highlighted as a comment after a bracket [-+*/=<>%&^|!~?] FALSE FALSE op 0 -1 -1 3 FALSE FALSE FALSE FALSE 0 0 TRUE 0 0 0 0 0 0 Functions \m(?:abs|acos|asin|atan|atan2|cos|datetime|degrees|exists|floor|isnan|max|min|mod|radians|sin|sqrt|tan)\M FALSE FALSE func 0 -1 -1 3 FALSE FALSE FALSE FALSE 0 0 FALSE 0 0 0 0 0 0 0 0