! Syntax highlighting patterns for Awk ! ! INSTALLATION ! ! Load this pattern by starting nedit with: ! ! nedit -import ! ! Then, check that the patterns were loaded correctly, and choose Save Defaults ! from the Preferences menu. The new patterns will now be incorporated into ! your own .nedit file, so the next time you start NEdit, you will no longer ! need to use -import. ! ! These comments will not appear in your ~/.nedit ! nedit.highlightPatterns: Awk:2:0{\n\ Comment:"#":"$"::Comment::\n\ Pattern:"/(\\\\.|([[][]]?[^]]+[]])|[^/])+/":::Preprocessor::\n\ Keyword:"<(return|print|printf|if|else|while|for|in|do|break|continue|next|exit|close|system|getline)>":::Keyword::D\n\ String:"""":"""":"\\n":String1::\n\ String escape:"\\\\(.|\\n)":::String1:String:\n\ Builtin functions:"<(atan2|cos|exp|int|log|rand|sin|sqrt|srand|gsub|index|length|match|split|sprintf|sub|substr)>":::Keyword::D\n\ Gawk builtin functions:"<(fflush|gensub|tolower|toupper|systime|strftime)>":::Text Key1::D\n\ Builtin variables:"<(ARGC|ARGV|FILENAME|FNR|FS|NF|NR|OFMT|OFS|ORS|RLENGTH|RS|RSTART|SUBSEP)>":::Storage Type::D\n\ Gawk builtin variables:"""<(ARGIND|ERRNO|RT|IGNORECASE|FIELDWIDTHS)>""":::Storage Type::D\n\ Field:"\\$[0-9a-zA-Z_]+|\\$[ \\t]*\\([^,;]*\\)":::Storage Type::D\n\ BeginEnd:"<(BEGIN|END)>":::Preprocessor1::D\n\ Numeric constant:"<((0(x|X)[0-9a-fA-F]*)|[0-9.]+((e|E)(\\+|-)?)?[0-9]*)(L|l|UL|ul|u|U|F|f)?>":::Numeric Const::D\n\ String pattern:"~[ \\t]*""":"""":"\\n":Preprocessor::\n\ String pattern escape:"\\\\(.|\\n)":::Preprocessor:String pattern:\n\ newline escape:"\\\\$":::Preprocessor1::\n\ Function:"function":::Preprocessor1::D\n\ } nedit.languageModes: Awk:.awk:::::: ! generated with ./extract_lang.pl version 0.1