ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
HFile_VerityStyle.php
Go to the documentation of this file.
1<?php
2$BEAUT_PATH = realpath(".")."/Services/COPage/syntax_highlight/php";
3if (!isset ($BEAUT_PATH)) return;
4require_once("$BEAUT_PATH/Beautifier/HFile.php");
5 class HFile_VerityStyle extends HFile{
6 function HFile_VerityStyle(){
7 $this->HFile();
8/*************************************/
9// Beautifier Highlighting Configuration File
10// Verity Style File
11/*************************************/
12// Flags
13
14$this->nocase = "1";
15$this->notrim = "0";
16$this->perl = "0";
17
18// Colours
19
20$this->colours = array("blue", "purple", "gray", "brown", "blue");
21$this->quotecolour = "blue";
22$this->blockcommentcolour = "green";
23$this->linecommentcolour = "green";
24
25// Indent Strings
26
27$this->indent = array();
28$this->unindent = array();
29
30// String characters and delimiters
31
32$this->stringchars = array();
33$this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ";", "\"", "'", "<", ">", " ", ",", " ", ".", "?");
34$this->escchar = "";
35
36// Comment settings
37
38$this->linecommenton = array("#");
39$this->blockcommenton = array("");
40$this->blockcommentoff = array("");
41
42// Keywords (keyword mapping to colour number)
43
44$this->keywords = array(
45 "$$" => "1",
46 "$control:" => "1",
47 "$define" => "1",
48 "$endif" => "1",
49 "$include" => "1",
50 "$ifdef" => "1",
51 "$subst:" => "1",
52 "BulkLoad" => "2",
53 "default" => "2",
54 "false" => "2",
55 "FastSearch" => "2",
56 "guess" => "2",
57 "NewsFeedIdx" => "2",
58 "NewsFeedOpt" => "2",
59 "no" => "2",
60 "none" => "2",
61 "ReadOnly" => "2",
62 "skip" => "2",
63 "true" => "2",
64 "yes" => "2",
65 "8859" => "2",
66 "agents:" => "3",
67 "agt:" => "3",
68 "autorec:" => "3",
69 "autoval:" => "3",
70 "collection:" => "3",
71 "config:" => "3",
72 "constant:" => "3",
73 "copy:" => "3",
74 "data-table:" => "3",
75 "dda:" => "3",
76 "default:" => "3",
77 "define:" => "3",
78 "descriptor:" => "3",
79 "dft:" => "3",
80 "dlv:" => "3",
81 "drivers:" => "3",
82 "dispatch:" => "3",
83 "field:" => "3",
84 "fixwidth:" => "3",
85 "gateway:" => "3",
86 "lex:" => "3",
87 "mode:" => "3",
88 "policy:" => "3",
89 "repository:" => "3",
90 "session:" => "3",
91 "table:" => "3",
92 "token:" => "3",
93 "type:" => "3",
94 "types:" => "3",
95 "user:" => "3",
96 "varwidth:" => "3",
97 "vdkwatch:" => "3",
98 "worm:" => "3",
99 "zone-begin:" => "3",
100 "zone-end:" => "3",
101 "date" => "4",
102 "EOS" => "4",
103 "multiRow" => "4",
104 "multiRowOrderBy" => "4",
105 "multiRowCol" => "4",
106 "multiRowFormat" => "4",
107 "NEWLINE" => "4",
108 "PARA" => "4",
109 "PUNCT" => "4",
110 "signed-integer" => "4",
111 "sirepath" => "4",
112 "TAB" => "4",
113 "text" => "4",
114 "unsigned-integer" => "4",
115 "WHITE" => "4",
116 "WORD" => "4",
117 "_hexdata" => "5",
118 "_implied_size" => "5",
119 "action" => "5",
120 "alias" => "5",
121 "batch" => "5",
122 "charset" => "5",
123 "collection" => "5",
124 "config" => "5",
125 "createok" => "5",
126 "def-charset" => "5",
127 "disk_free_interval" => "5",
128 "fill" => "5",
129 "filter" => "5",
130 "format-filter" => "5",
131 "globalstyle" => "5",
132 "goaldocs" => "5",
133 "gwkey" => "5",
134 "gwtable" => "5",
135 "hidden" => "5",
136 "housekeeping_interval" => "5",
137 "indexed" => "5",
138 "inherit" => "5",
139 "instance_ceiling" => "5",
140 "instance_floor" => "5",
141 "lock_retry_count" => "5",
142 "maintenance_interval" => "5",
143 "maxdocs" => "5",
144 "max_new_docs" => "5",
145 "max_new_work" => "5",
146 "max-records" => "5",
147 "merge_fully" => "5",
148 "merge_parts" => "5",
149 "minmax" => "5",
150 "minparts" => "5",
151 "ngram_index" => "5",
152 "num-records" => "5",
153 "offset" => "5",
154 "outlevel" => "5",
155 "packed" => "5",
156 "partition_max_size" => "5",
157 "pidfile" => "5",
158 "post" => "5",
159 "regular" => "5",
160 "spanning_index" => "5",
161 "startupKB" => "5",
162 "statefile" => "5",
163 "xor" => "5");
164
165// Special extensions
166
167// Each category can specify a PHP function that returns an altered
168// version of the keyword.
169
170
171
172$this->linkscripts = array(
173 "1" => "donothing",
174 "2" => "donothing",
175 "3" => "donothing",
176 "4" => "donothing",
177 "5" => "donothing");
178}
179
180
181function donothing($keywordin)
182{
183 return $keywordin;
184}
185
186}?>
$BEAUT_PATH