Rev | Line | |
---|
[4] | 1 | # Defines the syntax highlighting for Groovy |
---|
| 2 | # |
---|
| 3 | # Author: FracPete (fracpete at waikato dot ac dot nz) |
---|
| 4 | # Version: $Revision: 5293 $ |
---|
| 5 | |
---|
| 6 | ######## |
---|
| 7 | # Font # |
---|
| 8 | ######## |
---|
| 9 | |
---|
| 10 | # the font name |
---|
| 11 | FontName=monospaced |
---|
| 12 | |
---|
| 13 | # the font size |
---|
| 14 | FontSize=12 |
---|
| 15 | |
---|
| 16 | ############################################# |
---|
| 17 | # Colors (R,G,B format can be used as well) # |
---|
| 18 | ############################################# |
---|
| 19 | |
---|
| 20 | # the font color |
---|
| 21 | ForegroundColor=black |
---|
| 22 | |
---|
| 23 | # the background color |
---|
| 24 | BackgroundColor=white |
---|
| 25 | |
---|
| 26 | # the color for keywords |
---|
| 27 | KeywordColor=blue |
---|
| 28 | |
---|
| 29 | # the color for comments |
---|
| 30 | CommentColor=gray |
---|
| 31 | |
---|
| 32 | # the color for strings |
---|
| 33 | StringColor=red |
---|
| 34 | |
---|
| 35 | ########## |
---|
| 36 | # Syntax # |
---|
| 37 | ########## |
---|
| 38 | |
---|
| 39 | # whether the syntax highlighting etc is on or not (true|false) |
---|
| 40 | Syntax=true |
---|
| 41 | |
---|
| 42 | # the number of spaces to use for indentation |
---|
| 43 | Indentation=2 |
---|
| 44 | |
---|
| 45 | # the number of characters that a single tab represents |
---|
| 46 | Tabs=2 |
---|
| 47 | |
---|
| 48 | # whether to use blanks instead of tabs (true|false) |
---|
| 49 | UseBlanks=true |
---|
| 50 | |
---|
| 51 | # word delimiters |
---|
| 52 | Delimiters=;:{}()[]+-/%<=>!&|^~* |
---|
| 53 | |
---|
| 54 | # delimiter for quoted strings/characters |
---|
| 55 | QuoteDelimiters="' |
---|
| 56 | |
---|
| 57 | # the character to escape quotes |
---|
| 58 | QuoteEscape=\\ |
---|
| 59 | |
---|
| 60 | # whether multi-line comments are enabled (true|false) |
---|
| 61 | MultiLineComment=true |
---|
| 62 | |
---|
| 63 | # the start delimiter of a multi-line comment |
---|
| 64 | MultiLineCommentStart=/* |
---|
| 65 | |
---|
| 66 | # the end delimiter of a multi-line comment |
---|
| 67 | MultiLineCommentEnd=*/ |
---|
| 68 | |
---|
| 69 | # the start delimiter of a single-line comment |
---|
| 70 | SingleLineCommentStart=// |
---|
| 71 | |
---|
| 72 | # whether to add matching block ends (true|false) |
---|
| 73 | AddMatchingBlockEnd=true |
---|
| 74 | |
---|
| 75 | # the start of a block (e.g., "opening bracket") |
---|
| 76 | BlockStart={ |
---|
| 77 | |
---|
| 78 | # the end of a block (e.g., "closing bracket") |
---|
| 79 | BlockEnd=} |
---|
| 80 | |
---|
| 81 | # whether the keywords are case-sensitive (true|false) |
---|
| 82 | CaseSensitive=true |
---|
| 83 | |
---|
| 84 | # the keywords |
---|
| 85 | Keywords=\ |
---|
| 86 | abstract,\ |
---|
| 87 | assert,\ |
---|
| 88 | boolean,\ |
---|
| 89 | break,\ |
---|
| 90 | byte,\ |
---|
| 91 | byvalue,\ |
---|
| 92 | case,\ |
---|
| 93 | cast,\ |
---|
| 94 | catch,\ |
---|
| 95 | char,\ |
---|
| 96 | class,\ |
---|
| 97 | const,\ |
---|
| 98 | continue,\ |
---|
| 99 | def,\ |
---|
| 100 | default,\ |
---|
| 101 | do,\ |
---|
| 102 | double,\ |
---|
| 103 | else,\ |
---|
| 104 | extends,\ |
---|
| 105 | false,\ |
---|
| 106 | final,\ |
---|
| 107 | finally,\ |
---|
| 108 | float,\ |
---|
| 109 | for,\ |
---|
| 110 | future,\ |
---|
| 111 | generic,\ |
---|
| 112 | goto,\ |
---|
| 113 | if,\ |
---|
| 114 | implements,\ |
---|
| 115 | import,\ |
---|
| 116 | inner,\ |
---|
| 117 | instanceof,\ |
---|
| 118 | int,\ |
---|
| 119 | interface,\ |
---|
| 120 | long,\ |
---|
| 121 | native,\ |
---|
| 122 | new,\ |
---|
| 123 | null,\ |
---|
| 124 | operator,\ |
---|
| 125 | outer,\ |
---|
| 126 | package,\ |
---|
| 127 | private,\ |
---|
| 128 | protected,\ |
---|
| 129 | public,\ |
---|
| 130 | rest,\ |
---|
| 131 | return,\ |
---|
| 132 | short,\ |
---|
| 133 | static,\ |
---|
| 134 | super,\ |
---|
| 135 | switch,\ |
---|
| 136 | synchronized,\ |
---|
| 137 | this,\ |
---|
| 138 | throw,\ |
---|
| 139 | throws,\ |
---|
| 140 | transient,\ |
---|
| 141 | true,\ |
---|
| 142 | try,\ |
---|
| 143 | var,\ |
---|
| 144 | void,\ |
---|
| 145 | volatile,\ |
---|
| 146 | while |
---|
Note: See
TracBrowser
for help on using the repository browser.