! Syntax highlighting patterns for Csh ! ! 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: Csh:1:0{\n\ Comment:"#":"$"::Comment::\n\ Single Quote String:"'":"([^\\\\]'|^')":"\\n":String::\n\ SQ String Esc Char:"\\\\([bcfnrt$\\n\\\\]|[0-9][0-9]?[0-9]?)":::String1:Single Quote String:\n\ Double Quote String:"""":"""":"\\n":String::\n\ DQ String Esc Char:"\\\\([bcfnrt\\n\\\\]|[0-9][0-9]?[0-9]?)":::String1:Double Quote String:\n\ Keywords:"(^|[`;()])[ ]*(return|if|endif|then|else|switch|endsw|while|end|foreach|do|done)>":::Keyword::D\n\ Variable Ref:"\\$([<$0-9\\*]|[#a-zA-Z_?][0-9a-zA-Z_[\\]]*(:([ehqrtx]|gh|gt|gr))?|\\{[#0-9a-zA-Z_?][a-zA-Z0-9_[\\]]*(:([ehqrtx]|gh|gt|gr))?})":::Identifier1::\n\ Variable in String:"\\$([<$0-9\\*]|[#a-zA-Z_?][0-9a-zA-Z_[\\]]*(:([ehqrtx]|gh|gt|gr))?|\\{[#0-9a-zA-Z_?][a-zA-Z0-9_[\\]]*(:([ehqrtx]|gh|gt|gr))?})":::Identifier1:Double Quote String:\n\ Naked Variable Cmds:"<(unset|set|setenv|shift)[ \\t]+[0-9a-zA-Z_]*(\\[.+\\])?":::Identifier1::\n\ Recolor Naked Cmd:"\\1":::Keyword:Naked Variable Cmds:C\n\ Built In Cmds:"(^|\\|&|[\\|`;()])[ ]*(alias|bg|break|breaksw|case|cd|chdir|continue|default|echo|eval|exec|exit|fg|goto|glob|hashstat|history|jobs|kill|limit|login|logout|nohup|notify|nice|onintr|popd|pushd|printenv|read|rehash|repeat|set|setenv|shift|source|suspend|time|umask|unalias|unhash|unlimit|unset|unsetenv|wait)>":::Keyword::D\n\ Tcsh Built In Cmds:"(^|\\|&|[\\|`;()])[ ]*(alloc|bindkey|builtins|complete|echotc|filetest|hup|log|sched|settc|setty|stop|telltc|uncomplete|where|which|dirs|ls-F)>":::Keyword::D\n\ Special Chars:"([-{};.,<>&~=!|^%[\\]\\+\\*\\|()])":::Keyword::D\n\ } nedit.languageModes: Csh:.csh .cshrc .login .logout:"^[ \\t]*#[ \\t]*![ \\t]*/bin/csh"::::: ! generated with ./extract_lang.pl version 0.1