home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / nano / java.nanorc < prev    next >
Encoding:
Text File  |  2006-07-10  |  610 b   |  13 lines

  1. ## Here is an example for Java.
  2. ##
  3. syntax "java" "\.java$"
  4. color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
  5. color red "\<(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
  6. color cyan "\<(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\>"
  7. color red ""[^"]*""
  8. color yellow "\<(true|false|null)\>"
  9. color blue "//.*"
  10. color blue start="/\*" end="\*/"
  11. color brightblue start="/\*\*" end="\*/"
  12. color ,green "[[:space:]]+$"
  13.