# Subject: Icon syntax highlighting file for Code-Genie
# Date: Fri, 22 Nov 2002 13:02:19 -0600
# From: Jon Leger <JLeger@AFSLogistics.com>
# To: icon-project@CS.Arizona.EDU
#
# I have put together a syntax highlighting file for Code-Genie
# that color-codes Icon/Unicon code. Code-Genie, if you aren't aware,
# is a freeware source code editor for Windows. It's a pretty
# groovy one, too (imho).
#
# I've attached the file. It goes in the "syn" directory
# under the main program directory. One line needs to be put
# into the settings file.
#
# DefaultSyntax icon icn
#
# It goes below the other DefaultSyntax lines.
# The Icon Programming Language
# http://www.cs.arizona.edu/icon/
#
# Also works with Unicon.
# http://unicon.sourceforge.net
#
# If you've found this useful or have any
# questions or comments, please feel free
# to contact me, Jonathan Leger, at:
# jonathanleger@yahoo.com
CaseInsensitive false
BlockStart string "
BlockEnd string "
BlockNotEnd string \\"
FgColor string #FF0000
BlockStart cset '
BlockEnd cset '
BlockNotEnd cset \\'
FgColor cset #FF6820
BlockStart comment #
BlockEnd comment \n
Format comment i
FgColor comment #7B7BC0
Operator operators
+-~=@^*?!/\\.<>:|{}
FgColor operators #0000ff
KeywordGroup operator_keys
not
FgColor operator_keys #0000ff
Operator comma
,
Format comma b
FgColor comma #009300
Operator parens
()
Format parens b
FgColor parens #4B0082
Operator generators
!
Operator lists
[]
Format lists b
FgColor lists #68838B
Format generators b
FgColor generators #0000ff
KeywordGroup keywords
if then else while do until every repeat procedure end local global default return break by case create fail initial link next of record static suspend to
Format keywords b
FgColor keywords #0000ff
KeywordGroup functions
abs acos any args asin atan bal callout center char chdir close collect copy cos cset delay delete detab display dtor entab errorclear exit exp find flush function get getch getche getenv iand icom image insert integer ior ishift ixor kbhit key left list loadfunc log many map match member move name numeric open ord pop pos proc pull push put read reads real remove rename repl reverse right rtod runerr save seek seq set sin sort sortf sqrt stop string system tab table tan trim type upto variable where write writes