Version Description
Download this release
Release Info
Developer | Viper007Bond |
Plugin | SyntaxHighlighter Evolved |
Version | 3.0.0 |
Comparing to | |
See all releases |
Code changes from version 2.3.2 to 3.0.0
- localization/_syntaxhighlighter-template.po +99 -79
- localization/syntaxhighlighter-uk.mo +0 -0
- localization/syntaxhighlighter-uk.po +330 -0
- readme.txt +58 -23
- syntaxhighlighter.php +243 -177
- syntaxhighlighter/scripts/clipboard.swf +0 -0
- syntaxhighlighter/scripts/shBrushAS3.js +0 -61
- syntaxhighlighter/scripts/shBrushBash.js +0 -66
- syntaxhighlighter/scripts/shBrushCSharp.js +0 -67
- syntaxhighlighter/scripts/shBrushColdFusion.js +0 -102
- syntaxhighlighter/scripts/shBrushCpp.js +0 -99
- syntaxhighlighter/scripts/shBrushCss.js +0 -93
- syntaxhighlighter/scripts/shBrushDelphi.js +0 -57
- syntaxhighlighter/scripts/shBrushDiff.js +0 -43
- syntaxhighlighter/scripts/shBrushErlang.js +0 -54
- syntaxhighlighter/scripts/shBrushGroovy.js +0 -69
- syntaxhighlighter/scripts/shBrushJScript.js +0 -52
- syntaxhighlighter/scripts/shBrushJava.js +0 -59
- syntaxhighlighter/scripts/shBrushJavaFX.js +0 -60
- syntaxhighlighter/scripts/shBrushPerl.js +0 -74
- syntaxhighlighter/scripts/shBrushPhp.js +0 -91
- syntaxhighlighter/scripts/shBrushPlain.js +0 -35
- syntaxhighlighter/scripts/shBrushPowerShell.js +0 -76
- syntaxhighlighter/scripts/shBrushPython.js +0 -66
- syntaxhighlighter/scripts/shBrushRuby.js +0 -57
- syntaxhighlighter/scripts/shBrushScala.js +0 -53
- syntaxhighlighter/scripts/shBrushSql.js +0 -68
- syntaxhighlighter/scripts/shBrushVb.js +0 -58
- syntaxhighlighter/scripts/shBrushXml.js +0 -71
- syntaxhighlighter/scripts/shCore.js +0 -30
- syntaxhighlighter/scripts/shLegacy.js +0 -30
- syntaxhighlighter/styles/help.png +0 -0
- syntaxhighlighter/styles/magnifier.png +0 -0
- syntaxhighlighter/styles/page_white_code.png +0 -0
- syntaxhighlighter/styles/page_white_copy.png +0 -0
- syntaxhighlighter/styles/printer.png +0 -0
- syntaxhighlighter/styles/shCore.css +0 -336
- syntaxhighlighter/styles/shThemeDefault.css +0 -177
- syntaxhighlighter/styles/shThemeDjango.css +0 -176
- syntaxhighlighter/styles/shThemeEclipse.css +0 -190
- syntaxhighlighter/styles/shThemeEmacs.css +0 -175
- syntaxhighlighter/styles/shThemeFadeToGrey.css +0 -177
- syntaxhighlighter/styles/shThemeMidnight.css +0 -175
- syntaxhighlighter/styles/shThemeRDark.css +0 -175
- syntaxhighlighter/LGPLv3.txt → syntaxhighlighter3/LGPL-LICENSE +164 -164
- syntaxhighlighter3/MIT-LICENSE +20 -0
- syntaxhighlighter3/scripts/shAutoloader.js +17 -0
- syntaxhighlighter3/scripts/shBrushAS3.js +59 -0
- syntaxhighlighter3/scripts/shBrushAppleScript.js +75 -0
- syntaxhighlighter3/scripts/shBrushBash.js +59 -0
- syntaxhighlighter3/scripts/shBrushCSharp.js +65 -0
- syntaxhighlighter3/scripts/shBrushColdFusion.js +100 -0
- syntaxhighlighter3/scripts/shBrushCpp.js +97 -0
- syntaxhighlighter3/scripts/shBrushCss.js +91 -0
- syntaxhighlighter3/scripts/shBrushDelphi.js +55 -0
- syntaxhighlighter3/scripts/shBrushDiff.js +41 -0
- syntaxhighlighter3/scripts/shBrushErlang.js +52 -0
- syntaxhighlighter3/scripts/shBrushGroovy.js +67 -0
- syntaxhighlighter3/scripts/shBrushJScript.js +52 -0
- syntaxhighlighter3/scripts/shBrushJava.js +57 -0
- syntaxhighlighter3/scripts/shBrushJavaFX.js +58 -0
- syntaxhighlighter3/scripts/shBrushPerl.js +72 -0
- syntaxhighlighter3/scripts/shBrushPhp.js +88 -0
- syntaxhighlighter3/scripts/shBrushPlain.js +33 -0
- syntaxhighlighter3/scripts/shBrushPowerShell.js +74 -0
- syntaxhighlighter3/scripts/shBrushPython.js +64 -0
- syntaxhighlighter3/scripts/shBrushRuby.js +55 -0
- syntaxhighlighter3/scripts/shBrushSass.js +94 -0
- syntaxhighlighter3/scripts/shBrushScala.js +51 -0
- syntaxhighlighter3/scripts/shBrushSql.js +66 -0
- syntaxhighlighter3/scripts/shBrushVb.js +56 -0
- syntaxhighlighter3/scripts/shBrushXml.js +69 -0
- syntaxhighlighter3/scripts/shCore.js +17 -0
- syntaxhighlighter3/scripts/shLegacy.js +17 -0
- syntaxhighlighter3/styles/shCore.css +226 -0
- syntaxhighlighter3/styles/shCoreDefault.css +328 -0
- syntaxhighlighter3/styles/shCoreDjango.css +331 -0
- syntaxhighlighter3/styles/shCoreEclipse.css +339 -0
- syntaxhighlighter3/styles/shCoreEmacs.css +324 -0
- syntaxhighlighter3/styles/shCoreFadeToGrey.css +328 -0
- syntaxhighlighter3/styles/shCoreMDUltra.css +324 -0
- syntaxhighlighter3/styles/shCoreMidnight.css +324 -0
- syntaxhighlighter3/styles/shCoreRDark.css +324 -0
- syntaxhighlighter3/styles/shThemeDefault.css +117 -0
- syntaxhighlighter3/styles/shThemeDjango.css +120 -0
- syntaxhighlighter3/styles/shThemeEclipse.css +128 -0
- syntaxhighlighter3/styles/shThemeEmacs.css +113 -0
- syntaxhighlighter3/styles/shThemeFadeToGrey.css +117 -0
- syntaxhighlighter3/styles/shThemeMDUltra.css +113 -0
- syntaxhighlighter3/styles/shThemeMidnight.css +113 -0
- syntaxhighlighter3/styles/shThemeRDark.css +113 -0
- third-party-brushes/_readme.txt +14 -0
- third-party-brushes/shBrushClojure.js +26 -0
- third-party-brushes/shBrushFSharp.js +33 -0
- third-party-brushes/shBrushLatex.js +52 -0
- third-party-brushes/shBrushMatlabKey.js +20 -0
- {syntaxhighlighter/scripts → third-party-brushes}/shBrushObjC.js +9 -9
- third-party-brushes/shBrushR.js +20 -0
localization/_syntaxhighlighter-template.po
CHANGED
@@ -1,233 +1,244 @@
|
|
1 |
-
#
|
2 |
-
# Copyright (C)
|
3 |
-
# This file is distributed under the same license as the
|
4 |
-
# FIRST AUTHOR <EMAIL@ADDRESS>,
|
5 |
#
|
6 |
#, fuzzy
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
-
"Project-Id-Version:
|
10 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/syntaxhighlighter\n"
|
11 |
-
"POT-Creation-Date:
|
12 |
-
"PO-Revision-Date:
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
"MIME-Version: 1.0\n"
|
16 |
-
"Content-Type: text/plain; charset=
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
18 |
|
19 |
-
#: syntaxhighlighter.php:
|
20 |
msgid "Default"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: syntaxhighlighter.php:
|
24 |
msgid "Django"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: syntaxhighlighter.php:
|
28 |
msgid "Eclipse"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: syntaxhighlighter.php:
|
32 |
msgid "Emacs"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: syntaxhighlighter.php:
|
36 |
msgid "Fade to Grey"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: syntaxhighlighter.php:
|
40 |
msgid "Midnight"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: syntaxhighlighter.php:
|
44 |
msgid "RDark"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: syntaxhighlighter.php:
|
48 |
msgid "[None]"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: syntaxhighlighter.php:
|
52 |
msgid "SyntaxHighlighter Settings"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: syntaxhighlighter.php:
|
56 |
msgid "SyntaxHighlighter"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: syntaxhighlighter.php:
|
60 |
msgid "Settings"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: syntaxhighlighter.php:
|
64 |
msgid "show source"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: syntaxhighlighter.php:
|
68 |
msgid "view source"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: syntaxhighlighter.php:
|
72 |
msgid "copy to clipboard"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: syntaxhighlighter.php:
|
76 |
msgid "The code is in your clipboard now"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: syntaxhighlighter.php:
|
80 |
msgid "print"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: syntaxhighlighter.php:
|
84 |
msgid "?"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: syntaxhighlighter.php:
|
88 |
msgid "SyntaxHighlighter\\n\\n"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: syntaxhighlighter.php:
|
92 |
msgid "Can't find brush for: "
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: syntaxhighlighter.php:
|
96 |
msgid "Brush wasn't configured for html-script option: "
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: syntaxhighlighter.php:
|
100 |
msgid "Are you sure you want to reset your settings to the defaults?"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: syntaxhighlighter.php:
|
104 |
msgid "Settings reset to defaults."
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: syntaxhighlighter.php:
|
108 |
msgid "Color Theme"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: syntaxhighlighter.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
msgid "Defaults"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: syntaxhighlighter.php:
|
116 |
msgid ""
|
117 |
"All of the settings below can be configured on a per-code box basis, but you "
|
118 |
"can control the defaults of all code boxes here."
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: syntaxhighlighter.php:
|
122 |
msgid "Miscellaneous"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: syntaxhighlighter.php:
|
126 |
msgid "Display line numbers"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: syntaxhighlighter.php:
|
130 |
msgid "Display the toolbar"
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: syntaxhighlighter.php:
|
134 |
msgid "Automatically make URLs clickable"
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: syntaxhighlighter.php:
|
138 |
msgid "Collapse code boxes"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: syntaxhighlighter.php:
|
142 |
msgid "Use the light display mode, best for single lines of code"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: syntaxhighlighter.php:
|
146 |
msgid "Use smart tabs allowing tabs being used for alignment"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: syntaxhighlighter.php:
|
150 |
msgid "Wrap long lines (disabling this will make a scrollbar show instead)"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: syntaxhighlighter.php:
|
154 |
msgid ""
|
155 |
"Enable "HTML script" mode by default (see the bottom of this page "
|
156 |
"for details). Checking this box is not recommended as this mode only works "
|
157 |
"with certain languages."
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: syntaxhighlighter.php:
|
161 |
msgid "Additional CSS Class(es)"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: syntaxhighlighter.php:
|
165 |
msgid "Starting Line Number"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: syntaxhighlighter.php:
|
169 |
msgid "Line Number Padding"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: syntaxhighlighter.php:
|
173 |
msgid "Off"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: syntaxhighlighter.php:
|
177 |
msgid "Automatic"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: syntaxhighlighter.php:
|
181 |
msgid "Tab Size"
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: syntaxhighlighter.php:
|
185 |
msgid "Save Changes"
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: syntaxhighlighter.php:
|
189 |
msgid "Reset to Defaults"
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: syntaxhighlighter.php:
|
193 |
msgid "Preview"
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: syntaxhighlighter.php:
|
197 |
msgid "Click "Save Changes" to update this preview."
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: syntaxhighlighter.php:
|
201 |
msgid "PHP Code Example"
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: syntaxhighlighter.php:
|
205 |
msgid "Hello World!"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: syntaxhighlighter.php:
|
209 |
msgid "This line is highlighted."
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: syntaxhighlighter.php:
|
213 |
msgid ""
|
214 |
"\t\tThis\tis\tan\r\n"
|
215 |
"\t\texample\tof\tsmart\r\n"
|
216 |
"\t\ttabs."
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: syntaxhighlighter.php:
|
220 |
msgid "Shortcode Parameters"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: syntaxhighlighter.php:
|
224 |
#, php-format
|
225 |
msgid ""
|
226 |
"These are the parameters you can pass to the shortcode and what they do. For "
|
227 |
"the booleans (i.e. on/off), pass %1$s/%2$s or %3$s/%4$s."
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: syntaxhighlighter.php:
|
231 |
#, php-format
|
232 |
msgid ""
|
233 |
"%1$s or %2$s — The language syntax to highlight with. You can "
|
@@ -236,41 +247,43 @@ msgid ""
|
|
236 |
"aliases")."
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: syntaxhighlighter.php:
|
240 |
#, php-format
|
241 |
msgid "%s — Toggle automatic URL linking."
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: syntaxhighlighter.php:
|
245 |
#, php-format
|
246 |
msgid "%s — Add an additional CSS class to the code box."
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: syntaxhighlighter.php:
|
250 |
#, php-format
|
251 |
msgid ""
|
252 |
"%s — Toggle collapsing the code box by default, requiring a click to "
|
253 |
"expand it. Good for large code posts."
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: syntaxhighlighter.php:
|
257 |
#, php-format
|
258 |
msgid ""
|
259 |
"%s — An interger specifying what number the first line should be (for "
|
260 |
"the line numbering)."
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: syntaxhighlighter.php:
|
264 |
#, php-format
|
265 |
msgid "%s — Toggle the left-side line numbering."
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: syntaxhighlighter.php:
|
269 |
#, php-format
|
270 |
-
msgid "
|
|
|
|
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: syntaxhighlighter.php:
|
274 |
#, php-format
|
275 |
msgid ""
|
276 |
"%s — Toggle highlighting any extra HTML/XML. Good for when you're "
|
@@ -279,14 +292,14 @@ msgid ""
|
|
279 |
"certain languages."
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: syntaxhighlighter.php:
|
283 |
#, php-format
|
284 |
msgid ""
|
285 |
"%s — Toggle light mode which disables the gutter and toolbar all at "
|
286 |
"once."
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: syntaxhighlighter.php:
|
290 |
#, php-format
|
291 |
msgid ""
|
292 |
"%s — Controls line number padding. Valid values are <code>false</code> "
|
@@ -294,34 +307,41 @@ msgid ""
|
|
294 |
"padding)."
|
295 |
msgstr ""
|
296 |
|
297 |
-
#: syntaxhighlighter.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
298 |
#, php-format
|
299 |
msgid "%s — Toggle the toolbar containing the helpful buttons."
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: syntaxhighlighter.php:
|
303 |
#, php-format
|
304 |
msgid "%s — Toggle line wrapping."
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: syntaxhighlighter.php:
|
308 |
msgid "Some example shortcodes:"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: syntaxhighlighter.php:
|
312 |
-
#: syntaxhighlighter.php:
|
313 |
msgid "your code here"
|
314 |
msgstr ""
|
315 |
|
316 |
-
#. Plugin Name of
|
317 |
msgid "SyntaxHighlighter Evolved"
|
318 |
msgstr ""
|
319 |
|
320 |
-
#. Plugin URI of
|
321 |
msgid "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
|
322 |
msgstr ""
|
323 |
|
324 |
-
#. Description of
|
325 |
msgid ""
|
326 |
"Easily post syntax-highlighted code to your site without having to modify "
|
327 |
"the code at all. Uses Alex Gorbatchev's <a href=\"http://alexgorbatchev.com/"
|
@@ -329,10 +349,10 @@ msgid ""
|
|
329 |
"href=\"http://wordpress.com/\">Andrew Ozz of Automattic</a>."
|
330 |
msgstr ""
|
331 |
|
332 |
-
#. Author of
|
333 |
msgid "Viper007Bond"
|
334 |
msgstr ""
|
335 |
|
336 |
-
#. Author URI of
|
337 |
msgid "http://www.viper007bond.com/"
|
338 |
msgstr ""
|
1 |
+
# Translation of the WordPress plugin SyntaxHighlighter Evolved 3.0.0 by Viper007Bond.
|
2 |
+
# Copyright (C) 2010 Viper007Bond
|
3 |
+
# This file is distributed under the same license as the SyntaxHighlighter Evolved package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
#
|
6 |
#, fuzzy
|
7 |
msgid ""
|
8 |
msgstr ""
|
9 |
+
"Project-Id-Version: SyntaxHighlighter Evolved 3.0.0\n"
|
10 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/syntaxhighlighter\n"
|
11 |
+
"POT-Creation-Date: 2010-11-12 07:19+0000\n"
|
12 |
+
"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
"MIME-Version: 1.0\n"
|
16 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
17 |
"Content-Transfer-Encoding: 8bit\n"
|
18 |
|
19 |
+
#: syntaxhighlighter.php:228
|
20 |
msgid "Default"
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: syntaxhighlighter.php:229
|
24 |
msgid "Django"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: syntaxhighlighter.php:230
|
28 |
msgid "Eclipse"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: syntaxhighlighter.php:231
|
32 |
msgid "Emacs"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: syntaxhighlighter.php:232
|
36 |
msgid "Fade to Grey"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: syntaxhighlighter.php:233
|
40 |
msgid "Midnight"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: syntaxhighlighter.php:234
|
44 |
msgid "RDark"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: syntaxhighlighter.php:235
|
48 |
msgid "[None]"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: syntaxhighlighter.php:247 syntaxhighlighter.php:915
|
52 |
msgid "SyntaxHighlighter Settings"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: syntaxhighlighter.php:247
|
56 |
msgid "SyntaxHighlighter"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: syntaxhighlighter.php:278
|
60 |
msgid "Settings"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: syntaxhighlighter.php:597
|
64 |
msgid "show source"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: syntaxhighlighter.php:598
|
68 |
msgid "view source"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: syntaxhighlighter.php:599
|
72 |
msgid "copy to clipboard"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: syntaxhighlighter.php:600
|
76 |
msgid "The code is in your clipboard now"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: syntaxhighlighter.php:601
|
80 |
msgid "print"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: syntaxhighlighter.php:602
|
84 |
msgid "?"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: syntaxhighlighter.php:603
|
88 |
msgid "SyntaxHighlighter\\n\\n"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: syntaxhighlighter.php:604
|
92 |
msgid "Can't find brush for: "
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: syntaxhighlighter.php:605
|
96 |
msgid "Brush wasn't configured for html-script option: "
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: syntaxhighlighter.php:903
|
100 |
msgid "Are you sure you want to reset your settings to the defaults?"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: syntaxhighlighter.php:907
|
104 |
msgid "Settings reset to defaults."
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: syntaxhighlighter.php:924
|
108 |
msgid "Color Theme"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: syntaxhighlighter.php:938 syntaxhighlighter.php:941
|
112 |
+
msgid "Load All Brushes"
|
113 |
+
msgstr ""
|
114 |
+
|
115 |
+
#: syntaxhighlighter.php:942
|
116 |
+
msgid ""
|
117 |
+
"Always load all language files (for directly using <code><pre></code> "
|
118 |
+
"tags rather than shortcodes)<br /> If left "
|
119 |
+
"unchecked (default), then language files will only be loaded when needed"
|
120 |
+
msgstr ""
|
121 |
+
|
122 |
+
#: syntaxhighlighter.php:948
|
123 |
msgid "Defaults"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: syntaxhighlighter.php:950
|
127 |
msgid ""
|
128 |
"All of the settings below can be configured on a per-code box basis, but you "
|
129 |
"can control the defaults of all code boxes here."
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: syntaxhighlighter.php:954 syntaxhighlighter.php:957
|
133 |
msgid "Miscellaneous"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: syntaxhighlighter.php:959
|
137 |
msgid "Display line numbers"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: syntaxhighlighter.php:960
|
141 |
msgid "Display the toolbar"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: syntaxhighlighter.php:961
|
145 |
msgid "Automatically make URLs clickable"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: syntaxhighlighter.php:962
|
149 |
msgid "Collapse code boxes"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: syntaxhighlighter.php:963
|
153 |
msgid "Use the light display mode, best for single lines of code"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: syntaxhighlighter.php:964
|
157 |
msgid "Use smart tabs allowing tabs being used for alignment"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: syntaxhighlighter.php:965
|
161 |
msgid "Wrap long lines (disabling this will make a scrollbar show instead)"
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: syntaxhighlighter.php:966
|
165 |
msgid ""
|
166 |
"Enable "HTML script" mode by default (see the bottom of this page "
|
167 |
"for details). Checking this box is not recommended as this mode only works "
|
168 |
"with certain languages."
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: syntaxhighlighter.php:971
|
172 |
msgid "Additional CSS Class(es)"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: syntaxhighlighter.php:975
|
176 |
msgid "Starting Line Number"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: syntaxhighlighter.php:979
|
180 |
msgid "Line Number Padding"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: syntaxhighlighter.php:984
|
184 |
msgid "Off"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: syntaxhighlighter.php:985
|
188 |
msgid "Automatic"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: syntaxhighlighter.php:1003
|
192 |
msgid "Tab Size"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: syntaxhighlighter.php:1009
|
196 |
msgid "Save Changes"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: syntaxhighlighter.php:1010
|
200 |
msgid "Reset to Defaults"
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: syntaxhighlighter.php:1015
|
204 |
msgid "Preview"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: syntaxhighlighter.php:1017
|
208 |
msgid "Click "Save Changes" to update this preview."
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: syntaxhighlighter.php:1029
|
212 |
msgid "PHP Code Example"
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: syntaxhighlighter.php:1031
|
216 |
msgid "Hello World!"
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: syntaxhighlighter.php:1033
|
220 |
msgid "This line is highlighted."
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: syntaxhighlighter.php:1036
|
224 |
msgid ""
|
225 |
"\t\tThis\tis\tan\r\n"
|
226 |
"\t\texample\tof\tsmart\r\n"
|
227 |
"\t\ttabs."
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: syntaxhighlighter.php:1051
|
231 |
msgid "Shortcode Parameters"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: syntaxhighlighter.php:1053
|
235 |
#, php-format
|
236 |
msgid ""
|
237 |
"These are the parameters you can pass to the shortcode and what they do. For "
|
238 |
"the booleans (i.e. on/off), pass %1$s/%2$s or %3$s/%4$s."
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: syntaxhighlighter.php:1056
|
242 |
#, php-format
|
243 |
msgid ""
|
244 |
"%1$s or %2$s — The language syntax to highlight with. You can "
|
247 |
"aliases")."
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: syntaxhighlighter.php:1057
|
251 |
#, php-format
|
252 |
msgid "%s — Toggle automatic URL linking."
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: syntaxhighlighter.php:1058
|
256 |
#, php-format
|
257 |
msgid "%s — Add an additional CSS class to the code box."
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: syntaxhighlighter.php:1059
|
261 |
#, php-format
|
262 |
msgid ""
|
263 |
"%s — Toggle collapsing the code box by default, requiring a click to "
|
264 |
"expand it. Good for large code posts."
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: syntaxhighlighter.php:1060
|
268 |
#, php-format
|
269 |
msgid ""
|
270 |
"%s — An interger specifying what number the first line should be (for "
|
271 |
"the line numbering)."
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: syntaxhighlighter.php:1061
|
275 |
#, php-format
|
276 |
msgid "%s — Toggle the left-side line numbering."
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: syntaxhighlighter.php:1062
|
280 |
#, php-format
|
281 |
+
msgid ""
|
282 |
+
"%1$s — A comma-sperated list of line numbers to highlight. You can "
|
283 |
+
"also specify a range. Example: %2$s"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: syntaxhighlighter.php:1063
|
287 |
#, php-format
|
288 |
msgid ""
|
289 |
"%s — Toggle highlighting any extra HTML/XML. Good for when you're "
|
292 |
"certain languages."
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: syntaxhighlighter.php:1064
|
296 |
#, php-format
|
297 |
msgid ""
|
298 |
"%s — Toggle light mode which disables the gutter and toolbar all at "
|
299 |
"once."
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: syntaxhighlighter.php:1065
|
303 |
#, php-format
|
304 |
msgid ""
|
305 |
"%s — Controls line number padding. Valid values are <code>false</code> "
|
307 |
"padding)."
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: syntaxhighlighter.php:1066
|
311 |
+
#, php-format
|
312 |
+
msgid ""
|
313 |
+
"%1$s — Sets some text to show up before the code. Very useful when "
|
314 |
+
"combined with the %2$s parameter."
|
315 |
+
msgstr ""
|
316 |
+
|
317 |
+
#: syntaxhighlighter.php:1067
|
318 |
#, php-format
|
319 |
msgid "%s — Toggle the toolbar containing the helpful buttons."
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: syntaxhighlighter.php:1068
|
323 |
#, php-format
|
324 |
msgid "%s — Toggle line wrapping."
|
325 |
msgstr ""
|
326 |
|
327 |
+
#: syntaxhighlighter.php:1071
|
328 |
msgid "Some example shortcodes:"
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: syntaxhighlighter.php:1074 syntaxhighlighter.php:1075
|
332 |
+
#: syntaxhighlighter.php:1076 syntaxhighlighter.php:1077
|
333 |
msgid "your code here"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#. Plugin Name of the plugin/theme
|
337 |
msgid "SyntaxHighlighter Evolved"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#. Plugin URI of the plugin/theme
|
341 |
msgid "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#. Description of the plugin/theme
|
345 |
msgid ""
|
346 |
"Easily post syntax-highlighted code to your site without having to modify "
|
347 |
"the code at all. Uses Alex Gorbatchev's <a href=\"http://alexgorbatchev.com/"
|
349 |
"href=\"http://wordpress.com/\">Andrew Ozz of Automattic</a>."
|
350 |
msgstr ""
|
351 |
|
352 |
+
#. Author of the plugin/theme
|
353 |
msgid "Viper007Bond"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#. Author URI of the plugin/theme
|
357 |
msgid "http://www.viper007bond.com/"
|
358 |
msgstr ""
|
localization/syntaxhighlighter-uk.mo
ADDED
Binary file
|
localization/syntaxhighlighter-uk.po
ADDED
@@ -0,0 +1,330 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: \n"
|
4 |
+
"POT-Creation-Date: \n"
|
5 |
+
"PO-Revision-Date: \n"
|
6 |
+
"Last-Translator: Dmitro Kondryuk <blog@wordpress.co.ua>\n"
|
7 |
+
"Language-Team: \n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
|
12 |
+
# SOME DESCRIPTIVE TITLE.
|
13 |
+
# Copyright (C) YEAR Viper007Bond
|
14 |
+
# This file is distributed under the same license as the PACKAGE package.
|
15 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
16 |
+
#
|
17 |
+
#msgid ""
|
18 |
+
#msgstr ""
|
19 |
+
#: syntaxhighlighter.php:209
|
20 |
+
msgid "Default"
|
21 |
+
msgstr "По замовчуванню"
|
22 |
+
|
23 |
+
#: syntaxhighlighter.php:210
|
24 |
+
msgid "Django"
|
25 |
+
msgstr "Django"
|
26 |
+
|
27 |
+
#: syntaxhighlighter.php:211
|
28 |
+
msgid "Eclipse"
|
29 |
+
msgstr "Eclipse"
|
30 |
+
|
31 |
+
#: syntaxhighlighter.php:212
|
32 |
+
msgid "Emacs"
|
33 |
+
msgstr "Emacs"
|
34 |
+
|
35 |
+
#: syntaxhighlighter.php:213
|
36 |
+
msgid "Fade to Grey"
|
37 |
+
msgstr "З переходом в сірий"
|
38 |
+
|
39 |
+
#: syntaxhighlighter.php:214
|
40 |
+
msgid "Midnight"
|
41 |
+
msgstr "Північ"
|
42 |
+
|
43 |
+
#: syntaxhighlighter.php:215
|
44 |
+
msgid "RDark"
|
45 |
+
msgstr "RDark"
|
46 |
+
|
47 |
+
#: syntaxhighlighter.php:216
|
48 |
+
msgid "[None]"
|
49 |
+
msgstr "Жодного"
|
50 |
+
|
51 |
+
#: syntaxhighlighter.php:223
|
52 |
+
#: syntaxhighlighter.php:845
|
53 |
+
msgid "SyntaxHighlighter Settings"
|
54 |
+
msgstr "Налаштування SyntaxHighlighter"
|
55 |
+
|
56 |
+
#: syntaxhighlighter.php:223
|
57 |
+
msgid "SyntaxHighlighter"
|
58 |
+
msgstr "SyntaxHighlighter"
|
59 |
+
|
60 |
+
#: syntaxhighlighter.php:254
|
61 |
+
msgid "Settings"
|
62 |
+
msgstr "Налаштування"
|
63 |
+
|
64 |
+
#: syntaxhighlighter.php:542
|
65 |
+
msgid "show source"
|
66 |
+
msgstr "показати код"
|
67 |
+
|
68 |
+
#: syntaxhighlighter.php:543
|
69 |
+
msgid "view source"
|
70 |
+
msgstr "дивитись код"
|
71 |
+
|
72 |
+
#: syntaxhighlighter.php:544
|
73 |
+
msgid "copy to clipboard"
|
74 |
+
msgstr "скопіювати у буфер"
|
75 |
+
|
76 |
+
#: syntaxhighlighter.php:545
|
77 |
+
msgid "The code is in your clipboard now"
|
78 |
+
msgstr "Код скопійовано у буфер"
|
79 |
+
|
80 |
+
#: syntaxhighlighter.php:546
|
81 |
+
msgid "print"
|
82 |
+
msgstr "друк"
|
83 |
+
|
84 |
+
#: syntaxhighlighter.php:547
|
85 |
+
msgid "?"
|
86 |
+
msgstr "?"
|
87 |
+
|
88 |
+
#: syntaxhighlighter.php:548
|
89 |
+
msgid ""
|
90 |
+
"SyntaxHighlighter\\n"
|
91 |
+
"\\n"
|
92 |
+
msgstr ""
|
93 |
+
"SyntaxHighlighter\\n"
|
94 |
+
"\\n"
|
95 |
+
|
96 |
+
#: syntaxhighlighter.php:549
|
97 |
+
msgid "Can't find brush for: "
|
98 |
+
msgstr "Не можу знайти \"кольорову схему\" для:"
|
99 |
+
|
100 |
+
#: syntaxhighlighter.php:550
|
101 |
+
msgid "Brush wasn't configured for html-script option: "
|
102 |
+
msgstr "\"Кольорова схема\" не налаштована для опції html-script"
|
103 |
+
|
104 |
+
#: syntaxhighlighter.php:833
|
105 |
+
msgid "Are you sure you want to reset your settings to the defaults?"
|
106 |
+
msgstr "Ви впевнені, що хочете повернутися до стандартних налаштувань?"
|
107 |
+
|
108 |
+
#: syntaxhighlighter.php:837
|
109 |
+
msgid "Settings reset to defaults."
|
110 |
+
msgstr "Налаштування зкинуті до стандартних"
|
111 |
+
|
112 |
+
#: syntaxhighlighter.php:854
|
113 |
+
msgid "Color Theme"
|
114 |
+
msgstr "Кольорова схема"
|
115 |
+
|
116 |
+
#: syntaxhighlighter.php:869
|
117 |
+
msgid "Defaults"
|
118 |
+
msgstr "За замовчуванням"
|
119 |
+
|
120 |
+
#: syntaxhighlighter.php:871
|
121 |
+
msgid "All of the settings below can be configured on a per-code box basis, but you can control the defaults of all code boxes here."
|
122 |
+
msgstr "Усі налаштування можуть бути сконфігуровані при використанні коротких кодів, але Ви можете також зробити налаштування для усіх блоків коду тут"
|
123 |
+
|
124 |
+
#: syntaxhighlighter.php:875
|
125 |
+
#: syntaxhighlighter.php:878
|
126 |
+
msgid "Miscellaneous"
|
127 |
+
msgstr "Інше"
|
128 |
+
|
129 |
+
#: syntaxhighlighter.php:880
|
130 |
+
msgid "Display line numbers"
|
131 |
+
msgstr "Показувати номери рядків"
|
132 |
+
|
133 |
+
#: syntaxhighlighter.php:881
|
134 |
+
msgid "Display the toolbar"
|
135 |
+
msgstr "Показувати панель інструментів"
|
136 |
+
|
137 |
+
#: syntaxhighlighter.php:882
|
138 |
+
msgid "Automatically make URLs clickable"
|
139 |
+
msgstr "Робити лінки клікабельними"
|
140 |
+
|
141 |
+
#: syntaxhighlighter.php:883
|
142 |
+
msgid "Collapse code boxes"
|
143 |
+
msgstr "Звертати блоки коду"
|
144 |
+
|
145 |
+
#: syntaxhighlighter.php:884
|
146 |
+
msgid "Use the light display mode, best for single lines of code"
|
147 |
+
msgstr "Використовувати \"легкий\" вигляд (добре для однорядкового коду)"
|
148 |
+
|
149 |
+
#: syntaxhighlighter.php:885
|
150 |
+
msgid "Use smart tabs allowing tabs being used for alignment"
|
151 |
+
msgstr "Використовувати закладки"
|
152 |
+
|
153 |
+
#: syntaxhighlighter.php:886
|
154 |
+
msgid "Wrap long lines (disabling this will make a scrollbar show instead)"
|
155 |
+
msgstr "Переносити слова у довгих рядках"
|
156 |
+
|
157 |
+
#: syntaxhighlighter.php:887
|
158 |
+
msgid "Enable "HTML script" mode by default (see the bottom of this page for details). Checking this box is not recommended as this mode only works with certain languages."
|
159 |
+
msgstr "Активувати "HTML script" режим по замовчуванню (деталі внизу сторінки). Не рекомендується відмічати цю опцію, в цьому режимі плагін працює лише з декількома мовами."
|
160 |
+
|
161 |
+
#: syntaxhighlighter.php:892
|
162 |
+
msgid "Additional CSS Class(es)"
|
163 |
+
msgstr "Додаткові класи CSS"
|
164 |
+
|
165 |
+
#: syntaxhighlighter.php:896
|
166 |
+
msgid "Starting Line Number"
|
167 |
+
msgstr "Початковий номер рядка"
|
168 |
+
|
169 |
+
#: syntaxhighlighter.php:900
|
170 |
+
msgid "Line Number Padding"
|
171 |
+
msgstr "Відступ в номерах рядків"
|
172 |
+
|
173 |
+
#: syntaxhighlighter.php:903
|
174 |
+
msgid "Load All Brushes"
|
175 |
+
msgstr "Підгружати усі стилі"
|
176 |
+
|
177 |
+
#: syntaxhighlighter.php:904
|
178 |
+
msgid "Always load all language files (for directly using <code><pre></code> tags rather than shortcodes)<br /> If left unchecked (default), then language files will only be loaded when needed"
|
179 |
+
msgstr "Завжди завантажувати усі файли мов для підсвітки (для використання з тегом <code><pre></code> замість використання коротких кодів)<br /> Якщо не вмикати(по замовчуванню), тоді файли будуть підгружатись тільки при потребі"
|
180 |
+
|
181 |
+
#: syntaxhighlighter.php:905
|
182 |
+
msgid "Off"
|
183 |
+
msgstr "Вимкнути"
|
184 |
+
|
185 |
+
#: syntaxhighlighter.php:906
|
186 |
+
msgid "Automatic"
|
187 |
+
msgstr "Автоматично"
|
188 |
+
|
189 |
+
#: syntaxhighlighter.php:924
|
190 |
+
msgid "Tab Size"
|
191 |
+
msgstr "Розмір закладки"
|
192 |
+
|
193 |
+
#: syntaxhighlighter.php:930
|
194 |
+
msgid "Save Changes"
|
195 |
+
msgstr "Зберегти зміни"
|
196 |
+
|
197 |
+
#: syntaxhighlighter.php:931
|
198 |
+
msgid "Reset to Defaults"
|
199 |
+
msgstr "Відновати початкові налаштування"
|
200 |
+
|
201 |
+
#: syntaxhighlighter.php:936
|
202 |
+
msgid "Preview"
|
203 |
+
msgstr "Прев'ю"
|
204 |
+
|
205 |
+
#: syntaxhighlighter.php:938
|
206 |
+
msgid "Click "Save Changes" to update this preview."
|
207 |
+
msgstr "Натисніть "Зберегти зміни" аби оновити прев'ю, що наведене нижче."
|
208 |
+
|
209 |
+
#: syntaxhighlighter.php:950
|
210 |
+
msgid "PHP Code Example"
|
211 |
+
msgstr "Приклад PHP коду"
|
212 |
+
|
213 |
+
#: syntaxhighlighter.php:952
|
214 |
+
msgid "Hello World!"
|
215 |
+
msgstr "Привіт світ!"
|
216 |
+
|
217 |
+
#: syntaxhighlighter.php:954
|
218 |
+
msgid "This line is highlighted."
|
219 |
+
msgstr "Цей рядок підсвічений"
|
220 |
+
|
221 |
+
#: syntaxhighlighter.php:957
|
222 |
+
msgid ""
|
223 |
+
"\t\tThis\tis\tan\r\n"
|
224 |
+
"\t\texample\tof\tsmart\r\n"
|
225 |
+
"\t\ttabs."
|
226 |
+
msgstr ""
|
227 |
+
"\t\tThis\tis\tan\r\n"
|
228 |
+
"\t\texample\tof\tsmart\r\n"
|
229 |
+
"\t\ttabs."
|
230 |
+
|
231 |
+
#: syntaxhighlighter.php:972
|
232 |
+
msgid "Shortcode Parameters"
|
233 |
+
msgstr "Параметри коротких кодів"
|
234 |
+
|
235 |
+
#: syntaxhighlighter.php:974
|
236 |
+
#, php-format
|
237 |
+
msgid "These are the parameters you can pass to the shortcode and what they do. For the booleans (i.e. on/off), pass %1$s/%2$s or %3$s/%4$s."
|
238 |
+
msgstr "Параметри, які Ви можете використати у коротких кодах, та їх призначення. Для логічних параметрів (як увімкнути/вимкнути), використовується %1$s/%2$s або %3$s/%4$s."
|
239 |
+
|
240 |
+
#: syntaxhighlighter.php:977
|
241 |
+
#, php-format
|
242 |
+
msgid "%1$s or %2$s — The language syntax to highlight with. You can alternately just use that as the tag, such as <code>[php]code[/php]</code>. <a href=\"%3$s\">Click here</a> for a list of valid tags (under "aliases")."
|
243 |
+
msgstr "1%s або %2$s — Мова, синтаксис якої потрібно підсвічувати. Можете скористатись тегом, наприклад, <code>[php]code[/php]</code>. Для перегляду усіх варіантів <a href=\"%3$s\">натисніть тут</a>"
|
244 |
+
|
245 |
+
#: syntaxhighlighter.php:978
|
246 |
+
#, php-format
|
247 |
+
msgid "%s — Toggle automatic URL linking."
|
248 |
+
msgstr "%s — Дозволяє увімкнути чи вимкнути \"активність\" лінків (автоматичо робить лінки \"клікабельними\"). По замовчуванню - увімкнено."
|
249 |
+
|
250 |
+
#: syntaxhighlighter.php:979
|
251 |
+
#, php-format
|
252 |
+
msgid "%s — Add an additional CSS class to the code box."
|
253 |
+
msgstr "%s — Додати додатковий клас CSS до блоку з кодом"
|
254 |
+
|
255 |
+
#: syntaxhighlighter.php:980
|
256 |
+
#, php-format
|
257 |
+
msgid "%s — Toggle collapsing the code box by default, requiring a click to expand it. Good for large code posts."
|
258 |
+
msgstr "%s — Дозволяє увімкнути чи вимкнути показ блоку у зверненому вигляді. Якщо увімкнете, блок буде прихованим."
|
259 |
+
|
260 |
+
#: syntaxhighlighter.php:981
|
261 |
+
#, php-format
|
262 |
+
msgid "%s — An interger specifying what number the first line should be (for the line numbering)."
|
263 |
+
msgstr "%s — Вкажіть число, починаючи з якого нумерувати рядки"
|
264 |
+
|
265 |
+
#: syntaxhighlighter.php:982
|
266 |
+
#, php-format
|
267 |
+
msgid "%s — Toggle the left-side line numbering."
|
268 |
+
msgstr "%s — Дозволяє увімкнути чи вимкнути нумерацію рядків."
|
269 |
+
|
270 |
+
#: syntaxhighlighter.php:983
|
271 |
+
#, php-format
|
272 |
+
msgid "%s — A comma-sperated list of line numbers to highlight."
|
273 |
+
msgstr "%s — Список номерів рядків через кому, які треба \"підсвітити\""
|
274 |
+
|
275 |
+
#: syntaxhighlighter.php:984
|
276 |
+
#, php-format
|
277 |
+
msgid "%s — Toggle highlighting any extra HTML/XML. Good for when you're mixing HTML/XML with another language, such as having PHP inside an HTML web page. The above preview has it enabled for example. This only works with certain languages."
|
278 |
+
msgstr "%s — Дозволяє увімкнути чи вимкнути підсвітку HTML/XML коду. Наприклад корисно, коли Ви публікуєте змішаний код ( HTML/XML та PHP, чи інш.) Працює з обмеженою кількістю мов."
|
279 |
+
|
280 |
+
#: syntaxhighlighter.php:985
|
281 |
+
#, php-format
|
282 |
+
msgid "%s — Toggle light mode which disables the gutter and toolbar all at once."
|
283 |
+
msgstr "%s — Дозволяє увімкнути чи вимкнути полегшену версію блоку з кодом (без нумерації рядків та панелі інструментів)"
|
284 |
+
|
285 |
+
#: syntaxhighlighter.php:986
|
286 |
+
#, php-format
|
287 |
+
msgid "%s — Controls line number padding. Valid values are <code>false</code> (no padding), <code>true</code> (automatic padding), or an integer (forced padding)."
|
288 |
+
msgstr "%s — Контролює відступ в номерах рядків. Може приймати значення <code>false</code> (без відступів), <code>true</code> (з автоматичними відступами) або число (примусовий відступ на Х знаків)."
|
289 |
+
|
290 |
+
#: syntaxhighlighter.php:987
|
291 |
+
#, php-format
|
292 |
+
msgid "%s — Toggle the toolbar containing the helpful buttons."
|
293 |
+
msgstr "%s — Дозволяє увімкнути чи вимкнути панель інструментів з корисними кнопками"
|
294 |
+
|
295 |
+
#: syntaxhighlighter.php:988
|
296 |
+
#, php-format
|
297 |
+
msgid "%s — Toggle line wrapping."
|
298 |
+
msgstr "%s — Дозволяє увімкнути чи вимкнути перенесення слів в довгих рядках коду."
|
299 |
+
|
300 |
+
#: syntaxhighlighter.php:991
|
301 |
+
msgid "Some example shortcodes:"
|
302 |
+
msgstr "декілька коротких кодів для прикладу"
|
303 |
+
|
304 |
+
#: syntaxhighlighter.php:994
|
305 |
+
#: syntaxhighlighter.php:995
|
306 |
+
#: syntaxhighlighter.php:996
|
307 |
+
#: syntaxhighlighter.php:997
|
308 |
+
msgid "your code here"
|
309 |
+
msgstr "ваш код тут"
|
310 |
+
|
311 |
+
#. Plugin Name of an extension
|
312 |
+
msgid "SyntaxHighlighter Evolved"
|
313 |
+
msgstr "SyntaxHighlighter Evolved"
|
314 |
+
|
315 |
+
#. Plugin URI of an extension
|
316 |
+
msgid "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
|
317 |
+
msgstr "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
|
318 |
+
|
319 |
+
#. Description of an extension
|
320 |
+
msgid "Easily post syntax-highlighted code to your site without having to modify the code at all. Uses Alex Gorbatchev's <a href=\"http://alexgorbatchev.com/wiki/SyntaxHighlighter\">SyntaxHighlighter</a> v2.0.320 and some code by <a href=\"http://wordpress.com/\">Andrew Ozz of Automattic</a>."
|
321 |
+
msgstr "Легко підсвічує код на Вашому сайті за допомогою коротких кодів. Використовує <a href=\"http://alexgorbatchev.com/wiki/SyntaxHighlighter\">SyntaxHighlighter</a> v2.0.320 від Alex Gorbatchev та деякі доробки від <a href=\"http://wordpress.com/\">Andrew Ozz з Automattic</a>."
|
322 |
+
|
323 |
+
#. Author of an extension
|
324 |
+
msgid "Viper007Bond"
|
325 |
+
msgstr "Viper007Bond"
|
326 |
+
|
327 |
+
#. Author URI of an extension
|
328 |
+
msgid "http://www.viper007bond.com/"
|
329 |
+
msgstr "http://www.viper007bond.com/"
|
330 |
+
|
readme.txt
CHANGED
@@ -1,22 +1,22 @@
|
|
1 |
=== SyntaxHighlighter Evolved ===
|
2 |
-
Contributors: Viper007Bond,
|
3 |
Donate link: http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/donate/
|
4 |
-
Tags: code, sourcecode, php, xhtml, html, css
|
5 |
Requires at least: 2.7
|
6 |
-
Tested up to:
|
7 |
Stable tag: trunk
|
8 |
|
9 |
Easily post syntax-highlighted code to your site without having to modify the code at all. As seen on WordPress.com.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
SyntaxHighlighter Evolved allows you to easily post syntax-highlighted code to your site without
|
14 |
|
15 |
For a live demo, see [this plugin's homepage](http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/).
|
16 |
|
17 |
For a list of supported languages (most widely used languages are supported), see the [WordPress.com support document](http://en.support.wordpress.com/code/posting-source-code/).
|
18 |
|
19 |
-
*As seen on WordPress.com
|
20 |
|
21 |
== Installation ==
|
22 |
|
@@ -44,13 +44,9 @@ The shortcodes accept a wide variety of parameters. For details, see the bottom
|
|
44 |
|
45 |
== Frequently Asked Questions ==
|
46 |
|
47 |
-
= The code boxes seem to be missing their styling. What's wrong? =
|
48 |
-
|
49 |
-
Make sure your theme's `header.php` file has `<?php wp_head(); ?>` somewhere inside of the `<head>`, otherwise the CSS files won't be loaded.
|
50 |
-
|
51 |
= The code is just being displayed raw. It isn't being converted into a code box or anything. What's wrong? =
|
52 |
|
53 |
-
Make sure your theme's `footer.php` file has `<?php wp_footer(); ?>` somewhere inside of it, otherwise the
|
54 |
|
55 |
== Screenshots ==
|
56 |
|
@@ -59,19 +55,58 @@ Make sure your theme's `footer.php` file has `<?php wp_footer(); ?>` somewhere i
|
|
59 |
|
60 |
== ChangeLog ==
|
61 |
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
* Allow `\0` inside of code posts for low-access users. Previously it was stripped by KSES. Also introduces new filter that can be used to escape other similar types of strings.
|
65 |
* Remove `min-height` CSS. I don't see the point of it and it's screwing it up in certain themes.
|
66 |
|
67 |
-
|
68 |
|
69 |
* Additional CSS to help prevent themes from breaking SyntaxHighlighter (stopping `code { display: block; }`).
|
70 |
* Add a grey border to the default theme when line numbering is enabled.
|
71 |
* Italian transation update thanks to [gidibao](http://gidibao.net/).
|
72 |
* Minor code improvements.
|
73 |
|
74 |
-
|
75 |
|
76 |
Major overhaul, mainly to extend flexibility so that this plugin could be used on WordPress.com without any more plugin code modification (only actions/filters are used instead to modify it).
|
77 |
|
@@ -98,11 +133,11 @@ Localizations:
|
|
98 |
* Danish translation update thanks to [Georg S. Adamsen](http://wordpress.blogos.dk/).
|
99 |
* Chinese translation thanks to Hinker Liu. Will need updating for v2.3.0.
|
100 |
|
101 |
-
|
102 |
|
103 |
* Italian transation thanks to [gidibao](http://gidibao.net/index.php/2009/07/22/syntaxhighlighter-evolved-in-italiano/).
|
104 |
|
105 |
-
|
106 |
|
107 |
* Stop whitespace from being stripped when switching editor views. Props [Abel Braaksma](http://www.undermyhat.org/blog/2009/07/fix-for-leading-whitespace-bug-in-syntaxhighlighter-evolved-for-wordpress/).
|
108 |
* Fixed an issue with SyntaxHighlighter itself in which the Bash highlighter had issues with `<` and `>`.
|
@@ -111,32 +146,32 @@ Localizations:
|
|
111 |
* Danish translation thanks to [Georg S. Adamsen](http://wordpress.blogos.dk/2009/05/07/syntaks-farvning-%E2%80%93-syntax-highlighting/).
|
112 |
* Turkish translation thanks to [Alper](http://turkcekaynak.net/).
|
113 |
|
114 |
-
|
115 |
|
116 |
* Updated to reflect the new features of [v2.0.320 of Alex's script](http://alexgorbatchev.com/wiki/SyntaxHighlighter:Changes:2.0.320). Note the `stripBrs` parameter is not supported in my plugin as it is not needed in this implementation.
|
117 |
|
118 |
-
|
119 |
|
120 |
* Andrew Ozz was kind enough to fix a bug related to `<p>`'s being stripped when switching from the Visual to HTML tab
|
121 |
* Added a link to the settings page to the plugins page in the admin area
|
122 |
|
123 |
-
|
124 |
|
125 |
* Complete recode from scratch. Features v2 of Alex Gorbatchev's script, usage of shortcodes, and so much more.
|
126 |
|
127 |
-
|
128 |
|
129 |
* Encode single quotes so `wptexturize()` doesn't transform them into fancy quotes and screw up code.
|
130 |
|
131 |
-
|
132 |
|
133 |
* mdawaffe [fixed](http://dev.wp-plugins.org/ticket/703) an encoding issue relating to kses and users without the `unfiltered_html` capability. Mad props to mdawaffe.
|
134 |
|
135 |
-
|
136 |
|
137 |
* Minor CSS fixes.
|
138 |
* Filter text widgets to allow posting of code.
|
139 |
|
140 |
-
|
141 |
|
142 |
-
* Initial release!
|
1 |
=== SyntaxHighlighter Evolved ===
|
2 |
+
Contributors: Viper007Bond, automattic
|
3 |
Donate link: http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/donate/
|
4 |
+
Tags: code, sourcecode, php, xhtml, html, css, WordPress.com
|
5 |
Requires at least: 2.7
|
6 |
+
Tested up to: 3.1
|
7 |
Stable tag: trunk
|
8 |
|
9 |
Easily post syntax-highlighted code to your site without having to modify the code at all. As seen on WordPress.com.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
+
SyntaxHighlighter Evolved allows you to easily post syntax-highlighted code to your site without losing it's formatting or making any manual changes. It uses the [SyntaxHighlighter JavaScript package by Alex Gorbatchev](http://alexgorbatchev.com/wiki/SyntaxHighlighter).
|
14 |
|
15 |
For a live demo, see [this plugin's homepage](http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/).
|
16 |
|
17 |
For a list of supported languages (most widely used languages are supported), see the [WordPress.com support document](http://en.support.wordpress.com/code/posting-source-code/).
|
18 |
|
19 |
+
*[As seen on WordPress.com.](http://en.blog.wordpress.com/2009/12/02/better-source-code-posting/)*
|
20 |
|
21 |
== Installation ==
|
22 |
|
44 |
|
45 |
== Frequently Asked Questions ==
|
46 |
|
|
|
|
|
|
|
|
|
47 |
= The code is just being displayed raw. It isn't being converted into a code box or anything. What's wrong? =
|
48 |
|
49 |
+
Make sure your theme's `footer.php` file has `<?php wp_footer(); ?>` somewhere inside of it, otherwise the plugin won't be able to do it's thing.
|
50 |
|
51 |
== Screenshots ==
|
52 |
|
55 |
|
56 |
== ChangeLog ==
|
57 |
|
58 |
+
= Version 3.0.0 =
|
59 |
+
|
60 |
+
* Updated to SyntaxHighlighter v3.0.83. See [changes](http://alexgorbatchev.com/SyntaxHighlighter/whatsnew.html). Main highlight is the ability to directly copy the code or double-click it to highlight it all.
|
61 |
+
* Allow specifying a line highlight range in the format of `5-10` (will highlight lines 5 through 10). Idea thanks to someone who's name I forgot. :(
|
62 |
+
* BuddyPress support! Props [Rich](http://blog.etiviti.com/).
|
63 |
+
* Add third-party Clojure brush by [Travis Whitton](http://travis-whitton.blogspot.com/2009/06/syntaxhighlighter-for-clojure.html).
|
64 |
+
* Add third-party R language brush by [Yihui Xie](http://yihui.name/en/2010/09/syntaxhighlighter-brush-for-the-r-language).
|
65 |
+
* Ukrainian transation update thanks to [AzzePis](http://wordpress.co.ua/).
|
66 |
+
|
67 |
+
= Version 2.3.8 =
|
68 |
+
|
69 |
+
* Disable `[latex]` to avoid collisions with LaTeX rendering plugins. Use `[tex]` instead if you want to post LaTeX source.
|
70 |
+
|
71 |
+
= Version 2.3.7 =
|
72 |
+
|
73 |
+
* Add a checkbox to settings page to force all language brushes to always be loaded, even if they aren't needed. This is incase anyone wants to use the `<pre>` tags directly (without the shortcode), for example if they use [this Windows Live Writer plugin](http://sourcecodeplugin.codeplex.com/).
|
74 |
+
|
75 |
+
= Version 2.3.6 =
|
76 |
+
|
77 |
+
* Add third-party F-Sharp brush by [Steve Gilham](http://stevegilham.blogspot.com/2009/10/syntaxhighlighter-20-brushes-for-f-and.html).
|
78 |
+
* Add third-partyMATLAB brush by [Will Schleter](http://ef.engr.utk.edu/matlab/syntaxhighlighter/) (only highlights popular keywords to avoid browser lockups).
|
79 |
+
* Prevent double-encoding of shortcode contents save. I still have no idea why the `content_save_pre` filter is sometimes run twice.
|
80 |
+
|
81 |
+
= Version 2.3.5 =
|
82 |
+
|
83 |
+
* Move third-party brushes to their own folder to make it easier to keep track of them.
|
84 |
+
* Fix broken Objective-C brush. Props Yoav.
|
85 |
+
* Add third-party LaTeX brush. This won't render LaTex, it will merely allow you to post LaTeX souce. Props [Jorge Martinez de Salinas](http://www.jorgemarsal.com/blog/2009/06/13/latex-brush-for-syntax-highlighter-plus-wordpress-plugin/).
|
86 |
+
|
87 |
+
= Version 2.3.4 =
|
88 |
+
|
89 |
+
* Use the `get_comment_text` filter instead of the `comment_text` filter to make sure to catch the output everywhere.
|
90 |
+
* Allow `on` and `off` as parameter values.
|
91 |
+
|
92 |
+
= Version 2.3.3 =
|
93 |
+
|
94 |
+
* Add `print` to PHP keywords. Props bundyxc.
|
95 |
+
* Changes to make this plugin work properly with code that creates posts from outside of the admin area, namely the [P2 theme](http://p2theme.com/).
|
96 |
+
|
97 |
+
= Version 2.3.2 =
|
98 |
|
99 |
* Allow `\0` inside of code posts for low-access users. Previously it was stripped by KSES. Also introduces new filter that can be used to escape other similar types of strings.
|
100 |
* Remove `min-height` CSS. I don't see the point of it and it's screwing it up in certain themes.
|
101 |
|
102 |
+
= Version 2.3.1 =
|
103 |
|
104 |
* Additional CSS to help prevent themes from breaking SyntaxHighlighter (stopping `code { display: block; }`).
|
105 |
* Add a grey border to the default theme when line numbering is enabled.
|
106 |
* Italian transation update thanks to [gidibao](http://gidibao.net/).
|
107 |
* Minor code improvements.
|
108 |
|
109 |
+
= Version 2.3.0 =
|
110 |
|
111 |
Major overhaul, mainly to extend flexibility so that this plugin could be used on WordPress.com without any more plugin code modification (only actions/filters are used instead to modify it).
|
112 |
|
133 |
* Danish translation update thanks to [Georg S. Adamsen](http://wordpress.blogos.dk/).
|
134 |
* Chinese translation thanks to Hinker Liu. Will need updating for v2.3.0.
|
135 |
|
136 |
+
= Version 2.2.1 =
|
137 |
|
138 |
* Italian transation thanks to [gidibao](http://gidibao.net/index.php/2009/07/22/syntaxhighlighter-evolved-in-italiano/).
|
139 |
|
140 |
+
= Version 2.2.0 =
|
141 |
|
142 |
* Stop whitespace from being stripped when switching editor views. Props [Abel Braaksma](http://www.undermyhat.org/blog/2009/07/fix-for-leading-whitespace-bug-in-syntaxhighlighter-evolved-for-wordpress/).
|
143 |
* Fixed an issue with SyntaxHighlighter itself in which the Bash highlighter had issues with `<` and `>`.
|
146 |
* Danish translation thanks to [Georg S. Adamsen](http://wordpress.blogos.dk/2009/05/07/syntaks-farvning-%E2%80%93-syntax-highlighting/).
|
147 |
* Turkish translation thanks to [Alper](http://turkcekaynak.net/).
|
148 |
|
149 |
+
= Version 2.1.0 =
|
150 |
|
151 |
* Updated to reflect the new features of [v2.0.320 of Alex's script](http://alexgorbatchev.com/wiki/SyntaxHighlighter:Changes:2.0.320). Note the `stripBrs` parameter is not supported in my plugin as it is not needed in this implementation.
|
152 |
|
153 |
+
= Version 2.0.1 =
|
154 |
|
155 |
* Andrew Ozz was kind enough to fix a bug related to `<p>`'s being stripped when switching from the Visual to HTML tab
|
156 |
* Added a link to the settings page to the plugins page in the admin area
|
157 |
|
158 |
+
= Version 2.0.0 =
|
159 |
|
160 |
* Complete recode from scratch. Features v2 of Alex Gorbatchev's script, usage of shortcodes, and so much more.
|
161 |
|
162 |
+
= Version 1.1.1 =
|
163 |
|
164 |
* Encode single quotes so `wptexturize()` doesn't transform them into fancy quotes and screw up code.
|
165 |
|
166 |
+
= Version 1.1.0 =
|
167 |
|
168 |
* mdawaffe [fixed](http://dev.wp-plugins.org/ticket/703) an encoding issue relating to kses and users without the `unfiltered_html` capability. Mad props to mdawaffe.
|
169 |
|
170 |
+
= Version 1.0.1 =
|
171 |
|
172 |
* Minor CSS fixes.
|
173 |
* Filter text widgets to allow posting of code.
|
174 |
|
175 |
+
= Version 1.0.0 =
|
176 |
|
177 |
+
* Initial release!
|
syntaxhighlighter.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
Plugin Name: SyntaxHighlighter Evolved
|
6 |
Plugin URI: http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/
|
7 |
-
Version:
|
8 |
Description: Easily post syntax-highlighted code to your site without having to modify the code at all. Uses Alex Gorbatchev's <a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter">SyntaxHighlighter</a> v2.0.320 and some code by <a href="http://wordpress.com/">Andrew Ozz of Automattic</a>.
|
9 |
Author: Viper007Bond
|
10 |
Author URI: http://www.viper007bond.com/
|
@@ -16,72 +16,81 @@ Thanks to:
|
|
16 |
* Alex Gorbatchev for writing such an awesome Javascript-powered synatax
|
17 |
highlighter script
|
18 |
|
19 |
-
* Andrew Ozz
|
20 |
|
21 |
**************************************************************************/
|
22 |
|
23 |
class SyntaxHighlighter {
|
24 |
// All of these variables are private. Filters are provided for things that can be modified.
|
25 |
-
var $pluginver
|
26 |
-
var $agshver
|
27 |
-
var $settings
|
28 |
-
var $defaultsettings
|
29 |
-
var $brushes
|
30 |
-
var $shortcodes
|
31 |
-
var $themes
|
32 |
-
var $usedbrushes
|
33 |
-
var $encoded
|
34 |
-
var $codeformat
|
|
|
35 |
|
36 |
// Initalize the plugin by registering the hooks
|
37 |
function __construct() {
|
38 |
-
if ( !function_exists('esc_html') )
|
39 |
return;
|
40 |
|
41 |
// Load localization domain
|
42 |
load_plugin_textdomain( 'syntaxhighlighter', false, '/syntaxhighlighter/localization' );
|
43 |
|
44 |
// Register brush scripts
|
45 |
-
wp_register_script( 'syntaxhighlighter-core', plugins_url('syntaxhighlighter/
|
46 |
-
wp_register_script( 'syntaxhighlighter-brush-as3', plugins_url('syntaxhighlighter/
|
47 |
-
wp_register_script( 'syntaxhighlighter-brush-bash', plugins_url('syntaxhighlighter/
|
48 |
-
wp_register_script( 'syntaxhighlighter-brush-coldfusion', plugins_url('syntaxhighlighter/
|
49 |
-
wp_register_script( 'syntaxhighlighter-brush-cpp', plugins_url('syntaxhighlighter/
|
50 |
-
wp_register_script( 'syntaxhighlighter-brush-csharp', plugins_url('syntaxhighlighter/
|
51 |
-
wp_register_script( 'syntaxhighlighter-brush-css', plugins_url('syntaxhighlighter/
|
52 |
-
wp_register_script( 'syntaxhighlighter-brush-delphi', plugins_url('syntaxhighlighter/
|
53 |
-
wp_register_script( 'syntaxhighlighter-brush-diff', plugins_url('syntaxhighlighter/
|
54 |
-
wp_register_script( 'syntaxhighlighter-brush-erlang', plugins_url('syntaxhighlighter/
|
55 |
-
wp_register_script( 'syntaxhighlighter-brush-groovy', plugins_url('syntaxhighlighter/
|
56 |
-
wp_register_script( 'syntaxhighlighter-brush-java', plugins_url('syntaxhighlighter/
|
57 |
-
wp_register_script( 'syntaxhighlighter-brush-javafx', plugins_url('syntaxhighlighter/
|
58 |
-
wp_register_script( 'syntaxhighlighter-brush-jscript', plugins_url('syntaxhighlighter/
|
59 |
-
wp_register_script( 'syntaxhighlighter-brush-
|
60 |
-
wp_register_script( 'syntaxhighlighter-brush-
|
61 |
-
wp_register_script( 'syntaxhighlighter-brush-
|
62 |
-
wp_register_script( 'syntaxhighlighter-brush-
|
63 |
-
wp_register_script( 'syntaxhighlighter-brush-
|
64 |
-
wp_register_script( 'syntaxhighlighter-brush-
|
65 |
-
wp_register_script( 'syntaxhighlighter-brush-
|
66 |
-
wp_register_script( 'syntaxhighlighter-brush-
|
67 |
-
wp_register_script( 'syntaxhighlighter-brush-
|
68 |
-
wp_register_script( 'syntaxhighlighter-brush-
|
69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
// Register theme stylesheets
|
72 |
-
wp_register_style( 'syntaxhighlighter-core', plugins_url('syntaxhighlighter/
|
73 |
-
wp_register_style( 'syntaxhighlighter-theme-default', plugins_url('syntaxhighlighter/
|
74 |
-
wp_register_style( 'syntaxhighlighter-theme-django', plugins_url('syntaxhighlighter/
|
75 |
-
wp_register_style( 'syntaxhighlighter-theme-eclipse', plugins_url('syntaxhighlighter/
|
76 |
-
wp_register_style( 'syntaxhighlighter-theme-emacs', plugins_url('syntaxhighlighter/
|
77 |
-
wp_register_style( 'syntaxhighlighter-theme-fadetogrey', plugins_url('syntaxhighlighter/
|
78 |
-
wp_register_style( 'syntaxhighlighter-theme-midnight', plugins_url('syntaxhighlighter/
|
79 |
-
wp_register_style( 'syntaxhighlighter-theme-rdark', plugins_url('syntaxhighlighter/
|
80 |
|
81 |
|
82 |
// Create array of default settings (you can use the filter to modify these)
|
83 |
$this->defaultsettings = (array) apply_filters( 'syntaxhighlighter_defaultsettings', array(
|
84 |
'theme' => 'default',
|
|
|
85 |
'autolinks' => 1,
|
86 |
'classname' => '',
|
87 |
'collapse' => 0,
|
@@ -101,43 +110,44 @@ class SyntaxHighlighter {
|
|
101 |
$this->settings = wp_parse_args( $usersettings, $this->defaultsettings );
|
102 |
|
103 |
|
104 |
-
//
|
105 |
-
add_filter( 'the_content',
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
add_filter( '
|
111 |
-
add_filter( '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
|
113 |
// Register widget hooks
|
114 |
// Requires change added in WordPress 2.9
|
115 |
if ( class_exists('WP_Embed') ) {
|
116 |
-
add_filter( 'widget_text',
|
117 |
-
add_filter( 'widget_update_callback',
|
118 |
-
add_filter( 'widget_form_callback',
|
119 |
-
}
|
120 |
-
|
121 |
-
// Frontend-only stuff
|
122 |
-
if ( !is_admin() ) {
|
123 |
-
add_action( 'wp_footer', array(&$this, 'maybe_output_scripts'), 15 );
|
124 |
-
|
125 |
-
// No longer works since JS adds CSS after this
|
126 |
-
// Perhaps it's better if the code fontsize matches the blog fontsize...
|
127 |
-
//add_action( 'wp_head', array(&$this, 'enforce_font_size') );
|
128 |
-
}
|
129 |
-
|
130 |
-
// Admin-only stuff
|
131 |
-
if ( is_admin() ) {
|
132 |
-
add_action( 'admin_init', array(&$this, 'register_setting') );
|
133 |
-
add_action( 'admin_head', array(&$this, 'output_shortcodes_for_tinymce') );
|
134 |
-
add_action( 'admin_footer', array(&$this, 'maybe_output_scripts'), 15 ); // For comments
|
135 |
-
add_filter( 'mce_external_plugins', array(&$this, 'add_tinymce_plugin') );
|
136 |
-
add_filter( 'tiny_mce_version', array(&$this, 'break_tinymce_cache') );
|
137 |
-
add_filter( 'the_editor_content', array(&$this, 'the_editor_content'), 1 );
|
138 |
-
add_filter( 'content_save_pre', array(&$this, 'encode_shortcode_contents_slashed_noajax'), 1 );
|
139 |
-
add_filter( 'save_post', array(&$this, 'mark_as_encoded'), 10, 2 );
|
140 |
-
add_filter( 'plugin_action_links', array(&$this, 'settings_link'), 10, 2 );
|
141 |
}
|
142 |
|
143 |
|
@@ -151,6 +161,8 @@ class SyntaxHighlighter {
|
|
151 |
'shell' => 'bash',
|
152 |
'coldfusion' => 'coldfusion',
|
153 |
'cf' => 'coldfusion',
|
|
|
|
|
154 |
'cpp' => 'cpp',
|
155 |
'c' => 'cpp',
|
156 |
'c-sharp' => 'csharp',
|
@@ -163,6 +175,7 @@ class SyntaxHighlighter {
|
|
163 |
'patch' => 'diff',
|
164 |
'erl' => 'erlang',
|
165 |
'erlang' => 'erlang',
|
|
|
166 |
'groovy' => 'groovy',
|
167 |
'java' => 'java',
|
168 |
'jfx' => 'javafx',
|
@@ -170,6 +183,9 @@ class SyntaxHighlighter {
|
|
170 |
'js' => 'jscript',
|
171 |
'jscript' => 'jscript',
|
172 |
'javascript' => 'jscript',
|
|
|
|
|
|
|
173 |
'objc' => 'objc',
|
174 |
'obj-c' => 'objc',
|
175 |
'perl' => 'perl',
|
@@ -181,6 +197,8 @@ class SyntaxHighlighter {
|
|
181 |
'powershell' => 'powershell',
|
182 |
'py' => 'python',
|
183 |
'python' => 'python',
|
|
|
|
|
184 |
'rails' => 'ruby',
|
185 |
'rb' => 'ruby',
|
186 |
'ror' => 'ruby',
|
@@ -201,6 +219,7 @@ class SyntaxHighlighter {
|
|
201 |
// If that's invalid, then "plain" is used.
|
202 |
$this->shortcodes = array( 'sourcecode', 'source', 'code' );
|
203 |
$this->shortcodes = array_merge( $this->shortcodes, array_keys( $this->brushes ) );
|
|
|
204 |
$this->shortcodes = (array) apply_filters( 'syntaxhighlighter_shortcodes', $this->shortcodes );
|
205 |
|
206 |
// Create list of themes and their human readable names
|
@@ -225,7 +244,7 @@ class SyntaxHighlighter {
|
|
225 |
|
226 |
// Register the settings page
|
227 |
function register_settings_page() {
|
228 |
-
add_options_page( __('SyntaxHighlighter Settings', 'syntaxhighlighter'), __('SyntaxHighlighter', 'syntaxhighlighter'), 'manage_options', 'syntaxhighlighter', array(&$this, 'settings_page') );
|
229 |
}
|
230 |
|
231 |
|
@@ -237,14 +256,14 @@ class SyntaxHighlighter {
|
|
237 |
|
238 |
// Add the custom TinyMCE plugin which wraps plugin shortcodes in <pre> in TinyMCE
|
239 |
function add_tinymce_plugin( $plugins ) {
|
240 |
-
$plugins['syntaxhighlighter'] = plugins_url('syntaxhighlighter/
|
241 |
return $plugins;
|
242 |
}
|
243 |
|
244 |
|
245 |
// Break the TinyMCE cache
|
246 |
function break_tinymce_cache( $version ) {
|
247 |
-
return $version . '-
|
248 |
}
|
249 |
|
250 |
|
@@ -256,7 +275,7 @@ class SyntaxHighlighter {
|
|
256 |
$this_plugin = plugin_basename(__FILE__);
|
257 |
|
258 |
if ( $file == $this_plugin )
|
259 |
-
$links[] = '<a href="' . admin_url( 'options-general.php?page=syntaxhighlighter' ) . '">' . __('Settings', 'syntaxhighlighter') . '</a>';
|
260 |
|
261 |
return $links;
|
262 |
}
|
@@ -322,9 +341,17 @@ class SyntaxHighlighter {
|
|
322 |
|
323 |
|
324 |
// HTML entity encode the contents of shortcodes. Expects slashed content. Aborts if AJAX.
|
325 |
-
function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
326 |
// Post quick edits aren't decoded for display, so we don't need to encode them (again)
|
327 |
-
if (
|
328 |
return $content;
|
329 |
|
330 |
return $this->encode_shortcode_contents_slashed( $content );
|
@@ -478,10 +505,20 @@ class SyntaxHighlighter {
|
|
478 |
}
|
479 |
|
480 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
481 |
// Output any needed scripts. This is meant for the footer.
|
482 |
function maybe_output_scripts() {
|
483 |
global $wp_styles;
|
484 |
|
|
|
|
|
|
|
485 |
if ( empty($this->usedbrushes) )
|
486 |
return;
|
487 |
|
@@ -535,7 +572,7 @@ class SyntaxHighlighter {
|
|
535 |
corecss.rel = "stylesheet";
|
536 |
corecss.href = corecssurl;
|
537 |
}
|
538 |
-
document.getElementsByTagName("head")[0].
|
539 |
<?php
|
540 |
endif; // Endif $needcore
|
541 |
|
@@ -549,13 +586,14 @@ class SyntaxHighlighter {
|
|
549 |
themecss.rel = "stylesheet";
|
550 |
themecss.href = themecssurl;
|
551 |
}
|
552 |
-
document.
|
|
|
553 |
<?php
|
554 |
endif; // Endif none != theme
|
555 |
|
556 |
echo " })();\n";
|
557 |
|
558 |
-
echo " SyntaxHighlighter.config.clipboardSwf = '" . esc_js( apply_filters( 'syntaxhighlighter_clipboardurl', plugins_url('syntaxhighlighter/
|
559 |
echo " SyntaxHighlighter.config.strings.expandSource = '" . $this->js_escape_singlequotes( __( 'show source', 'syntaxhighlighter' ) ) . "';\n";
|
560 |
echo " SyntaxHighlighter.config.strings.viewSource = '" . $this->js_escape_singlequotes( __( 'view source', 'syntaxhighlighter' ) ) . "';\n";
|
561 |
echo " SyntaxHighlighter.config.strings.copyToClipboard = '" . $this->js_escape_singlequotes( __( 'copy to clipboard', 'syntaxhighlighter' ) ) . "';\n";
|
@@ -656,6 +694,7 @@ class SyntaxHighlighter {
|
|
656 |
$atts = (array) apply_filters( 'syntaxhighlighter_shortcodeatts', shortcode_atts( array(
|
657 |
'language' => false,
|
658 |
'lang' => false,
|
|
|
659 |
'autolinks' => false,
|
660 |
'classname' => false,
|
661 |
'collapse' => false,
|
@@ -668,6 +707,7 @@ class SyntaxHighlighter {
|
|
668 |
'padlinenumbers' => false,
|
669 |
'smarttabs' => false,
|
670 |
'tabsize' => false,
|
|
|
671 |
'toolbar' => false,
|
672 |
'wraplines' => false,
|
673 |
), $atts ) );
|
@@ -716,33 +756,6 @@ class SyntaxHighlighter {
|
|
716 |
$atts['light'] = 'false';
|
717 |
}
|
718 |
|
719 |
-
// Automatically enable "htmlscript" for certain brushes
|
720 |
-
//if ( false === $atts['html-script'] && in_array( $lang, apply_filters( 'syntaxhighlighter_htmlscriptbrushes', array( 'php' ) ) ) )
|
721 |
-
// $atts['html-script'] = 'true';
|
722 |
-
|
723 |
-
// Sanitize row highlights
|
724 |
-
if ( false != $atts['highlight'] ) {
|
725 |
-
if ( false === strpos( $atts['highlight'], ',' ) ) {
|
726 |
-
$atts['highlight'] = (int) $atts['highlight'];
|
727 |
-
} else {
|
728 |
-
$highlights = explode( ',', $atts['highlight'] );
|
729 |
-
|
730 |
-
foreach ( $highlights as $key => $highlight ) {
|
731 |
-
$highlights[$key] = (int) $highlight;
|
732 |
-
if ( empty($highlights[$key]) )
|
733 |
-
unset($highlights[$key]);
|
734 |
-
}
|
735 |
-
|
736 |
-
$atts['highlight'] = implode( ',', $highlights );
|
737 |
-
}
|
738 |
-
}
|
739 |
-
if ( empty($atts['highlight']) )
|
740 |
-
$atts['highlight'] = false;
|
741 |
-
|
742 |
-
// Sanitize the "classname" parameter
|
743 |
-
if ( false != $atts['classname'] )
|
744 |
-
$atts['classname'] = trim( preg_replace( '/[^a-zA-Z0-9 _-]/i', '', $atts['classname'] ) );
|
745 |
-
|
746 |
// Parameter renaming (the shortcode API doesn't like parameter names with dashes)
|
747 |
$rename_map = array(
|
748 |
'autolinks' => 'auto-links',
|
@@ -771,11 +784,14 @@ class SyntaxHighlighter {
|
|
771 |
'pad-line-numbers' => 'other',
|
772 |
'smart-tabs' => 'boolean',
|
773 |
'tab-size' => 'integer',
|
|
|
774 |
'toolbar' => 'boolean',
|
775 |
'wrap-lines' => 'boolean',
|
776 |
) );
|
777 |
|
778 |
-
|
|
|
|
|
779 |
foreach ( $atts as $key => $value ) {
|
780 |
$key = strtolower( $key );
|
781 |
|
@@ -791,9 +807,9 @@ class SyntaxHighlighter {
|
|
791 |
switch ( $allowed_atts[$key] ) {
|
792 |
case 'boolean':
|
793 |
$value = strtolower( $value );
|
794 |
-
if ( 'true' === $value || '1' === $value )
|
795 |
$value = 'true';
|
796 |
-
elseif ( 'false' === $value || '0' === $value )
|
797 |
$value = 'false';
|
798 |
else
|
799 |
continue 2; // Invalid value, ditch parameter
|
@@ -805,6 +821,10 @@ class SyntaxHighlighter {
|
|
805 |
break;
|
806 |
}
|
807 |
|
|
|
|
|
|
|
|
|
808 |
// Special sanitization for "pad-line-numbers"
|
809 |
if ( 'pad-line-numbers' == $key ) {
|
810 |
$value = strtolower( $value );
|
@@ -824,16 +844,51 @@ class SyntaxHighlighter {
|
|
824 |
if ( 'html-script' == $key && 'true' == $value )
|
825 |
$this->usedbrushes['xml'] = true;
|
826 |
|
827 |
-
//
|
828 |
-
if ( 'highlight' == $key )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
829 |
$params[] = "$key: [$value];";
|
830 |
-
|
831 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
832 |
}
|
833 |
|
834 |
$code = ( false === strpos( $code, '<' ) && false === strpos( $code, '>' ) && 2 == $this->get_code_format($post) ) ? strip_tags( $code ) : htmlspecialchars( $code );
|
835 |
|
836 |
-
return '<pre class="' . esc_attr( implode( ' ', $params ) ) . '">' . $code . '</pre>'
|
837 |
}
|
838 |
|
839 |
|
@@ -845,11 +900,11 @@ class SyntaxHighlighter {
|
|
845 |
jQuery(document).ready(function($) {
|
846 |
// Confirm pressing of the "Reset to Defaults" button
|
847 |
$("#syntaxhighlighter-defaults").click(function(){
|
848 |
-
var areyousure = confirm("<?php echo esc_js( __('Are you sure you want to reset your settings to the defaults?', 'syntaxhighlighter') ); ?>");
|
849 |
if ( true != areyousure ) return false;
|
850 |
});
|
851 |
<?php if ( !empty( $_GET['defaults'] ) ) : ?>
|
852 |
-
$("#message p strong").text("<?php echo esc_js( __('Settings reset to defaults.', 'syntaxhighlighter') ); ?>");
|
853 |
<?php endif; ?>
|
854 |
});
|
855 |
// ]]>
|
@@ -866,7 +921,7 @@ class SyntaxHighlighter {
|
|
866 |
|
867 |
<table class="form-table">
|
868 |
<tr valign="top">
|
869 |
-
<th scope="row"><label for="syntaxhighlighter-theme"><?php _e('Color Theme', 'syntaxhighlighter'); ?></label></th>
|
870 |
<td>
|
871 |
<select name="syntaxhighlighter_settings[theme]" id="syntaxhighlighter-theme" class="postform">
|
872 |
<?php
|
@@ -879,40 +934,49 @@ class SyntaxHighlighter {
|
|
879 |
</select>
|
880 |
</td>
|
881 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
882 |
</table>
|
883 |
|
884 |
-
<h3><?php _e('Defaults', 'syntaxhighlighter'); ?></h3>
|
885 |
|
886 |
-
<p><?php _e('All of the settings below can be configured on a per-code box basis, but you can control the defaults of all code boxes here.', 'syntaxhighlighter'); ?></p>
|
887 |
|
888 |
<table class="form-table">
|
889 |
<tr valign="top">
|
890 |
-
<th scope="row"><?php _e('Miscellaneous', 'syntaxhighlighter'); ?></th>
|
891 |
<td>
|
892 |
<fieldset>
|
893 |
-
<legend class="hidden"><?php _e('Miscellaneous', 'syntaxhighlighter'); ?></legend>
|
894 |
-
|
895 |
-
<label for="syntaxhighlighter-gutter"><input name="syntaxhighlighter_settings[gutter]" type="checkbox" id="syntaxhighlighter-gutter" value="1" <?php checked( $this->settings['gutter'], 1 ); ?> /> <?php _e('Display line numbers', 'syntaxhighlighter'); ?></label><br />
|
896 |
-
<label for="syntaxhighlighter-toolbar"><input name="syntaxhighlighter_settings[toolbar]" type="checkbox" id="syntaxhighlighter-toolbar" value="1" <?php checked( $this->settings['toolbar'], 1 ); ?> /> <?php _e('Display the toolbar', 'syntaxhighlighter'); ?></label><br />
|
897 |
-
<label for="syntaxhighlighter-autolinks"><input name="syntaxhighlighter_settings[autolinks]" type="checkbox" id="syntaxhighlighter-autolinks" value="1" <?php checked( $this->settings['autolinks'], 1 ); ?> /> <?php _e('Automatically make URLs clickable', 'syntaxhighlighter'); ?></label><br />
|
898 |
-
<label for="syntaxhighlighter-collapse"><input name="syntaxhighlighter_settings[collapse]" type="checkbox" id="syntaxhighlighter-collapse" value="1" <?php checked( $this->settings['collapse'], 1 ); ?> /> <?php _e('Collapse code boxes', 'syntaxhighlighter'); ?></label><br />
|
899 |
-
<label for="syntaxhighlighter-light"><input name="syntaxhighlighter_settings[light]" type="checkbox" id="syntaxhighlighter-light" value="1" <?php checked( $this->settings['light'], 1 ); ?> /> <?php _e('Use the light display mode, best for single lines of code', 'syntaxhighlighter'); ?></label><br />
|
900 |
-
<label for="syntaxhighlighter-smarttabs"><input name="syntaxhighlighter_settings[smarttabs]" type="checkbox" id="syntaxhighlighter-smarttabs" value="1" <?php checked( $this->settings['smarttabs'], 1 ); ?> /> <?php _e('Use smart tabs allowing tabs being used for alignment', 'syntaxhighlighter'); ?></label><br />
|
901 |
-
<label for="syntaxhighlighter-wraplines"><input name="syntaxhighlighter_settings[wraplines]" type="checkbox" id="syntaxhighlighter-wraplines" value="1" <?php checked( $this->settings['wraplines'], 1 ); ?> /> <?php _e('Wrap long lines (disabling this will make a scrollbar show instead)', 'syntaxhighlighter'); ?></label><br />
|
902 |
-
<!--<label for="syntaxhighlighter-htmlscript"><input name="syntaxhighlighter_settings[htmlscript]" type="checkbox" id="syntaxhighlighter-htmlscript" value="1" <?php checked( $this->settings['htmlscript'], 1 ); ?> /> <?php _e('Enable "HTML script" mode by default (see the bottom of this page for details). Checking this box is not recommended as this mode only works with certain languages.', 'syntaxhighlighter'); ?></label>-->
|
903 |
</fieldset>
|
904 |
</td>
|
905 |
</tr>
|
906 |
<tr valign="top">
|
907 |
-
<th scope="row"><label for="syntaxhighlighter-classname"><?php _e('Additional CSS Class(es)', 'syntaxhighlighter'); ?></label></th>
|
908 |
<td><input name="syntaxhighlighter_settings[classname]" type="text" id="syntaxhighlighter-classname" value="<?php echo esc_attr( $this->settings['classname'] ); ?>" class="regular-text" /></td>
|
909 |
</tr>
|
910 |
<tr valign="top">
|
911 |
-
<th scope="row"><label for="syntaxhighlighter-firstline"><?php _e('Starting Line Number', 'syntaxhighlighter'); ?></label></th>
|
912 |
<td><input name="syntaxhighlighter_settings[firstline]" type="text" id="syntaxhighlighter-firstline" value="<?php echo esc_attr( $this->settings['firstline'] ); ?>" class="small-text" /></td>
|
913 |
</tr>
|
914 |
<tr valign="top">
|
915 |
-
<th scope="row"><label for="syntaxhighlighter-padlinenumbers"><?php _e('Line Number Padding', 'syntaxhighlighter'); ?></label></th>
|
916 |
<td>
|
917 |
<select name="syntaxhighlighter_settings[padlinenumbers]" id="syntaxhighlighter-padlinenumbers" class="postform">
|
918 |
<?php
|
@@ -936,21 +1000,21 @@ class SyntaxHighlighter {
|
|
936 |
</td>
|
937 |
</tr>
|
938 |
<tr valign="top">
|
939 |
-
<th scope="row"><label for="syntaxhighlighter-tabsize"><?php _e('Tab Size', 'syntaxhighlighter'); ?></label></th>
|
940 |
<td><input name="syntaxhighlighter_settings[tabsize]" type="text" id="syntaxhighlighter-tabsize" value="<?php echo esc_attr( $this->settings['tabsize'] ); ?>" class="small-text" /></td>
|
941 |
</tr>
|
942 |
</table>
|
943 |
|
944 |
<p class="submit">
|
945 |
-
<input type="submit" name="syntaxhighlighter-submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
946 |
-
<input type="submit" name="syntaxhighlighter-defaults" id="syntaxhighlighter-defaults" class="button-primary" value="<?php _e('Reset to Defaults', 'syntaxhighlighter') ?>" />
|
947 |
</p>
|
948 |
|
949 |
</form>
|
950 |
|
951 |
-
<h3><?php _e('Preview', 'syntaxhighlighter'); ?></h3>
|
952 |
|
953 |
-
<p><?php _e('Click "Save Changes" to update this preview.', 'syntaxhighlighter'); ?>
|
954 |
|
955 |
<?php
|
956 |
|
@@ -984,32 +1048,33 @@ class SyntaxHighlighter {
|
|
984 |
|
985 |
?>
|
986 |
|
987 |
-
<h3 style="margin-top:30px"><?php _e('Shortcode Parameters', 'syntaxhighlighter'); ?></h3>
|
988 |
|
989 |
-
<p><?php printf( __('These are the parameters you can pass to the shortcode and what they do. For the booleans (i.e. on/off), pass %1$s/%2$s or %3$s/%4$s.', 'syntaxhighlighter'), '<code>true</code>', '<code>1</code>', '<code>false</code>', '<code>0</code>' ); ?></p>
|
990 |
|
991 |
<ul class="ul-disc">
|
992 |
-
<li><?php printf( __('%1$s or %2$s — The language syntax to highlight with. You can alternately just use that as the tag, such as <code>[php]code[/php]</code>. <a href="%3$s">Click here</a> for a list of valid tags (under "aliases").', 'syntaxhighlighter'), '<code>lang</code>', '<code>language</code>', 'http://alexgorbatchev.com/wiki/SyntaxHighlighter:Brushes' ); ?></li>
|
993 |
-
<li><?php printf( __('%s — Toggle automatic URL linking.', 'syntaxhighlighter'), '<code>autolinks</code>' ); ?></li>
|
994 |
-
<li><?php printf( __('%s — Add an additional CSS class to the code box.', 'syntaxhighlighter'), '<code>classname</code>' ); ?></li>
|
995 |
-
<li><?php printf( __('%s — Toggle collapsing the code box by default, requiring a click to expand it. Good for large code posts.', 'syntaxhighlighter'), '<code>collapse</code>' ); ?></li>
|
996 |
-
<li><?php printf( __('%s — An interger specifying what number the first line should be (for the line numbering).', 'syntaxhighlighter'), '<code>firstline</code>' ); ?></li>
|
997 |
-
<li><?php printf( __('%s — Toggle the left-side line numbering.', 'syntaxhighlighter'), '<code>gutter</code>' ); ?></li>
|
998 |
-
<li><?php printf( __('%s — A comma-sperated list of line numbers to highlight.', 'syntaxhighlighter'), '<code>highlight</code>' ); ?></li>
|
999 |
-
<li><?php printf( __("%s — Toggle highlighting any extra HTML/XML. Good for when you're mixing HTML/XML with another language, such as having PHP inside an HTML web page. The above preview has it enabled for example. This only works with certain languages.", 'syntaxhighlighter'), '<code>htmlscript</code>' ); ?></li>
|
1000 |
-
<li><?php printf( __(
|
1001 |
-
<li><?php printf( __(
|
1002 |
-
<li><?php printf( __(
|
1003 |
-
<li><?php printf( __(
|
|
|
1004 |
</ul>
|
1005 |
|
1006 |
-
<p><?php _e('Some example shortcodes:', 'syntaxhighlighter'); ?></p>
|
1007 |
|
1008 |
<ul class="ul-disc">
|
1009 |
-
<li><code>[php]<?php _e('your code here', 'syntaxhighlighter'); ?>[/php]</code></li>
|
1010 |
-
<li><code>[css autolinks="false" classname="myclass" collapse="false" firstline="1" gutter="true" highlight="1,
|
1011 |
-
<li><code>[code lang="js"]<?php _e('your code here', 'syntaxhighlighter'); ?>[/code]</code></li>
|
1012 |
-
<li><code>[sourcecode language="plain"]<?php _e('your code here', 'syntaxhighlighter'); ?>[/sourcecode]</code></li>
|
1013 |
</ul>
|
1014 |
|
1015 |
<?php $this->maybe_output_scripts(); ?>
|
@@ -1026,22 +1091,23 @@ class SyntaxHighlighter {
|
|
1026 |
$settings = $this->defaultsettings;
|
1027 |
$_REQUEST['_wp_http_referer'] = add_query_arg( 'defaults', 'true', $_REQUEST['_wp_http_referer'] );
|
1028 |
} else {
|
1029 |
-
$settings['theme']
|
1030 |
|
1031 |
-
$settings['
|
1032 |
-
$settings['
|
1033 |
-
$settings['
|
1034 |
-
$settings['
|
1035 |
-
$settings['
|
1036 |
-
$settings['
|
1037 |
-
$settings['
|
|
|
1038 |
|
1039 |
if ( 'true' != $settings['padlinenumbers'] && 'false' != $settings['padlinenumbers'] )
|
1040 |
$settings['padlinenumbers'] = (int) $settings['padlinenumbers'];
|
1041 |
|
1042 |
-
$settings['classname']
|
1043 |
-
$settings['firstline']
|
1044 |
-
$settings['tabsize']
|
1045 |
}
|
1046 |
|
1047 |
return $settings;
|
4 |
|
5 |
Plugin Name: SyntaxHighlighter Evolved
|
6 |
Plugin URI: http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/
|
7 |
+
Version: 3.0.0
|
8 |
Description: Easily post syntax-highlighted code to your site without having to modify the code at all. Uses Alex Gorbatchev's <a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter">SyntaxHighlighter</a> v2.0.320 and some code by <a href="http://wordpress.com/">Andrew Ozz of Automattic</a>.
|
9 |
Author: Viper007Bond
|
10 |
Author URI: http://www.viper007bond.com/
|
16 |
* Alex Gorbatchev for writing such an awesome Javascript-powered synatax
|
17 |
highlighter script
|
18 |
|
19 |
+
* Andrew Ozz for writing the TinyMCE plugin
|
20 |
|
21 |
**************************************************************************/
|
22 |
|
23 |
class SyntaxHighlighter {
|
24 |
// All of these variables are private. Filters are provided for things that can be modified.
|
25 |
+
var $pluginver = '3.0.0'; // Plugin version
|
26 |
+
var $agshver = '3.0.83'; // Alex Gorbatchev's SyntaxHighlighter version
|
27 |
+
var $settings = array(); // Contains the user's settings
|
28 |
+
var $defaultsettings = array(); // Contains the default settings
|
29 |
+
var $brushes = array(); // Array of aliases => brushes
|
30 |
+
var $shortcodes = array(); // Array of shortcodes to use
|
31 |
+
var $themes = array(); // Array of themes
|
32 |
+
var $usedbrushes = array(); // Stores used brushes so we know what to output
|
33 |
+
var $encoded = false; // Used to mark that a character encode took place
|
34 |
+
var $codeformat = false; // If set, SyntaxHighlighter::get_code_format() will return this value
|
35 |
+
var $content_save_pre_ran = false; // It's possible for the "content_save_pre" filter to run multiple times, so keep track
|
36 |
|
37 |
// Initalize the plugin by registering the hooks
|
38 |
function __construct() {
|
39 |
+
if ( ! function_exists( 'esc_html' ) )
|
40 |
return;
|
41 |
|
42 |
// Load localization domain
|
43 |
load_plugin_textdomain( 'syntaxhighlighter', false, '/syntaxhighlighter/localization' );
|
44 |
|
45 |
// Register brush scripts
|
46 |
+
wp_register_script( 'syntaxhighlighter-core', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shCore.js'), array(), $this->agshver );
|
47 |
+
wp_register_script( 'syntaxhighlighter-brush-as3', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushAS3.js'), array('syntaxhighlighter-core'), $this->agshver );
|
48 |
+
wp_register_script( 'syntaxhighlighter-brush-bash', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushBash.js'), array('syntaxhighlighter-core'), $this->agshver );
|
49 |
+
wp_register_script( 'syntaxhighlighter-brush-coldfusion', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushColdFusion.js'), array('syntaxhighlighter-core'), $this->agshver );
|
50 |
+
wp_register_script( 'syntaxhighlighter-brush-cpp', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushCpp.js'), array('syntaxhighlighter-core'), $this->agshver );
|
51 |
+
wp_register_script( 'syntaxhighlighter-brush-csharp', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushCSharp.js'), array('syntaxhighlighter-core'), $this->agshver );
|
52 |
+
wp_register_script( 'syntaxhighlighter-brush-css', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushCss.js'), array('syntaxhighlighter-core'), $this->agshver );
|
53 |
+
wp_register_script( 'syntaxhighlighter-brush-delphi', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushDelphi.js'), array('syntaxhighlighter-core'), $this->agshver );
|
54 |
+
wp_register_script( 'syntaxhighlighter-brush-diff', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushDiff.js'), array('syntaxhighlighter-core'), $this->agshver );
|
55 |
+
wp_register_script( 'syntaxhighlighter-brush-erlang', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushErlang.js'), array('syntaxhighlighter-core'), $this->agshver );
|
56 |
+
wp_register_script( 'syntaxhighlighter-brush-groovy', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushGroovy.js'), array('syntaxhighlighter-core'), $this->agshver );
|
57 |
+
wp_register_script( 'syntaxhighlighter-brush-java', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushJava.js'), array('syntaxhighlighter-core'), $this->agshver );
|
58 |
+
wp_register_script( 'syntaxhighlighter-brush-javafx', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushJavaFX.js'), array('syntaxhighlighter-core'), $this->agshver );
|
59 |
+
wp_register_script( 'syntaxhighlighter-brush-jscript', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushJScript.js'), array('syntaxhighlighter-core'), $this->agshver );
|
60 |
+
wp_register_script( 'syntaxhighlighter-brush-perl', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushPerl.js'), array('syntaxhighlighter-core'), $this->agshver );
|
61 |
+
wp_register_script( 'syntaxhighlighter-brush-php', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushPhp.js'), array('syntaxhighlighter-core'), $this->agshver );
|
62 |
+
wp_register_script( 'syntaxhighlighter-brush-plain', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushPlain.js'), array('syntaxhighlighter-core'), $this->agshver );
|
63 |
+
wp_register_script( 'syntaxhighlighter-brush-powershell', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushPowerShell.js'), array('syntaxhighlighter-core'), $this->agshver );
|
64 |
+
wp_register_script( 'syntaxhighlighter-brush-python', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushPython.js'), array('syntaxhighlighter-core'), $this->agshver );
|
65 |
+
wp_register_script( 'syntaxhighlighter-brush-ruby', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushRuby.js'), array('syntaxhighlighter-core'), $this->agshver );
|
66 |
+
wp_register_script( 'syntaxhighlighter-brush-scala', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushScala.js'), array('syntaxhighlighter-core'), $this->agshver );
|
67 |
+
wp_register_script( 'syntaxhighlighter-brush-sql', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushSql.js'), array('syntaxhighlighter-core'), $this->agshver );
|
68 |
+
wp_register_script( 'syntaxhighlighter-brush-vb', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushVb.js'), array('syntaxhighlighter-core'), $this->agshver );
|
69 |
+
wp_register_script( 'syntaxhighlighter-brush-xml', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/shBrushXml.js'), array('syntaxhighlighter-core'), $this->agshver );
|
70 |
+
|
71 |
+
// Register some popular third-party brushes
|
72 |
+
wp_register_script( 'syntaxhighlighter-brush-clojure', plugins_url('syntaxhighlighter/third-party-brushes/shBrushClojure.js'), array('syntaxhighlighter-core'), '20090602' );
|
73 |
+
wp_register_script( 'syntaxhighlighter-brush-fsharp', plugins_url('syntaxhighlighter/third-party-brushes/shBrushFSharp.js'), array('syntaxhighlighter-core'), '20091003' );
|
74 |
+
wp_register_script( 'syntaxhighlighter-brush-latex', plugins_url('syntaxhighlighter/third-party-brushes/shBrushLatex.js'), array('syntaxhighlighter-core'), '20090613' );
|
75 |
+
wp_register_script( 'syntaxhighlighter-brush-matlabkey', plugins_url('syntaxhighlighter/third-party-brushes/shBrushMatlabKey.js'), array('syntaxhighlighter-core'), '20091209' );
|
76 |
+
wp_register_script( 'syntaxhighlighter-brush-objc', plugins_url('syntaxhighlighter/third-party-brushes/shBrushObjC.js'), array('syntaxhighlighter-core'), '20091207' );
|
77 |
+
wp_register_script( 'syntaxhighlighter-brush-r', plugins_url('syntaxhighlighter/third-party-brushes/shBrushR.js'), array('syntaxhighlighter-core'), '20100919' );
|
78 |
|
79 |
// Register theme stylesheets
|
80 |
+
wp_register_style( 'syntaxhighlighter-core', plugins_url('syntaxhighlighter/syntaxhighlighter3/styles/shCore.css'), array(), $this->agshver );
|
81 |
+
wp_register_style( 'syntaxhighlighter-theme-default', plugins_url('syntaxhighlighter/syntaxhighlighter3/styles/shThemeDefault.css'), array('syntaxhighlighter-core'), $this->agshver );
|
82 |
+
wp_register_style( 'syntaxhighlighter-theme-django', plugins_url('syntaxhighlighter/syntaxhighlighter3/styles/shThemeDjango.css'), array('syntaxhighlighter-core'), $this->agshver );
|
83 |
+
wp_register_style( 'syntaxhighlighter-theme-eclipse', plugins_url('syntaxhighlighter/syntaxhighlighter3/styles/shThemeEclipse.css'), array('syntaxhighlighter-core'), $this->agshver );
|
84 |
+
wp_register_style( 'syntaxhighlighter-theme-emacs', plugins_url('syntaxhighlighter/syntaxhighlighter3/styles/shThemeEmacs.css'), array('syntaxhighlighter-core'), $this->agshver );
|
85 |
+
wp_register_style( 'syntaxhighlighter-theme-fadetogrey', plugins_url('syntaxhighlighter/syntaxhighlighter3/styles/shThemeFadeToGrey.css'), array('syntaxhighlighter-core'), $this->agshver );
|
86 |
+
wp_register_style( 'syntaxhighlighter-theme-midnight', plugins_url('syntaxhighlighter/syntaxhighlighter3/styles/shThemeMidnight.css'), array('syntaxhighlighter-core'), $this->agshver );
|
87 |
+
wp_register_style( 'syntaxhighlighter-theme-rdark', plugins_url('syntaxhighlighter/syntaxhighlighter3/styles/shThemeRDark.css'), array('syntaxhighlighter-core'), $this->agshver );
|
88 |
|
89 |
|
90 |
// Create array of default settings (you can use the filter to modify these)
|
91 |
$this->defaultsettings = (array) apply_filters( 'syntaxhighlighter_defaultsettings', array(
|
92 |
'theme' => 'default',
|
93 |
+
'loadallbrushes' => 0,
|
94 |
'autolinks' => 1,
|
95 |
'classname' => '',
|
96 |
'collapse' => 0,
|
110 |
$this->settings = wp_parse_args( $usersettings, $this->defaultsettings );
|
111 |
|
112 |
|
113 |
+
// Display hooks
|
114 |
+
add_filter( 'the_content', array(&$this, 'parse_shortcodes'), 7 ); // Posts
|
115 |
+
add_filter( 'comment_text', array(&$this, 'parse_shortcodes_comment'), 7 ); // Comments
|
116 |
+
add_filter( 'bp_get_the_topic_post_content', array(&$this, 'parse_shortcodes'), 7 ); // BuddyPress
|
117 |
+
|
118 |
+
// Into the database
|
119 |
+
add_filter( 'content_save_pre', array(&$this, 'encode_shortcode_contents_slashed_noquickedit'), 1 ); // Posts
|
120 |
+
add_filter( 'pre_comment_content', array(&$this, 'encode_shortcode_contents_slashed'), 1 ); // Comments
|
121 |
+
add_filter( 'group_forum_post_text_before_save', array(&$this, 'encode_shortcode_contents_slashed'), 1 ); // BuddyPress
|
122 |
+
add_filter( 'group_forum_topic_text_before_save', array(&$this, 'encode_shortcode_contents_slashed'), 1 ); // BuddyPress
|
123 |
+
|
124 |
+
// Out of the database for editing
|
125 |
+
add_filter( 'the_editor_content', array(&$this, 'the_editor_content'), 1 ); // Posts
|
126 |
+
add_filter( 'comment_edit_pre', array(&$this, 'decode_shortcode_contents'), 1 ); // Comments
|
127 |
+
add_filter( 'bp_get_the_topic_text', array(&$this, 'decode_shortcode_contents'), 1 ); // BuddyPress
|
128 |
+
add_filter( 'bp_get_the_topic_post_edit_text', array(&$this, 'decode_shortcode_contents'), 1 ); // BuddyPress
|
129 |
+
|
130 |
+
// Outputting SyntaxHighlighter's JS and CSS
|
131 |
+
add_action( 'wp_head', array(&$this, 'output_header_placeholder'), 15 );
|
132 |
+
add_action( 'admin_head', array(&$this, 'output_header_placeholder'), 15 ); // For comments
|
133 |
+
add_action( 'wp_footer', array(&$this, 'maybe_output_scripts'), 15 );
|
134 |
+
add_action( 'admin_footer', array(&$this, 'maybe_output_scripts'), 15 ); // For comments
|
135 |
+
|
136 |
+
// Admin hooks
|
137 |
+
add_action( 'admin_init', array(&$this, 'register_setting') );
|
138 |
+
add_action( 'admin_menu', array(&$this, 'register_settings_page') );
|
139 |
+
add_action( 'admin_head', array(&$this, 'output_shortcodes_for_tinymce') );
|
140 |
+
add_filter( 'mce_external_plugins', array(&$this, 'add_tinymce_plugin') );
|
141 |
+
add_filter( 'tiny_mce_version', array(&$this, 'break_tinymce_cache') );
|
142 |
+
add_filter( 'save_post', array(&$this, 'mark_as_encoded'), 10, 2 );
|
143 |
+
add_filter( 'plugin_action_links', array(&$this, 'settings_link'), 10, 2 );
|
144 |
|
145 |
// Register widget hooks
|
146 |
// Requires change added in WordPress 2.9
|
147 |
if ( class_exists('WP_Embed') ) {
|
148 |
+
add_filter( 'widget_text', array(&$this, 'widget_text_output'), 7, 2 );
|
149 |
+
add_filter( 'widget_update_callback', array(&$this, 'widget_text_save'), 1, 4 );
|
150 |
+
add_filter( 'widget_form_callback', array(&$this, 'widget_text_form'), 1, 2 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
}
|
152 |
|
153 |
|
161 |
'shell' => 'bash',
|
162 |
'coldfusion' => 'coldfusion',
|
163 |
'cf' => 'coldfusion',
|
164 |
+
'clojure' => 'clojure',
|
165 |
+
'clj' => 'clojure',
|
166 |
'cpp' => 'cpp',
|
167 |
'c' => 'cpp',
|
168 |
'c-sharp' => 'csharp',
|
175 |
'patch' => 'diff',
|
176 |
'erl' => 'erlang',
|
177 |
'erlang' => 'erlang',
|
178 |
+
'fsharp' => 'fsharp',
|
179 |
'groovy' => 'groovy',
|
180 |
'java' => 'java',
|
181 |
'jfx' => 'javafx',
|
183 |
'js' => 'jscript',
|
184 |
'jscript' => 'jscript',
|
185 |
'javascript' => 'jscript',
|
186 |
+
'latex' => 'latex',
|
187 |
+
'tex' => 'latex',
|
188 |
+
'matlab' => 'matlabkey',
|
189 |
'objc' => 'objc',
|
190 |
'obj-c' => 'objc',
|
191 |
'perl' => 'perl',
|
197 |
'powershell' => 'powershell',
|
198 |
'py' => 'python',
|
199 |
'python' => 'python',
|
200 |
+
//'r' => 'r', // Too short
|
201 |
+
'splus' => 'r',
|
202 |
'rails' => 'ruby',
|
203 |
'rb' => 'ruby',
|
204 |
'ror' => 'ruby',
|
219 |
// If that's invalid, then "plain" is used.
|
220 |
$this->shortcodes = array( 'sourcecode', 'source', 'code' );
|
221 |
$this->shortcodes = array_merge( $this->shortcodes, array_keys( $this->brushes ) );
|
222 |
+
unset( $this->shortcodes[array_search( 'latex', $this->shortcodes )] ); // Remove "latex" shortcode (it'll collide)
|
223 |
$this->shortcodes = (array) apply_filters( 'syntaxhighlighter_shortcodes', $this->shortcodes );
|
224 |
|
225 |
// Create list of themes and their human readable names
|
244 |
|
245 |
// Register the settings page
|
246 |
function register_settings_page() {
|
247 |
+
add_options_page( __( 'SyntaxHighlighter Settings', 'syntaxhighlighter' ), __( 'SyntaxHighlighter', 'syntaxhighlighter' ), 'manage_options', 'syntaxhighlighter', array(&$this, 'settings_page') );
|
248 |
}
|
249 |
|
250 |
|
256 |
|
257 |
// Add the custom TinyMCE plugin which wraps plugin shortcodes in <pre> in TinyMCE
|
258 |
function add_tinymce_plugin( $plugins ) {
|
259 |
+
$plugins['syntaxhighlighter'] = plugins_url('syntaxhighlighter/syntaxhighlighter3_mce.js');
|
260 |
return $plugins;
|
261 |
}
|
262 |
|
263 |
|
264 |
// Break the TinyMCE cache
|
265 |
function break_tinymce_cache( $version ) {
|
266 |
+
return $version . '-sh' . $this->pluginver;
|
267 |
}
|
268 |
|
269 |
|
275 |
$this_plugin = plugin_basename(__FILE__);
|
276 |
|
277 |
if ( $file == $this_plugin )
|
278 |
+
$links[] = '<a href="' . admin_url( 'options-general.php?page=syntaxhighlighter' ) . '">' . __( 'Settings', 'syntaxhighlighter' ) . '</a>';
|
279 |
|
280 |
return $links;
|
281 |
}
|
341 |
|
342 |
|
343 |
// HTML entity encode the contents of shortcodes. Expects slashed content. Aborts if AJAX.
|
344 |
+
function encode_shortcode_contents_slashed_noquickedit( $content ) {
|
345 |
+
|
346 |
+
// In certain weird circumstances, the content gets run through "content_save_pre" twice
|
347 |
+
// Keep track and don't allow this filter to be run twice
|
348 |
+
// I couldn't easily figure out why this happens and didn't bother looking into it further as this works fine
|
349 |
+
if ( true == $this->content_save_pre_ran )
|
350 |
+
return $content;
|
351 |
+
$this->content_save_pre_ran = true;
|
352 |
+
|
353 |
// Post quick edits aren't decoded for display, so we don't need to encode them (again)
|
354 |
+
if ( !empty($_POST) && !empty($_POST['action']) && 'inline-save' == $_POST['action'] )
|
355 |
return $content;
|
356 |
|
357 |
return $this->encode_shortcode_contents_slashed( $content );
|
505 |
}
|
506 |
|
507 |
|
508 |
+
// Output an anchor in the header for the Javascript to use
|
509 |
+
// Might as well use it to output the version to help me debug people's sites
|
510 |
+
function output_header_placeholder() {
|
511 |
+
echo '<meta id="syntaxhighlighteranchor" name="syntaxhighlighter-version" content="' . esc_attr( $this->pluginver ) . '" />' . "\n";
|
512 |
+
}
|
513 |
+
|
514 |
+
|
515 |
// Output any needed scripts. This is meant for the footer.
|
516 |
function maybe_output_scripts() {
|
517 |
global $wp_styles;
|
518 |
|
519 |
+
if ( 1 == $this->settings['loadallbrushes'] )
|
520 |
+
$this->usedbrushes = array_flip( array_values( $this->brushes ) );
|
521 |
+
|
522 |
if ( empty($this->usedbrushes) )
|
523 |
return;
|
524 |
|
572 |
corecss.rel = "stylesheet";
|
573 |
corecss.href = corecssurl;
|
574 |
}
|
575 |
+
document.getElementsByTagName("head")[0].insertBefore( corecss, document.getElementById("syntaxhighlighteranchor") );
|
576 |
<?php
|
577 |
endif; // Endif $needcore
|
578 |
|
586 |
themecss.rel = "stylesheet";
|
587 |
themecss.href = themecssurl;
|
588 |
}
|
589 |
+
//document.getElementById("syntaxhighlighteranchor").appendChild(themecss);
|
590 |
+
document.getElementsByTagName("head")[0].insertBefore( themecss, document.getElementById("syntaxhighlighteranchor") );
|
591 |
<?php
|
592 |
endif; // Endif none != theme
|
593 |
|
594 |
echo " })();\n";
|
595 |
|
596 |
+
echo " SyntaxHighlighter.config.clipboardSwf = '" . esc_js( apply_filters( 'syntaxhighlighter_clipboardurl', plugins_url('syntaxhighlighter/syntaxhighlighter3/scripts/clipboard.swf') ) ) . "';\n";
|
597 |
echo " SyntaxHighlighter.config.strings.expandSource = '" . $this->js_escape_singlequotes( __( 'show source', 'syntaxhighlighter' ) ) . "';\n";
|
598 |
echo " SyntaxHighlighter.config.strings.viewSource = '" . $this->js_escape_singlequotes( __( 'view source', 'syntaxhighlighter' ) ) . "';\n";
|
599 |
echo " SyntaxHighlighter.config.strings.copyToClipboard = '" . $this->js_escape_singlequotes( __( 'copy to clipboard', 'syntaxhighlighter' ) ) . "';\n";
|
694 |
$atts = (array) apply_filters( 'syntaxhighlighter_shortcodeatts', shortcode_atts( array(
|
695 |
'language' => false,
|
696 |
'lang' => false,
|
697 |
+
'type' => false, // language alias
|
698 |
'autolinks' => false,
|
699 |
'classname' => false,
|
700 |
'collapse' => false,
|
707 |
'padlinenumbers' => false,
|
708 |
'smarttabs' => false,
|
709 |
'tabsize' => false,
|
710 |
+
'title' => false,
|
711 |
'toolbar' => false,
|
712 |
'wraplines' => false,
|
713 |
), $atts ) );
|
756 |
$atts['light'] = 'false';
|
757 |
}
|
758 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
759 |
// Parameter renaming (the shortcode API doesn't like parameter names with dashes)
|
760 |
$rename_map = array(
|
761 |
'autolinks' => 'auto-links',
|
784 |
'pad-line-numbers' => 'other',
|
785 |
'smart-tabs' => 'boolean',
|
786 |
'tab-size' => 'integer',
|
787 |
+
'title' => 'other',
|
788 |
'toolbar' => 'boolean',
|
789 |
'wrap-lines' => 'boolean',
|
790 |
) );
|
791 |
|
792 |
+
$title = '';
|
793 |
+
|
794 |
+
// Sanitize configuration parameters and such
|
795 |
foreach ( $atts as $key => $value ) {
|
796 |
$key = strtolower( $key );
|
797 |
|
807 |
switch ( $allowed_atts[$key] ) {
|
808 |
case 'boolean':
|
809 |
$value = strtolower( $value );
|
810 |
+
if ( 'true' === $value || '1' === $value || 'on' == $value )
|
811 |
$value = 'true';
|
812 |
+
elseif ( 'false' === $value || '0' === $value || 'off' == $value )
|
813 |
$value = 'false';
|
814 |
else
|
815 |
continue 2; // Invalid value, ditch parameter
|
821 |
break;
|
822 |
}
|
823 |
|
824 |
+
// Sanitize the "classname" parameter
|
825 |
+
if ( 'classname' == $key )
|
826 |
+
$value = trim( preg_replace( '/[^a-zA-Z0-9 _-]/i', '', $value ) );
|
827 |
+
|
828 |
// Special sanitization for "pad-line-numbers"
|
829 |
if ( 'pad-line-numbers' == $key ) {
|
830 |
$value = strtolower( $value );
|
844 |
if ( 'html-script' == $key && 'true' == $value )
|
845 |
$this->usedbrushes['xml'] = true;
|
846 |
|
847 |
+
// Sanitize row highlights
|
848 |
+
if ( 'highlight' == $key ) {
|
849 |
+
if ( false === strpos( $value, ',' ) ) {
|
850 |
+
$value = (int) $value;
|
851 |
+
} else {
|
852 |
+
$lines = explode( ',', $value );
|
853 |
+
$highlights = array();
|
854 |
+
|
855 |
+
foreach ( $lines as $line ) {
|
856 |
+
// Line range
|
857 |
+
if ( false !== strpos( $line, '-' ) ) {
|
858 |
+
list( $range_start, $range_end ) = array_map( 'intval', explode( '-', $line ) );
|
859 |
+
if ( ! $range_start || ! $range_end || $range_end <= $range_start )
|
860 |
+
continue;
|
861 |
+
|
862 |
+
for ( $i = $range_start; $i <= $range_end; $i++ )
|
863 |
+
$highlights[] = $i;
|
864 |
+
} else {
|
865 |
+
$highlights[] = (int) $line;
|
866 |
+
}
|
867 |
+
}
|
868 |
+
|
869 |
+
natsort( $highlights );
|
870 |
+
|
871 |
+
$value = implode( ',', $highlights );
|
872 |
+
}
|
873 |
+
|
874 |
+
if ( empty( $value ) )
|
875 |
+
continue;
|
876 |
+
|
877 |
+
// Wrap highlight in [ ]
|
878 |
$params[] = "$key: [$value];";
|
879 |
+
continue;
|
880 |
+
}
|
881 |
+
|
882 |
+
$params[] = "$key: $value;";
|
883 |
+
|
884 |
+
// Set the title variable if the title parameter is set (but not for feeds)
|
885 |
+
if ( 'title' == $key && ! is_feed() )
|
886 |
+
$title = ' title="' . esc_attr( $value ) . '"';
|
887 |
}
|
888 |
|
889 |
$code = ( false === strpos( $code, '<' ) && false === strpos( $code, '>' ) && 2 == $this->get_code_format($post) ) ? strip_tags( $code ) : htmlspecialchars( $code );
|
890 |
|
891 |
+
return apply_filters( 'syntaxhighlighter_htmlresult', '<pre class="' . esc_attr( implode( ' ', $params ) ) . '"' . $title . '>' . $code . '</pre>' );;
|
892 |
}
|
893 |
|
894 |
|
900 |
jQuery(document).ready(function($) {
|
901 |
// Confirm pressing of the "Reset to Defaults" button
|
902 |
$("#syntaxhighlighter-defaults").click(function(){
|
903 |
+
var areyousure = confirm("<?php echo esc_js( __( 'Are you sure you want to reset your settings to the defaults?', 'syntaxhighlighter' ) ); ?>");
|
904 |
if ( true != areyousure ) return false;
|
905 |
});
|
906 |
<?php if ( !empty( $_GET['defaults'] ) ) : ?>
|
907 |
+
$("#message p strong").text("<?php echo esc_js( __( 'Settings reset to defaults.', 'syntaxhighlighter' ) ); ?>");
|
908 |
<?php endif; ?>
|
909 |
});
|
910 |
// ]]>
|
921 |
|
922 |
<table class="form-table">
|
923 |
<tr valign="top">
|
924 |
+
<th scope="row"><label for="syntaxhighlighter-theme"><?php _e( 'Color Theme', 'syntaxhighlighter' ); ?></label></th>
|
925 |
<td>
|
926 |
<select name="syntaxhighlighter_settings[theme]" id="syntaxhighlighter-theme" class="postform">
|
927 |
<?php
|
934 |
</select>
|
935 |
</td>
|
936 |
</tr>
|
937 |
+
<tr valign="top">
|
938 |
+
<th scope="row"><?php _e( 'Load All Brushes', 'syntaxhighlighter' ); ?></th>
|
939 |
+
<td>
|
940 |
+
<fieldset>
|
941 |
+
<legend class="hidden"><?php _e( 'Load All Brushes', 'syntaxhighlighter' ); ?></legend>
|
942 |
+
<label for="syntaxhighlighter-loadallbrushes"><input name="syntaxhighlighter_settings[loadallbrushes]" type="checkbox" id="syntaxhighlighter-loadallbrushes" value="1" <?php checked( $this->settings['loadallbrushes'], 1 ); ?> /> <?php _e( 'Always load all language files (for directly using <code><pre></code> tags rather than shortcodes)<br /> If left unchecked (default), then language files will only be loaded when needed', 'syntaxhighlighter' ); ?></label>
|
943 |
+
</fieldset>
|
944 |
+
</td>
|
945 |
+
</tr>
|
946 |
</table>
|
947 |
|
948 |
+
<h3><?php _e( 'Defaults', 'syntaxhighlighter' ); ?></h3>
|
949 |
|
950 |
+
<p><?php _e( 'All of the settings below can be configured on a per-code box basis, but you can control the defaults of all code boxes here.', 'syntaxhighlighter' ); ?></p>
|
951 |
|
952 |
<table class="form-table">
|
953 |
<tr valign="top">
|
954 |
+
<th scope="row"><?php _e( 'Miscellaneous', 'syntaxhighlighter' ); ?></th>
|
955 |
<td>
|
956 |
<fieldset>
|
957 |
+
<legend class="hidden"><?php _e( 'Miscellaneous', 'syntaxhighlighter' ); ?></legend>
|
958 |
+
|
959 |
+
<label for="syntaxhighlighter-gutter"><input name="syntaxhighlighter_settings[gutter]" type="checkbox" id="syntaxhighlighter-gutter" value="1" <?php checked( $this->settings['gutter'], 1 ); ?> /> <?php _e( 'Display line numbers', 'syntaxhighlighter' ); ?></label><br />
|
960 |
+
<label for="syntaxhighlighter-toolbar"><input name="syntaxhighlighter_settings[toolbar]" type="checkbox" id="syntaxhighlighter-toolbar" value="1" <?php checked( $this->settings['toolbar'], 1 ); ?> /> <?php _e( 'Display the toolbar', 'syntaxhighlighter' ); ?></label><br />
|
961 |
+
<label for="syntaxhighlighter-autolinks"><input name="syntaxhighlighter_settings[autolinks]" type="checkbox" id="syntaxhighlighter-autolinks" value="1" <?php checked( $this->settings['autolinks'], 1 ); ?> /> <?php _e( 'Automatically make URLs clickable', 'syntaxhighlighter' ); ?></label><br />
|
962 |
+
<label for="syntaxhighlighter-collapse"><input name="syntaxhighlighter_settings[collapse]" type="checkbox" id="syntaxhighlighter-collapse" value="1" <?php checked( $this->settings['collapse'], 1 ); ?> /> <?php _e( 'Collapse code boxes', 'syntaxhighlighter' ); ?></label><br />
|
963 |
+
<label for="syntaxhighlighter-light"><input name="syntaxhighlighter_settings[light]" type="checkbox" id="syntaxhighlighter-light" value="1" <?php checked( $this->settings['light'], 1 ); ?> /> <?php _e( 'Use the light display mode, best for single lines of code', 'syntaxhighlighter' ); ?></label><br />
|
964 |
+
<label for="syntaxhighlighter-smarttabs"><input name="syntaxhighlighter_settings[smarttabs]" type="checkbox" id="syntaxhighlighter-smarttabs" value="1" <?php checked( $this->settings['smarttabs'], 1 ); ?> /> <?php _e( 'Use smart tabs allowing tabs being used for alignment', 'syntaxhighlighter' ); ?></label><br />
|
965 |
+
<label for="syntaxhighlighter-wraplines"><input name="syntaxhighlighter_settings[wraplines]" type="checkbox" id="syntaxhighlighter-wraplines" value="1" <?php checked( $this->settings['wraplines'], 1 ); ?> /> <?php _e( 'Wrap long lines (disabling this will make a scrollbar show instead)', 'syntaxhighlighter' ); ?></label><br />
|
966 |
+
<!--<label for="syntaxhighlighter-htmlscript"><input name="syntaxhighlighter_settings[htmlscript]" type="checkbox" id="syntaxhighlighter-htmlscript" value="1" <?php checked( $this->settings['htmlscript'], 1 ); ?> /> <?php _e( 'Enable "HTML script" mode by default (see the bottom of this page for details). Checking this box is not recommended as this mode only works with certain languages.', 'syntaxhighlighter' ); ?></label>-->
|
967 |
</fieldset>
|
968 |
</td>
|
969 |
</tr>
|
970 |
<tr valign="top">
|
971 |
+
<th scope="row"><label for="syntaxhighlighter-classname"><?php _e( 'Additional CSS Class(es)', 'syntaxhighlighter' ); ?></label></th>
|
972 |
<td><input name="syntaxhighlighter_settings[classname]" type="text" id="syntaxhighlighter-classname" value="<?php echo esc_attr( $this->settings['classname'] ); ?>" class="regular-text" /></td>
|
973 |
</tr>
|
974 |
<tr valign="top">
|
975 |
+
<th scope="row"><label for="syntaxhighlighter-firstline"><?php _e( 'Starting Line Number', 'syntaxhighlighter' ); ?></label></th>
|
976 |
<td><input name="syntaxhighlighter_settings[firstline]" type="text" id="syntaxhighlighter-firstline" value="<?php echo esc_attr( $this->settings['firstline'] ); ?>" class="small-text" /></td>
|
977 |
</tr>
|
978 |
<tr valign="top">
|
979 |
+
<th scope="row"><label for="syntaxhighlighter-padlinenumbers"><?php _e( 'Line Number Padding', 'syntaxhighlighter' ); ?></label></th>
|
980 |
<td>
|
981 |
<select name="syntaxhighlighter_settings[padlinenumbers]" id="syntaxhighlighter-padlinenumbers" class="postform">
|
982 |
<?php
|
1000 |
</td>
|
1001 |
</tr>
|
1002 |
<tr valign="top">
|
1003 |
+
<th scope="row"><label for="syntaxhighlighter-tabsize"><?php _e( 'Tab Size', 'syntaxhighlighter' ); ?></label></th>
|
1004 |
<td><input name="syntaxhighlighter_settings[tabsize]" type="text" id="syntaxhighlighter-tabsize" value="<?php echo esc_attr( $this->settings['tabsize'] ); ?>" class="small-text" /></td>
|
1005 |
</tr>
|
1006 |
</table>
|
1007 |
|
1008 |
<p class="submit">
|
1009 |
+
<input type="submit" name="syntaxhighlighter-submit" class="button-primary" value="<?php _e( 'Save Changes') ?>" />
|
1010 |
+
<input type="submit" name="syntaxhighlighter-defaults" id="syntaxhighlighter-defaults" class="button-primary" value="<?php _e( 'Reset to Defaults', 'syntaxhighlighter' ) ?>" />
|
1011 |
</p>
|
1012 |
|
1013 |
</form>
|
1014 |
|
1015 |
+
<h3><?php _e( 'Preview', 'syntaxhighlighter' ); ?></h3>
|
1016 |
|
1017 |
+
<p><?php _e( 'Click "Save Changes" to update this preview.', 'syntaxhighlighter' ); ?>
|
1018 |
|
1019 |
<?php
|
1020 |
|
1048 |
|
1049 |
?>
|
1050 |
|
1051 |
+
<h3 style="margin-top:30px"><?php _e( 'Shortcode Parameters', 'syntaxhighlighter' ); ?></h3>
|
1052 |
|
1053 |
+
<p><?php printf( __( 'These are the parameters you can pass to the shortcode and what they do. For the booleans (i.e. on/off), pass %1$s/%2$s or %3$s/%4$s.', 'syntaxhighlighter' ), '<code>true</code>', '<code>1</code>', '<code>false</code>', '<code>0</code>' ); ?></p>
|
1054 |
|
1055 |
<ul class="ul-disc">
|
1056 |
+
<li><?php printf( __( '%1$s or %2$s — The language syntax to highlight with. You can alternately just use that as the tag, such as <code>[php]code[/php]</code>. <a href="%3$s">Click here</a> for a list of valid tags (under "aliases").', 'syntaxhighlighter' ), '<code>lang</code>', '<code>language</code>', 'http://alexgorbatchev.com/wiki/SyntaxHighlighter:Brushes' ); ?></li>
|
1057 |
+
<li><?php printf( __( '%s — Toggle automatic URL linking.', 'syntaxhighlighter' ), '<code>autolinks</code>' ); ?></li>
|
1058 |
+
<li><?php printf( __( '%s — Add an additional CSS class to the code box.', 'syntaxhighlighter' ), '<code>classname</code>' ); ?></li>
|
1059 |
+
<li><?php printf( __( '%s — Toggle collapsing the code box by default, requiring a click to expand it. Good for large code posts.', 'syntaxhighlighter' ), '<code>collapse</code>' ); ?></li>
|
1060 |
+
<li><?php printf( __( '%s — An interger specifying what number the first line should be (for the line numbering).', 'syntaxhighlighter' ), '<code>firstline</code>' ); ?></li>
|
1061 |
+
<li><?php printf( __( '%s — Toggle the left-side line numbering.', 'syntaxhighlighter' ), '<code>gutter</code>' ); ?></li>
|
1062 |
+
<li><?php printf( __( '%1$s — A comma-sperated list of line numbers to highlight. You can also specify a range. Example: %2$s', 'syntaxhighlighter' ), '<code>highlight</code>', '<code>2,5-10,12</code>' ); ?></li>
|
1063 |
+
<li><?php printf( __( "%s — Toggle highlighting any extra HTML/XML. Good for when you're mixing HTML/XML with another language, such as having PHP inside an HTML web page. The above preview has it enabled for example. This only works with certain languages.", 'syntaxhighlighter' ), '<code>htmlscript</code>' ); ?></li>
|
1064 |
+
<li><?php printf( __( '%s — Toggle light mode which disables the gutter and toolbar all at once.', 'syntaxhighlighter' ), '<code>light</code>' ); ?></li>
|
1065 |
+
<li><?php printf( __( '%s — Controls line number padding. Valid values are <code>false</code> (no padding), <code>true</code> (automatic padding), or an integer (forced padding).', 'syntaxhighlighter' ), '<code>padlinenumbers</code>' ); ?></li>
|
1066 |
+
<li><?php printf( __( '%1$s — Sets some text to show up before the code. Very useful when combined with the %2$s parameter.', 'syntaxhighlighter' ), '<code>title</code>', '<code>collapse</code>' ); ?></li>
|
1067 |
+
<li><?php printf( __( '%s — Toggle the toolbar containing the helpful buttons.', 'syntaxhighlighter' ), '<code>toolbar</code>' ); ?></li>
|
1068 |
+
<li><?php printf( __( '%s — Toggle line wrapping.', 'syntaxhighlighter' ), '<code>wraplines</code>' ); ?></li>
|
1069 |
</ul>
|
1070 |
|
1071 |
+
<p><?php _e( 'Some example shortcodes:', 'syntaxhighlighter' ); ?></p>
|
1072 |
|
1073 |
<ul class="ul-disc">
|
1074 |
+
<li><code>[php]<?php _e( 'your code here', 'syntaxhighlighter' ); ?>[/php]</code></li>
|
1075 |
+
<li><code>[css autolinks="false" classname="myclass" collapse="false" firstline="1" gutter="true" highlight="1-3,6,9" htmlscript="false" light="false" padlinenumbers="false" smarttabs="true" tabsize="4" toolbar="true"]<?php _e( 'your code here', 'syntaxhighlighter' ); ?>[/css]</code></li>
|
1076 |
+
<li><code>[code lang="js"]<?php _e( 'your code here', 'syntaxhighlighter' ); ?>[/code]</code></li>
|
1077 |
+
<li><code>[sourcecode language="plain"]<?php _e( 'your code here', 'syntaxhighlighter' ); ?>[/sourcecode]</code></li>
|
1078 |
</ul>
|
1079 |
|
1080 |
<?php $this->maybe_output_scripts(); ?>
|
1091 |
$settings = $this->defaultsettings;
|
1092 |
$_REQUEST['_wp_http_referer'] = add_query_arg( 'defaults', 'true', $_REQUEST['_wp_http_referer'] );
|
1093 |
} else {
|
1094 |
+
$settings['theme'] = ( !empty($settings['theme']) && isset($this->themes[$settings['theme']]) ) ? strtolower($settings['theme']) : $this->defaultsettings['theme'];
|
1095 |
|
1096 |
+
$settings['loadallbrushes'] = ( !empty($settings['loadallbrushes']) ) ? 1 : 0;
|
1097 |
+
$settings['autolinks'] = ( !empty($settings['autolinks']) ) ? 1 : 0;
|
1098 |
+
$settings['collapse'] = ( !empty($settings['collapse']) ) ? 1 : 0;
|
1099 |
+
$settings['gutter'] = ( !empty($settings['gutter']) ) ? 1 : 0;
|
1100 |
+
$settings['light'] = ( !empty($settings['light']) ) ? 1 : 0;
|
1101 |
+
$settings['smarttabs'] = ( !empty($settings['smarttabs']) ) ? 1 : 0;
|
1102 |
+
$settings['toolbar'] = ( !empty($settings['toolbar']) ) ? 1 : 0;
|
1103 |
+
$settings['wraplines'] = ( !empty($settings['wraplines']) ) ? 1 : 0;
|
1104 |
|
1105 |
if ( 'true' != $settings['padlinenumbers'] && 'false' != $settings['padlinenumbers'] )
|
1106 |
$settings['padlinenumbers'] = (int) $settings['padlinenumbers'];
|
1107 |
|
1108 |
+
$settings['classname'] = ( !empty($settings['classname']) ) ? preg_replace( '/[^ A-Za-z0-9_-]*/', '', $settings['classname'] ) : '';
|
1109 |
+
$settings['firstline'] = (int) ( !empty($settings['firstline']) ) ? $settings['firstline'] : $this->defaultsettings['firstline'];
|
1110 |
+
$settings['tabsize'] = (int) ( !empty($settings['tabsize']) ) ? $settings['tabsize'] : $this->defaultsettings['tabsize'];
|
1111 |
}
|
1112 |
|
1113 |
return $settings;
|
syntaxhighlighter/scripts/clipboard.swf
DELETED
Binary file
|
syntaxhighlighter/scripts/shBrushAS3.js
DELETED
@@ -1,61 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.AS3 = function()
|
31 |
-
{
|
32 |
-
// Created by Peter Atoria @ http://iAtoria.com
|
33 |
-
|
34 |
-
var inits = 'class interface function package';
|
35 |
-
|
36 |
-
var keywords = '-Infinity ...rest Array as AS3 Boolean break case catch const continue Date decodeURI ' +
|
37 |
-
'decodeURIComponent default delete do dynamic each else encodeURI encodeURIComponent escape ' +
|
38 |
-
'extends false final finally flash_proxy for get if implements import in include Infinity ' +
|
39 |
-
'instanceof int internal is isFinite isNaN isXMLName label namespace NaN native new null ' +
|
40 |
-
'Null Number Object object_proxy override parseFloat parseInt private protected public ' +
|
41 |
-
'return set static String super switch this throw true try typeof uint undefined unescape ' +
|
42 |
-
'use void while with'
|
43 |
-
;
|
44 |
-
|
45 |
-
this.regexList = [
|
46 |
-
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
47 |
-
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
48 |
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
49 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
50 |
-
{ regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers
|
51 |
-
{ regex: new RegExp(this.getKeywords(inits), 'gm'), css: 'color3' }, // initializations
|
52 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
53 |
-
{ regex: new RegExp('var', 'gm'), css: 'variable' }, // variable
|
54 |
-
{ regex: new RegExp('trace', 'gm'), css: 'color1' } // trace
|
55 |
-
];
|
56 |
-
|
57 |
-
this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags);
|
58 |
-
};
|
59 |
-
|
60 |
-
SyntaxHighlighter.brushes.AS3.prototype = new SyntaxHighlighter.Highlighter();
|
61 |
-
SyntaxHighlighter.brushes.AS3.aliases = ['actionscript3', 'as3'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushBash.js
DELETED
@@ -1,66 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.Bash = function()
|
31 |
-
{
|
32 |
-
var keywords = 'if fi then elif else for do done until while break continue case function return in eq ne gt lt ge le';
|
33 |
-
var commands = 'alias apropos awk basename bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chroot' +
|
34 |
-
'cksum clear cmp comm command cp cron crontab csplit cut date dc dd ddrescue declare df ' +
|
35 |
-
'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval ' +
|
36 |
-
'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format ' +
|
37 |
-
'free fsck ftp gawk getopts grep groups gzip hash head history hostname id ifconfig ' +
|
38 |
-
'import install join kill less let ln local locate logname logout look lpc lpr lprint ' +
|
39 |
-
'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools ' +
|
40 |
-
'mv netstat nice nl nohup nslookup open op passwd paste pathchk ping popd pr printcap ' +
|
41 |
-
'printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice ' +
|
42 |
-
'remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown ' +
|
43 |
-
'sleep sort source split ssh strace su sudo sum symlink sync tail tar tee test time ' +
|
44 |
-
'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias ' +
|
45 |
-
'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir ' +
|
46 |
-
'vi watch wc whereis which who whoami Wget xargs yes'
|
47 |
-
;
|
48 |
-
|
49 |
-
this.findMatches = function(regexList, code)
|
50 |
-
{
|
51 |
-
code = code.replace(/>/g, '>').replace(/</g, '<');
|
52 |
-
this.code = code;
|
53 |
-
return SyntaxHighlighter.Highlighter.prototype.findMatches.apply(this, [regexList, code]);
|
54 |
-
};
|
55 |
-
|
56 |
-
this.regexList = [
|
57 |
-
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
|
58 |
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
59 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
60 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
61 |
-
{ regex: new RegExp(this.getKeywords(commands), 'gm'), css: 'functions' } // commands
|
62 |
-
];
|
63 |
-
}
|
64 |
-
|
65 |
-
SyntaxHighlighter.brushes.Bash.prototype = new SyntaxHighlighter.Highlighter();
|
66 |
-
SyntaxHighlighter.brushes.Bash.aliases = ['bash', 'shell'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushCSharp.js
DELETED
@@ -1,67 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.CSharp = function()
|
31 |
-
{
|
32 |
-
var keywords = 'abstract as base bool break byte case catch char checked class const ' +
|
33 |
-
'continue decimal default delegate do double else enum event explicit ' +
|
34 |
-
'extern false finally fixed float for foreach get goto if implicit in int ' +
|
35 |
-
'interface internal is lock long namespace new null object operator out ' +
|
36 |
-
'override params private protected public readonly ref return sbyte sealed set ' +
|
37 |
-
'short sizeof stackalloc static string struct switch this throw true try ' +
|
38 |
-
'typeof uint ulong unchecked unsafe ushort using virtual void while';
|
39 |
-
|
40 |
-
function fixComments(match, regexInfo)
|
41 |
-
{
|
42 |
-
var css = (match[0].indexOf("///") == 0)
|
43 |
-
? 'color1'
|
44 |
-
: 'comments'
|
45 |
-
;
|
46 |
-
|
47 |
-
return [new SyntaxHighlighter.Match(match[0], match.index, css)];
|
48 |
-
}
|
49 |
-
|
50 |
-
this.regexList = [
|
51 |
-
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, func : fixComments }, // one line comments
|
52 |
-
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
53 |
-
{ regex: /@"(?:[^"]|"")*"/g, css: 'string' }, // @-quoted strings
|
54 |
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
55 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
56 |
-
{ regex: /^\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
|
57 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // c# keyword
|
58 |
-
{ regex: /\bpartial(?=\s+(?:class|interface|struct)\b)/g, css: 'keyword' }, // contextual keyword: 'partial'
|
59 |
-
{ regex: /\byield(?=\s+(?:return|break)\b)/g, css: 'keyword' } // contextual keyword: 'yield'
|
60 |
-
];
|
61 |
-
|
62 |
-
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
63 |
-
};
|
64 |
-
|
65 |
-
SyntaxHighlighter.brushes.CSharp.prototype = new SyntaxHighlighter.Highlighter();
|
66 |
-
SyntaxHighlighter.brushes.CSharp.aliases = ['c#', 'c-sharp', 'csharp'];
|
67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushColdFusion.js
DELETED
@@ -1,102 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.ColdFusion = function()
|
31 |
-
{
|
32 |
-
// Contributed by Jen
|
33 |
-
// http://www.jensbits.com/2009/05/14/coldfusion-brush-for-syntaxhighlighter-plus
|
34 |
-
|
35 |
-
var funcs = 'Abs ACos AddSOAPRequestHeader AddSOAPResponseHeader AjaxLink AjaxOnLoad ArrayAppend ArrayAvg ArrayClear ArrayDeleteAt ' +
|
36 |
-
'ArrayInsertAt ArrayIsDefined ArrayIsEmpty ArrayLen ArrayMax ArrayMin ArraySet ArraySort ArraySum ArraySwap ArrayToList ' +
|
37 |
-
'Asc ASin Atn BinaryDecode BinaryEncode BitAnd BitMaskClear BitMaskRead BitMaskSet BitNot BitOr BitSHLN BitSHRN BitXor ' +
|
38 |
-
'Ceiling CharsetDecode CharsetEncode Chr CJustify Compare CompareNoCase Cos CreateDate CreateDateTime CreateObject ' +
|
39 |
-
'CreateODBCDate CreateODBCDateTime CreateODBCTime CreateTime CreateTimeSpan CreateUUID DateAdd DateCompare DateConvert ' +
|
40 |
-
'DateDiff DateFormat DatePart Day DayOfWeek DayOfWeekAsString DayOfYear DaysInMonth DaysInYear DE DecimalFormat DecrementValue ' +
|
41 |
-
'Decrypt DecryptBinary DeleteClientVariable DeserializeJSON DirectoryExists DollarFormat DotNetToCFType Duplicate Encrypt ' +
|
42 |
-
'EncryptBinary Evaluate Exp ExpandPath FileClose FileCopy FileDelete FileExists FileIsEOF FileMove FileOpen FileRead ' +
|
43 |
-
'FileReadBinary FileReadLine FileSetAccessMode FileSetAttribute FileSetLastModified FileWrite Find FindNoCase FindOneOf ' +
|
44 |
-
'FirstDayOfMonth Fix FormatBaseN GenerateSecretKey GetAuthUser GetBaseTagData GetBaseTagList GetBaseTemplatePath ' +
|
45 |
-
'GetClientVariablesList GetComponentMetaData GetContextRoot GetCurrentTemplatePath GetDirectoryFromPath GetEncoding ' +
|
46 |
-
'GetException GetFileFromPath GetFileInfo GetFunctionList GetGatewayHelper GetHttpRequestData GetHttpTimeString ' +
|
47 |
-
'GetK2ServerDocCount GetK2ServerDocCountLimit GetLocale GetLocaleDisplayName GetLocalHostIP GetMetaData GetMetricData ' +
|
48 |
-
'GetPageContext GetPrinterInfo GetProfileSections GetProfileString GetReadableImageFormats GetSOAPRequest GetSOAPRequestHeader ' +
|
49 |
-
'GetSOAPResponse GetSOAPResponseHeader GetTempDirectory GetTempFile GetTemplatePath GetTickCount GetTimeZoneInfo GetToken ' +
|
50 |
-
'GetUserRoles GetWriteableImageFormats Hash Hour HTMLCodeFormat HTMLEditFormat IIf ImageAddBorder ImageBlur ImageClearRect ' +
|
51 |
-
'ImageCopy ImageCrop ImageDrawArc ImageDrawBeveledRect ImageDrawCubicCurve ImageDrawLine ImageDrawLines ImageDrawOval ' +
|
52 |
-
'ImageDrawPoint ImageDrawQuadraticCurve ImageDrawRect ImageDrawRoundRect ImageDrawText ImageFlip ImageGetBlob ImageGetBufferedImage ' +
|
53 |
-
'ImageGetEXIFTag ImageGetHeight ImageGetIPTCTag ImageGetWidth ImageGrayscale ImageInfo ImageNegative ImageNew ImageOverlay ImagePaste ' +
|
54 |
-
'ImageRead ImageReadBase64 ImageResize ImageRotate ImageRotateDrawingAxis ImageScaleToFit ImageSetAntialiasing ImageSetBackgroundColor ' +
|
55 |
-
'ImageSetDrawingColor ImageSetDrawingStroke ImageSetDrawingTransparency ImageSharpen ImageShear ImageShearDrawingAxis ImageTranslate ' +
|
56 |
-
'ImageTranslateDrawingAxis ImageWrite ImageWriteBase64 ImageXORDrawingMode IncrementValue InputBaseN Insert Int IsArray IsBinary ' +
|
57 |
-
'IsBoolean IsCustomFunction IsDate IsDDX IsDebugMode IsDefined IsImage IsImageFile IsInstanceOf IsJSON IsLeapYear IsLocalHost ' +
|
58 |
-
'IsNumeric IsNumericDate IsObject IsPDFFile IsPDFObject IsQuery IsSimpleValue IsSOAPRequest IsStruct IsUserInAnyRole IsUserInRole ' +
|
59 |
-
'IsUserLoggedIn IsValid IsWDDX IsXML IsXmlAttribute IsXmlDoc IsXmlElem IsXmlNode IsXmlRoot JavaCast JSStringFormat LCase Left Len ' +
|
60 |
-
'ListAppend ListChangeDelims ListContains ListContainsNoCase ListDeleteAt ListFind ListFindNoCase ListFirst ListGetAt ListInsertAt ' +
|
61 |
-
'ListLast ListLen ListPrepend ListQualify ListRest ListSetAt ListSort ListToArray ListValueCount ListValueCountNoCase LJustify Log ' +
|
62 |
-
'Log10 LSCurrencyFormat LSDateFormat LSEuroCurrencyFormat LSIsCurrency LSIsDate LSIsNumeric LSNumberFormat LSParseCurrency LSParseDateTime ' +
|
63 |
-
'LSParseEuroCurrency LSParseNumber LSTimeFormat LTrim Max Mid Min Minute Month MonthAsString Now NumberFormat ParagraphFormat ParseDateTime ' +
|
64 |
-
'Pi PrecisionEvaluate PreserveSingleQuotes Quarter QueryAddColumn QueryAddRow QueryConvertForGrid QueryNew QuerySetCell QuotedValueList Rand ' +
|
65 |
-
'Randomize RandRange REFind REFindNoCase ReleaseComObject REMatch REMatchNoCase RemoveChars RepeatString Replace ReplaceList ReplaceNoCase ' +
|
66 |
-
'REReplace REReplaceNoCase Reverse Right RJustify Round RTrim Second SendGatewayMessage SerializeJSON SetEncoding SetLocale SetProfileString ' +
|
67 |
-
'SetVariable Sgn Sin Sleep SpanExcluding SpanIncluding Sqr StripCR StructAppend StructClear StructCopy StructCount StructDelete StructFind ' +
|
68 |
-
'StructFindKey StructFindValue StructGet StructInsert StructIsEmpty StructKeyArray StructKeyExists StructKeyList StructKeyList StructNew ' +
|
69 |
-
'StructSort StructUpdate Tan TimeFormat ToBase64 ToBinary ToScript ToString Trim UCase URLDecode URLEncodedFormat URLSessionFormat Val ' +
|
70 |
-
'ValueList VerifyClient Week Wrap Wrap WriteOutput XmlChildPos XmlElemNew XmlFormat XmlGetNodeType XmlNew XmlParse XmlSearch XmlTransform ' +
|
71 |
-
'XmlValidate Year YesNoFormat';
|
72 |
-
|
73 |
-
var keywords = 'cfabort cfajaximport cfajaxproxy cfapplet cfapplication cfargument cfassociate cfbreak cfcache cfcalendar ' +
|
74 |
-
'cfcase cfcatch cfchart cfchartdata cfchartseries cfcol cfcollection cfcomponent cfcontent cfcookie cfdbinfo ' +
|
75 |
-
'cfdefaultcase cfdirectory cfdiv cfdocument cfdocumentitem cfdocumentsection cfdump cfelse cfelseif cferror ' +
|
76 |
-
'cfexchangecalendar cfexchangeconnection cfexchangecontact cfexchangefilter cfexchangemail cfexchangetask ' +
|
77 |
-
'cfexecute cfexit cffeed cffile cfflush cfform cfformgroup cfformitem cfftp cffunction cfgrid cfgridcolumn ' +
|
78 |
-
'cfgridrow cfgridupdate cfheader cfhtmlhead cfhttp cfhttpparam cfif cfimage cfimport cfinclude cfindex ' +
|
79 |
-
'cfinput cfinsert cfinterface cfinvoke cfinvokeargument cflayout cflayoutarea cfldap cflocation cflock cflog ' +
|
80 |
-
'cflogin cfloginuser cflogout cfloop cfmail cfmailparam cfmailpart cfmenu cfmenuitem cfmodule cfNTauthenticate ' +
|
81 |
-
'cfobject cfobjectcache cfoutput cfparam cfpdf cfpdfform cfpdfformparam cfpdfparam cfpdfsubform cfpod cfpop ' +
|
82 |
-
'cfpresentation cfpresentationslide cfpresenter cfprint cfprocessingdirective cfprocparam cfprocresult ' +
|
83 |
-
'cfproperty cfquery cfqueryparam cfregistry cfreport cfreportparam cfrethrow cfreturn cfsavecontent cfschedule ' +
|
84 |
-
'cfscript cfsearch cfselect cfset cfsetting cfsilent cfslider cfsprydataset cfstoredproc cfswitch cftable ' +
|
85 |
-
'cftextarea cfthread cfthrow cftimer cftooltip cftrace cftransaction cftree cftreeitem cftry cfupdate cfwddx ' +
|
86 |
-
'cfwindow cfxml cfzip cfzipparam';
|
87 |
-
|
88 |
-
var operators = 'all and any between cross in join like not null or outer some';
|
89 |
-
|
90 |
-
this.regexList = [
|
91 |
-
{ regex: new RegExp('--(.*)$', 'gm'), css: 'comments' }, // one line and multiline comments
|
92 |
-
{ regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // single quoted strings
|
93 |
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
94 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
95 |
-
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // functions
|
96 |
-
{ regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
|
97 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
|
98 |
-
];
|
99 |
-
}
|
100 |
-
|
101 |
-
SyntaxHighlighter.brushes.ColdFusion.prototype = new SyntaxHighlighter.Highlighter();
|
102 |
-
SyntaxHighlighter.brushes.ColdFusion.aliases = ['coldfusion','cf'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushCpp.js
DELETED
@@ -1,99 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.Cpp = function()
|
31 |
-
{
|
32 |
-
// Copyright 2006 Shin, YoungJin
|
33 |
-
|
34 |
-
var datatypes = 'ATOM BOOL BOOLEAN BYTE CHAR COLORREF DWORD DWORDLONG DWORD_PTR ' +
|
35 |
-
'DWORD32 DWORD64 FLOAT HACCEL HALF_PTR HANDLE HBITMAP HBRUSH ' +
|
36 |
-
'HCOLORSPACE HCONV HCONVLIST HCURSOR HDC HDDEDATA HDESK HDROP HDWP ' +
|
37 |
-
'HENHMETAFILE HFILE HFONT HGDIOBJ HGLOBAL HHOOK HICON HINSTANCE HKEY ' +
|
38 |
-
'HKL HLOCAL HMENU HMETAFILE HMODULE HMONITOR HPALETTE HPEN HRESULT ' +
|
39 |
-
'HRGN HRSRC HSZ HWINSTA HWND INT INT_PTR INT32 INT64 LANGID LCID LCTYPE ' +
|
40 |
-
'LGRPID LONG LONGLONG LONG_PTR LONG32 LONG64 LPARAM LPBOOL LPBYTE LPCOLORREF ' +
|
41 |
-
'LPCSTR LPCTSTR LPCVOID LPCWSTR LPDWORD LPHANDLE LPINT LPLONG LPSTR LPTSTR ' +
|
42 |
-
'LPVOID LPWORD LPWSTR LRESULT PBOOL PBOOLEAN PBYTE PCHAR PCSTR PCTSTR PCWSTR ' +
|
43 |
-
'PDWORDLONG PDWORD_PTR PDWORD32 PDWORD64 PFLOAT PHALF_PTR PHANDLE PHKEY PINT ' +
|
44 |
-
'PINT_PTR PINT32 PINT64 PLCID PLONG PLONGLONG PLONG_PTR PLONG32 PLONG64 POINTER_32 ' +
|
45 |
-
'POINTER_64 PSHORT PSIZE_T PSSIZE_T PSTR PTBYTE PTCHAR PTSTR PUCHAR PUHALF_PTR ' +
|
46 |
-
'PUINT PUINT_PTR PUINT32 PUINT64 PULONG PULONGLONG PULONG_PTR PULONG32 PULONG64 ' +
|
47 |
-
'PUSHORT PVOID PWCHAR PWORD PWSTR SC_HANDLE SC_LOCK SERVICE_STATUS_HANDLE SHORT ' +
|
48 |
-
'SIZE_T SSIZE_T TBYTE TCHAR UCHAR UHALF_PTR UINT UINT_PTR UINT32 UINT64 ULONG ' +
|
49 |
-
'ULONGLONG ULONG_PTR ULONG32 ULONG64 USHORT USN VOID WCHAR WORD WPARAM WPARAM WPARAM ' +
|
50 |
-
'char bool short int __int32 __int64 __int8 __int16 long float double __wchar_t ' +
|
51 |
-
'clock_t _complex _dev_t _diskfree_t div_t ldiv_t _exception _EXCEPTION_POINTERS ' +
|
52 |
-
'FILE _finddata_t _finddatai64_t _wfinddata_t _wfinddatai64_t __finddata64_t ' +
|
53 |
-
'__wfinddata64_t _FPIEEE_RECORD fpos_t _HEAPINFO _HFILE lconv intptr_t ' +
|
54 |
-
'jmp_buf mbstate_t _off_t _onexit_t _PNH ptrdiff_t _purecall_handler ' +
|
55 |
-
'sig_atomic_t size_t _stat __stat64 _stati64 terminate_function ' +
|
56 |
-
'time_t __time64_t _timeb __timeb64 tm uintptr_t _utimbuf ' +
|
57 |
-
'va_list wchar_t wctrans_t wctype_t wint_t signed';
|
58 |
-
|
59 |
-
var keywords = 'break case catch class const __finally __exception __try ' +
|
60 |
-
'const_cast continue private public protected __declspec ' +
|
61 |
-
'default delete deprecated dllexport dllimport do dynamic_cast ' +
|
62 |
-
'else enum explicit extern if for friend goto inline ' +
|
63 |
-
'mutable naked namespace new noinline noreturn nothrow ' +
|
64 |
-
'register reinterpret_cast return selectany ' +
|
65 |
-
'sizeof static static_cast struct switch template this ' +
|
66 |
-
'thread throw true false try typedef typeid typename union ' +
|
67 |
-
'using uuid virtual void volatile whcar_t while';
|
68 |
-
|
69 |
-
var functions = 'assert isalnum isalpha iscntrl isdigit isgraph islower isprint' +
|
70 |
-
'ispunct isspace isupper isxdigit tolower toupper errno localeconv ' +
|
71 |
-
'setlocale acos asin atan atan2 ceil cos cosh exp fabs floor fmod ' +
|
72 |
-
'frexp ldexp log log10 modf pow sin sinh sqrt tan tanh jmp_buf ' +
|
73 |
-
'longjmp setjmp raise signal sig_atomic_t va_arg va_end va_start ' +
|
74 |
-
'clearerr fclose feof ferror fflush fgetc fgetpos fgets fopen ' +
|
75 |
-
'fprintf fputc fputs fread freopen fscanf fseek fsetpos ftell ' +
|
76 |
-
'fwrite getc getchar gets perror printf putc putchar puts remove ' +
|
77 |
-
'rename rewind scanf setbuf setvbuf sprintf sscanf tmpfile tmpnam ' +
|
78 |
-
'ungetc vfprintf vprintf vsprintf abort abs atexit atof atoi atol ' +
|
79 |
-
'bsearch calloc div exit free getenv labs ldiv malloc mblen mbstowcs ' +
|
80 |
-
'mbtowc qsort rand realloc srand strtod strtol strtoul system ' +
|
81 |
-
'wcstombs wctomb memchr memcmp memcpy memmove memset strcat strchr ' +
|
82 |
-
'strcmp strcoll strcpy strcspn strerror strlen strncat strncmp ' +
|
83 |
-
'strncpy strpbrk strrchr strspn strstr strtok strxfrm asctime ' +
|
84 |
-
'clock ctime difftime gmtime localtime mktime strftime time';
|
85 |
-
|
86 |
-
this.regexList = [
|
87 |
-
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
88 |
-
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
89 |
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
90 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
91 |
-
{ regex: /^ *#.*/gm, css: 'preprocessor' },
|
92 |
-
{ regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'color1 bold' },
|
93 |
-
{ regex: new RegExp(this.getKeywords(functions), 'gm'), css: 'functions bold' },
|
94 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword bold' }
|
95 |
-
];
|
96 |
-
};
|
97 |
-
|
98 |
-
SyntaxHighlighter.brushes.Cpp.prototype = new SyntaxHighlighter.Highlighter();
|
99 |
-
SyntaxHighlighter.brushes.Cpp.aliases = ['cpp', 'c'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushCss.js
DELETED
@@ -1,93 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.CSS = function()
|
31 |
-
{
|
32 |
-
function getKeywordsCSS(str)
|
33 |
-
{
|
34 |
-
return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b';
|
35 |
-
};
|
36 |
-
|
37 |
-
function getValuesCSS(str)
|
38 |
-
{
|
39 |
-
return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b';
|
40 |
-
};
|
41 |
-
|
42 |
-
var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' +
|
43 |
-
'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +
|
44 |
-
'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +
|
45 |
-
'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +
|
46 |
-
'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' +
|
47 |
-
'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +
|
48 |
-
'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +
|
49 |
-
'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +
|
50 |
-
'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' +
|
51 |
-
'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' +
|
52 |
-
'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +
|
53 |
-
'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' +
|
54 |
-
'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' +
|
55 |
-
'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index';
|
56 |
-
|
57 |
-
var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+
|
58 |
-
'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+
|
59 |
-
'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double '+
|
60 |
-
'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+
|
61 |
-
'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+
|
62 |
-
'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+
|
63 |
-
'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+
|
64 |
-
'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+
|
65 |
-
'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+
|
66 |
-
'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+
|
67 |
-
'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+
|
68 |
-
'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+
|
69 |
-
'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+
|
70 |
-
'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow';
|
71 |
-
|
72 |
-
var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif';
|
73 |
-
|
74 |
-
this.regexList = [
|
75 |
-
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
76 |
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
77 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
78 |
-
{ regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors
|
79 |
-
{ regex: /(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)/g, css: 'value' }, // sizes
|
80 |
-
{ regex: /!important/g, css: 'color3' }, // !important
|
81 |
-
{ regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
|
82 |
-
{ regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values
|
83 |
-
{ regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts
|
84 |
-
];
|
85 |
-
|
86 |
-
this.forHtmlScript({
|
87 |
-
left: /(<|<)\s*style.*?(>|>)/gi,
|
88 |
-
right: /(<|<)\/\s*style\s*(>|>)/gi
|
89 |
-
});
|
90 |
-
};
|
91 |
-
|
92 |
-
SyntaxHighlighter.brushes.CSS.prototype = new SyntaxHighlighter.Highlighter();
|
93 |
-
SyntaxHighlighter.brushes.CSS.aliases = ['css'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushDelphi.js
DELETED
@@ -1,57 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.Delphi = function()
|
31 |
-
{
|
32 |
-
var keywords = 'abs addr and ansichar ansistring array as asm begin boolean byte cardinal ' +
|
33 |
-
'case char class comp const constructor currency destructor div do double ' +
|
34 |
-
'downto else end except exports extended false file finalization finally ' +
|
35 |
-
'for function goto if implementation in inherited int64 initialization ' +
|
36 |
-
'integer interface is label library longint longword mod nil not object ' +
|
37 |
-
'of on or packed pansichar pansistring pchar pcurrency pdatetime pextended ' +
|
38 |
-
'pint64 pointer private procedure program property pshortstring pstring ' +
|
39 |
-
'pvariant pwidechar pwidestring protected public published raise real real48 ' +
|
40 |
-
'record repeat set shl shortint shortstring shr single smallint string then ' +
|
41 |
-
'threadvar to true try type unit until uses val var varirnt while widechar ' +
|
42 |
-
'widestring with word write writeln xor';
|
43 |
-
|
44 |
-
this.regexList = [
|
45 |
-
{ regex: /\(\*[\s\S]*?\*\)/gm, css: 'comments' }, // multiline comments (* *)
|
46 |
-
{ regex: /{(?!\$)[\s\S]*?}/gm, css: 'comments' }, // multiline comments { }
|
47 |
-
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line
|
48 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
49 |
-
{ regex: /\{\$[a-zA-Z]+ .+\}/g, css: 'color1' }, // compiler Directives and Region tags
|
50 |
-
{ regex: /\b[\d\.]+\b/g, css: 'value' }, // numbers 12345
|
51 |
-
{ regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // numbers $F5D3
|
52 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
|
53 |
-
];
|
54 |
-
};
|
55 |
-
|
56 |
-
SyntaxHighlighter.brushes.Delphi.prototype = new SyntaxHighlighter.Highlighter();
|
57 |
-
SyntaxHighlighter.brushes.Delphi.aliases = ['delphi', 'pascal', 'pas'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushDiff.js
DELETED
@@ -1,43 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.Diff = function()
|
31 |
-
{
|
32 |
-
this.regexList = [
|
33 |
-
{ regex: /^\+\+\+.*$/gm, css: 'color2' },
|
34 |
-
{ regex: /^\-\-\-.*$/gm, css: 'color2' },
|
35 |
-
{ regex: /^\s.*$/gm, css: 'color1' },
|
36 |
-
{ regex: /^@@.*@@$/gm, css: 'variable' },
|
37 |
-
{ regex: /^\+[^\+]{1}.*$/gm, css: 'string' },
|
38 |
-
{ regex: /^\-[^\-]{1}.*$/gm, css: 'comments' }
|
39 |
-
];
|
40 |
-
};
|
41 |
-
|
42 |
-
SyntaxHighlighter.brushes.Diff.prototype = new SyntaxHighlighter.Highlighter();
|
43 |
-
SyntaxHighlighter.brushes.Diff.aliases = ['diff', 'patch'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushErlang.js
DELETED
@@ -1,54 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.Erlang = function()
|
31 |
-
{
|
32 |
-
// Contributed by Jean-Lou Dupont
|
33 |
-
// http://jldupont.blogspot.com/2009/06/erlang-syntax-highlighter.html
|
34 |
-
|
35 |
-
// According to: http://erlang.org/doc/reference_manual/introduction.html#1.5
|
36 |
-
var keywords = 'after and andalso band begin bnot bor bsl bsr bxor '+
|
37 |
-
'case catch cond div end fun if let not of or orelse '+
|
38 |
-
'query receive rem try when xor'+
|
39 |
-
// additional
|
40 |
-
' module export import define';
|
41 |
-
|
42 |
-
this.regexList = [
|
43 |
-
{ regex: new RegExp("[A-Z][A-Za-z0-9_]+", 'g'), css: 'constants' },
|
44 |
-
{ regex: new RegExp("\\%.+", 'gm'), css: 'comments' },
|
45 |
-
{ regex: new RegExp("\\?[A-Za-z0-9_]+", 'g'), css: 'preprocessor' },
|
46 |
-
{ regex: new RegExp("[a-z0-9_]+:[a-z0-9_]+", 'g'), css: 'functions' },
|
47 |
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
|
48 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
|
49 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
|
50 |
-
];
|
51 |
-
};
|
52 |
-
|
53 |
-
SyntaxHighlighter.brushes.Erlang.prototype = new SyntaxHighlighter.Highlighter();
|
54 |
-
SyntaxHighlighter.brushes.Erlang.aliases = ['erl', 'erlang'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushGroovy.js
DELETED
@@ -1,69 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.Groovy = function()
|
31 |
-
{
|
32 |
-
// Contributed by Andres Almiray
|
33 |
-
// http://jroller.com/aalmiray/entry/nice_source_code_syntax_highlighter
|
34 |
-
|
35 |
-
var keywords = 'as assert break case catch class continue def default do else extends finally ' +
|
36 |
-
'if in implements import instanceof interface new package property return switch ' +
|
37 |
-
'throw throws try while public protected private static';
|
38 |
-
var types = 'void boolean byte char short int long float double';
|
39 |
-
var constants = 'null';
|
40 |
-
var methods = 'allProperties count get size '+
|
41 |
-
'collect each eachProperty eachPropertyName eachWithIndex find findAll ' +
|
42 |
-
'findIndexOf grep inject max min reverseEach sort ' +
|
43 |
-
'asImmutable asSynchronized flatten intersect join pop reverse subMap toList ' +
|
44 |
-
'padRight padLeft contains eachMatch toCharacter toLong toUrl tokenize ' +
|
45 |
-
'eachFile eachFileRecurse eachB yte eachLine readBytes readLine getText ' +
|
46 |
-
'splitEachLine withReader append encodeBase64 decodeBase64 filterLine ' +
|
47 |
-
'transformChar transformLine withOutputStream withPrintWriter withStream ' +
|
48 |
-
'withStreams withWriter withWriterAppend write writeLine '+
|
49 |
-
'dump inspect invokeMethod print println step times upto use waitForOrKill '+
|
50 |
-
'getText';
|
51 |
-
|
52 |
-
this.regexList = [
|
53 |
-
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
54 |
-
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
55 |
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
56 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
57 |
-
{ regex: /""".*"""/g, css: 'string' }, // GStrings
|
58 |
-
{ regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'value' }, // numbers
|
59 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // goovy keyword
|
60 |
-
{ regex: new RegExp(this.getKeywords(types), 'gm'), css: 'color1' }, // goovy/java type
|
61 |
-
{ regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' }, // constants
|
62 |
-
{ regex: new RegExp(this.getKeywords(methods), 'gm'), css: 'functions' } // methods
|
63 |
-
];
|
64 |
-
|
65 |
-
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
66 |
-
}
|
67 |
-
|
68 |
-
SyntaxHighlighter.brushes.Groovy.prototype = new SyntaxHighlighter.Highlighter();
|
69 |
-
SyntaxHighlighter.brushes.Groovy.aliases = ['groovy'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushJScript.js
DELETED
@@ -1,52 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.JScript = function()
|
31 |
-
{
|
32 |
-
var keywords = 'break case catch continue ' +
|
33 |
-
'default delete do else false ' +
|
34 |
-
'for function if in instanceof ' +
|
35 |
-
'new null return super switch ' +
|
36 |
-
'this throw true try typeof var while with'
|
37 |
-
;
|
38 |
-
|
39 |
-
this.regexList = [
|
40 |
-
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
41 |
-
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
42 |
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
43 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
44 |
-
{ regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
|
45 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords
|
46 |
-
];
|
47 |
-
|
48 |
-
this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags);
|
49 |
-
};
|
50 |
-
|
51 |
-
SyntaxHighlighter.brushes.JScript.prototype = new SyntaxHighlighter.Highlighter();
|
52 |
-
SyntaxHighlighter.brushes.JScript.aliases = ['js', 'jscript', 'javascript'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushJava.js
DELETED
@@ -1,59 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.Java = function()
|
31 |
-
{
|
32 |
-
var keywords = 'abstract assert boolean break byte case catch char class const ' +
|
33 |
-
'continue default do double else enum extends ' +
|
34 |
-
'false final finally float for goto if implements import ' +
|
35 |
-
'instanceof int interface long native new null ' +
|
36 |
-
'package private protected public return ' +
|
37 |
-
'short static strictfp super switch synchronized this throw throws true ' +
|
38 |
-
'transient try void volatile while';
|
39 |
-
|
40 |
-
this.regexList = [
|
41 |
-
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
42 |
-
{ regex: /\/\*([^\*][\s\S]*)?\*\//gm, css: 'comments' }, // multiline comments
|
43 |
-
{ regex: /\/\*(?!\*\/)\*[\s\S]*?\*\//gm, css: 'preprocessor' }, // documentation comments
|
44 |
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
45 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
46 |
-
{ regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers
|
47 |
-
{ regex: /(?!\@interface\b)\@[\$\w]+\b/g, css: 'color1' }, // annotation @anno
|
48 |
-
{ regex: /\@interface\b/g, css: 'color2' }, // @interface keyword
|
49 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword
|
50 |
-
];
|
51 |
-
|
52 |
-
this.forHtmlScript({
|
53 |
-
left : /(<|<)%[@!=]?/g,
|
54 |
-
right : /%(>|>)/g
|
55 |
-
});
|
56 |
-
};
|
57 |
-
|
58 |
-
SyntaxHighlighter.brushes.Java.prototype = new SyntaxHighlighter.Highlighter();
|
59 |
-
SyntaxHighlighter.brushes.Java.aliases = ['java'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushJavaFX.js
DELETED
@@ -1,60 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.JavaFX = function()
|
31 |
-
{
|
32 |
-
// Contributed by Patrick Webster
|
33 |
-
// http://patrickwebster.blogspot.com/2009/04/javafx-brush-for-syntaxhighlighter.html
|
34 |
-
var datatypes = 'Boolean Byte Character Double Duration '
|
35 |
-
+ 'Float Integer Long Number Short String Void'
|
36 |
-
;
|
37 |
-
|
38 |
-
var keywords = 'abstract after and as assert at before bind bound break catch class '
|
39 |
-
+ 'continue def delete else exclusive extends false finally first for from '
|
40 |
-
+ 'function if import in indexof init insert instanceof into inverse last '
|
41 |
-
+ 'lazy mixin mod nativearray new not null on or override package postinit '
|
42 |
-
+ 'protected public public-init public-read replace return reverse sizeof '
|
43 |
-
+ 'step super then this throw true try tween typeof var where while with '
|
44 |
-
+ 'attribute let private readonly static trigger'
|
45 |
-
;
|
46 |
-
|
47 |
-
this.regexList = [
|
48 |
-
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' },
|
49 |
-
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' },
|
50 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
|
51 |
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
|
52 |
-
{ regex: /(-?\.?)(\b(\d*\.?\d+|\d+\.?\d*)(e[+-]?\d+)?|0x[a-f\d]+)\b\.?/gi, css: 'color2' }, // numbers
|
53 |
-
{ regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'variable' }, // datatypes
|
54 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
|
55 |
-
];
|
56 |
-
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
57 |
-
};
|
58 |
-
|
59 |
-
SyntaxHighlighter.brushes.JavaFX.prototype = new SyntaxHighlighter.Highlighter();
|
60 |
-
SyntaxHighlighter.brushes.JavaFX.aliases = ['jfx', 'javafx'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushPerl.js
DELETED
@@ -1,74 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.Perl = function()
|
31 |
-
{
|
32 |
-
// Contributed by David Simmons-Duffin and Marty Kube
|
33 |
-
|
34 |
-
var funcs =
|
35 |
-
'abs accept alarm atan2 bind binmode chdir chmod chomp chop chown chr ' +
|
36 |
-
'chroot close closedir connect cos crypt defined delete each endgrent ' +
|
37 |
-
'endhostent endnetent endprotoent endpwent endservent eof exec exists ' +
|
38 |
-
'exp fcntl fileno flock fork format formline getc getgrent getgrgid ' +
|
39 |
-
'getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr ' +
|
40 |
-
'getnetbyname getnetent getpeername getpgrp getppid getpriority ' +
|
41 |
-
'getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid ' +
|
42 |
-
'getservbyname getservbyport getservent getsockname getsockopt glob ' +
|
43 |
-
'gmtime grep hex index int ioctl join keys kill lc lcfirst length link ' +
|
44 |
-
'listen localtime lock log lstat map mkdir msgctl msgget msgrcv msgsnd ' +
|
45 |
-
'oct open opendir ord pack pipe pop pos print printf prototype push ' +
|
46 |
-
'quotemeta rand read readdir readline readlink readpipe recv rename ' +
|
47 |
-
'reset reverse rewinddir rindex rmdir scalar seek seekdir select semctl ' +
|
48 |
-
'semget semop send setgrent sethostent setnetent setpgrp setpriority ' +
|
49 |
-
'setprotoent setpwent setservent setsockopt shift shmctl shmget shmread ' +
|
50 |
-
'shmwrite shutdown sin sleep socket socketpair sort splice split sprintf ' +
|
51 |
-
'sqrt srand stat study substr symlink syscall sysopen sysread sysseek ' +
|
52 |
-
'system syswrite tell telldir time times tr truncate uc ucfirst umask ' +
|
53 |
-
'undef unlink unpack unshift utime values vec wait waitpid warn write';
|
54 |
-
|
55 |
-
var keywords =
|
56 |
-
'bless caller continue dbmclose dbmopen die do dump else elsif eval exit ' +
|
57 |
-
'for foreach goto if import last local my next no our package redo ref ' +
|
58 |
-
'require return sub tie tied unless untie until use wantarray while';
|
59 |
-
|
60 |
-
this.regexList = [
|
61 |
-
{ regex: new RegExp('#[^!].*$', 'gm'), css: 'comments' },
|
62 |
-
{ regex: new RegExp('^\\s*#!.*$', 'gm'), css: 'preprocessor' }, // shebang
|
63 |
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
|
64 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
|
65 |
-
{ regex: new RegExp('(\\$|@|%)\\w+', 'g'), css: 'variable' },
|
66 |
-
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' },
|
67 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
|
68 |
-
];
|
69 |
-
|
70 |
-
this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
|
71 |
-
}
|
72 |
-
|
73 |
-
SyntaxHighlighter.brushes.Perl.prototype = new SyntaxHighlighter.Highlighter();
|
74 |
-
SyntaxHighlighter.brushes.Perl.aliases = ['perl', 'Perl', 'pl'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushPhp.js
DELETED
@@ -1,91 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.Php = function()
|
31 |
-
{
|
32 |
-
var funcs = 'abs acos acosh addcslashes addslashes ' +
|
33 |
-
'array_change_key_case array_chunk array_combine array_count_values array_diff '+
|
34 |
-
'array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill '+
|
35 |
-
'array_filter array_flip array_intersect array_intersect_assoc array_intersect_key '+
|
36 |
-
'array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map '+
|
37 |
-
'array_merge array_merge_recursive array_multisort array_pad array_pop array_product '+
|
38 |
-
'array_push array_rand array_reduce array_reverse array_search array_shift '+
|
39 |
-
'array_slice array_splice array_sum array_udiff array_udiff_assoc '+
|
40 |
-
'array_udiff_uassoc array_uintersect array_uintersect_assoc '+
|
41 |
-
'array_uintersect_uassoc array_unique array_unshift array_values array_walk '+
|
42 |
-
'array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert '+
|
43 |
-
'basename bcadd bccomp bcdiv bcmod bcmul bindec bindtextdomain bzclose bzcompress '+
|
44 |
-
'bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite ceil chdir '+
|
45 |
-
'checkdate checkdnsrr chgrp chmod chop chown chr chroot chunk_split class_exists '+
|
46 |
-
'closedir closelog copy cos cosh count count_chars date decbin dechex decoct '+
|
47 |
-
'deg2rad delete ebcdic2ascii echo empty end ereg ereg_replace eregi eregi_replace error_log '+
|
48 |
-
'error_reporting escapeshellarg escapeshellcmd eval exec exit exp explode extension_loaded '+
|
49 |
-
'feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents '+
|
50 |
-
'fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype '+
|
51 |
-
'floatval flock floor flush fmod fnmatch fopen fpassthru fprintf fputcsv fputs fread fscanf '+
|
52 |
-
'fseek fsockopen fstat ftell ftok getallheaders getcwd getdate getenv gethostbyaddr gethostbyname '+
|
53 |
-
'gethostbynamel getimagesize getlastmod getmxrr getmygid getmyinode getmypid getmyuid getopt '+
|
54 |
-
'getprotobyname getprotobynumber getrandmax getrusage getservbyname getservbyport gettext '+
|
55 |
-
'gettimeofday gettype glob gmdate gmmktime ini_alter ini_get ini_get_all ini_restore ini_set '+
|
56 |
-
'interface_exists intval ip2long is_a is_array is_bool is_callable is_dir is_double '+
|
57 |
-
'is_executable is_file is_finite is_float is_infinite is_int is_integer is_link is_long '+
|
58 |
-
'is_nan is_null is_numeric is_object is_readable is_real is_resource is_scalar is_soap_fault '+
|
59 |
-
'is_string is_subclass_of is_uploaded_file is_writable is_writeable mkdir mktime nl2br '+
|
60 |
-
'parse_ini_file parse_str parse_url passthru pathinfo readlink realpath rewind rewinddir rmdir '+
|
61 |
-
'round str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split '+
|
62 |
-
'str_word_count strcasecmp strchr strcmp strcoll strcspn strftime strip_tags stripcslashes '+
|
63 |
-
'stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpbrk '+
|
64 |
-
'strpos strptime strrchr strrev strripos strrpos strspn strstr strtok strtolower strtotime '+
|
65 |
-
'strtoupper strtr strval substr substr_compare';
|
66 |
-
|
67 |
-
var keywords = 'and or xor array as break case ' +
|
68 |
-
'cfunction class const continue declare default die do else ' +
|
69 |
-
'elseif enddeclare endfor endforeach endif endswitch endwhile ' +
|
70 |
-
'extends for foreach function include include_once global if ' +
|
71 |
-
'new old_function return static switch use require require_once ' +
|
72 |
-
'var while abstract interface public implements extends private protected throw';
|
73 |
-
|
74 |
-
var constants = '__FILE__ __LINE__ __METHOD__ __FUNCTION__ __CLASS__';
|
75 |
-
|
76 |
-
this.regexList = [
|
77 |
-
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
78 |
-
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
79 |
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
80 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
81 |
-
{ regex: /\$\w+/g, css: 'variable' }, // variables
|
82 |
-
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // common functions
|
83 |
-
{ regex: new RegExp(this.getKeywords(constants), 'gmi'), css: 'constants' }, // constants
|
84 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword
|
85 |
-
];
|
86 |
-
|
87 |
-
this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
|
88 |
-
};
|
89 |
-
|
90 |
-
SyntaxHighlighter.brushes.Php.prototype = new SyntaxHighlighter.Highlighter();
|
91 |
-
SyntaxHighlighter.brushes.Php.aliases = ['php'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushPlain.js
DELETED
@@ -1,35 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.Plain = function()
|
31 |
-
{
|
32 |
-
};
|
33 |
-
|
34 |
-
SyntaxHighlighter.brushes.Plain.prototype = new SyntaxHighlighter.Highlighter();
|
35 |
-
SyntaxHighlighter.brushes.Plain.aliases = ['text', 'plain'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushPowerShell.js
DELETED
@@ -1,76 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.PowerShell = function()
|
31 |
-
{
|
32 |
-
// Contributes by B.v.Zanten, Getronics
|
33 |
-
// http://confluence.atlassian.com/display/CONFEXT/New+Code+Macro
|
34 |
-
|
35 |
-
var keywords = 'Add-Content Add-History Add-Member Add-PSSnapin Clear(-Content)? Clear-Item ' +
|
36 |
-
'Clear-ItemProperty Clear-Variable Compare-Object ConvertFrom-SecureString Convert-Path ' +
|
37 |
-
'ConvertTo-Html ConvertTo-SecureString Copy(-Item)? Copy-ItemProperty Export-Alias ' +
|
38 |
-
'Export-Clixml Export-Console Export-Csv ForEach(-Object)? Format-Custom Format-List ' +
|
39 |
-
'Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command ' +
|
40 |
-
'Get-Content Get-Credential Get-Culture Get-Date Get-EventLog Get-ExecutionPolicy ' +
|
41 |
-
'Get-Help Get-History Get-Host Get-Item Get-ItemProperty Get-Location Get-Member ' +
|
42 |
-
'Get-PfxCertificate Get-Process Get-PSDrive Get-PSProvider Get-PSSnapin Get-Service ' +
|
43 |
-
'Get-TraceSource Get-UICulture Get-Unique Get-Variable Get-WmiObject Group-Object ' +
|
44 |
-
'Import-Alias Import-Clixml Import-Csv Invoke-Expression Invoke-History Invoke-Item ' +
|
45 |
-
'Join-Path Measure-Command Measure-Object Move(-Item)? Move-ItemProperty New-Alias ' +
|
46 |
-
'New-Item New-ItemProperty New-Object New-PSDrive New-Service New-TimeSpan ' +
|
47 |
-
'New-Variable Out-Default Out-File Out-Host Out-Null Out-Printer Out-String Pop-Location ' +
|
48 |
-
'Push-Location Read-Host Remove-Item Remove-ItemProperty Remove-PSDrive Remove-PSSnapin ' +
|
49 |
-
'Remove-Variable Rename-Item Rename-ItemProperty Resolve-Path Restart-Service Resume-Service ' +
|
50 |
-
'Select-Object Select-String Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content ' +
|
51 |
-
'Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-Location Set-PSDebug ' +
|
52 |
-
'Set-Service Set-TraceSource Set(-Variable)? Sort-Object Split-Path Start-Service ' +
|
53 |
-
'Start-Sleep Start-Transcript Stop-Process Stop-Service Stop-Transcript Suspend-Service ' +
|
54 |
-
'Tee-Object Test-Path Trace-Command Update-FormatData Update-TypeData Where(-Object)? ' +
|
55 |
-
'Write-Debug Write-Error Write(-Host)? Write-Output Write-Progress Write-Verbose Write-Warning';
|
56 |
-
var alias = 'ac asnp clc cli clp clv cpi cpp cvpa diff epal epcsv fc fl ' +
|
57 |
-
'ft fw gal gc gci gcm gdr ghy gi gl gm gp gps group gsv ' +
|
58 |
-
'gsnp gu gv gwmi iex ihy ii ipal ipcsv mi mp nal ndr ni nv oh rdr ' +
|
59 |
-
'ri rni rnp rp rsnp rv rvpa sal sasv sc select si sl sleep sort sp ' +
|
60 |
-
'spps spsv sv tee cat cd cp h history kill lp ls ' +
|
61 |
-
'mount mv popd ps pushd pwd r rm rmdir echo cls chdir del dir ' +
|
62 |
-
'erase rd ren type % \\?';
|
63 |
-
|
64 |
-
this.regexList = [
|
65 |
-
{ regex: /#.*$/gm, css: 'comments' }, // one line comments
|
66 |
-
{ regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // variables $Computer1
|
67 |
-
{ regex: /\-[a-zA-Z]+\b/g, css: 'keyword' }, // Operators -not -and -eq
|
68 |
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
69 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
70 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' },
|
71 |
-
{ regex: new RegExp(this.getKeywords(alias), 'gmi'), css: 'keyword' }
|
72 |
-
];
|
73 |
-
};
|
74 |
-
|
75 |
-
SyntaxHighlighter.brushes.PowerShell.prototype = new SyntaxHighlighter.Highlighter();
|
76 |
-
SyntaxHighlighter.brushes.PowerShell.aliases = ['powershell', 'ps'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushPython.js
DELETED
@@ -1,66 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.Python = function()
|
31 |
-
{
|
32 |
-
// Contributed by Gheorghe Milas and Ahmad Sherif
|
33 |
-
|
34 |
-
var keywords = 'and assert break class continue def del elif else ' +
|
35 |
-
'except exec finally for from global if import in is ' +
|
36 |
-
'lambda not or pass print raise return try yield while';
|
37 |
-
|
38 |
-
var funcs = '__import__ abs all any apply basestring bin bool buffer callable ' +
|
39 |
-
'chr classmethod cmp coerce compile complex delattr dict dir ' +
|
40 |
-
'divmod enumerate eval execfile file filter float format frozenset ' +
|
41 |
-
'getattr globals hasattr hash help hex id input int intern ' +
|
42 |
-
'isinstance issubclass iter len list locals long map max min next ' +
|
43 |
-
'object oct open ord pow print property range raw_input reduce ' +
|
44 |
-
'reload repr reversed round set setattr slice sorted staticmethod ' +
|
45 |
-
'str sum super tuple type type unichr unicode vars xrange zip';
|
46 |
-
|
47 |
-
var special = 'None True False self cls class_';
|
48 |
-
|
49 |
-
this.regexList = [
|
50 |
-
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' },
|
51 |
-
{ regex: /^\s*@\w+/gm, css: 'decorator' },
|
52 |
-
{ regex: /(['\"]{3})([^\1])*?\1/gm, css: 'comments' },
|
53 |
-
{ regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm, css: 'string' },
|
54 |
-
{ regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm, css: 'string' },
|
55 |
-
{ regex: /\+|\-|\*|\/|\%|=|==/gm, css: 'keyword' },
|
56 |
-
{ regex: /\b\d+\.?\w*/g, css: 'value' },
|
57 |
-
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' },
|
58 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
|
59 |
-
{ regex: new RegExp(this.getKeywords(special), 'gm'), css: 'color1' }
|
60 |
-
];
|
61 |
-
|
62 |
-
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
63 |
-
};
|
64 |
-
|
65 |
-
SyntaxHighlighter.brushes.Python.prototype = new SyntaxHighlighter.Highlighter();
|
66 |
-
SyntaxHighlighter.brushes.Python.aliases = ['py', 'python'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushRuby.js
DELETED
@@ -1,57 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.Ruby = function()
|
31 |
-
{
|
32 |
-
// Contributed by Erik Peterson.
|
33 |
-
|
34 |
-
var keywords = 'alias and BEGIN begin break case class def define_method defined do each else elsif ' +
|
35 |
-
'END end ensure false for if in module new next nil not or raise redo rescue retry return ' +
|
36 |
-
'self super then throw true undef unless until when while yield';
|
37 |
-
|
38 |
-
var builtins = 'Array Bignum Binding Class Continuation Dir Exception FalseClass File::Stat File Fixnum Fload ' +
|
39 |
-
'Hash Integer IO MatchData Method Module NilClass Numeric Object Proc Range Regexp String Struct::TMS Symbol ' +
|
40 |
-
'ThreadGroup Thread Time TrueClass';
|
41 |
-
|
42 |
-
this.regexList = [
|
43 |
-
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
|
44 |
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
45 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
46 |
-
{ regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants
|
47 |
-
{ regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols
|
48 |
-
{ regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class variables
|
49 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
50 |
-
{ regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins
|
51 |
-
];
|
52 |
-
|
53 |
-
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
54 |
-
};
|
55 |
-
|
56 |
-
SyntaxHighlighter.brushes.Ruby.prototype = new SyntaxHighlighter.Highlighter();
|
57 |
-
SyntaxHighlighter.brushes.Ruby.aliases = ['ruby', 'rails', 'ror', 'rb'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushScala.js
DELETED
@@ -1,53 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.Scala = function()
|
31 |
-
{
|
32 |
-
// Contributed by Yegor Jbanov and David Bernard.
|
33 |
-
|
34 |
-
var keywords = 'val sealed case def true trait implicit forSome import match object null finally super ' +
|
35 |
-
'override try lazy for var catch throw type extends class while with new final yield abstract ' +
|
36 |
-
'else do if return protected private this package false';
|
37 |
-
|
38 |
-
var keyops = '[_:=><%#@]+';
|
39 |
-
|
40 |
-
this.regexList = [
|
41 |
-
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
42 |
-
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
43 |
-
{ regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // multi-line strings
|
44 |
-
{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double-quoted string
|
45 |
-
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
46 |
-
{ regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi, css: 'value' }, // numbers
|
47 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
48 |
-
{ regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword
|
49 |
-
];
|
50 |
-
}
|
51 |
-
|
52 |
-
SyntaxHighlighter.brushes.Scala.prototype = new SyntaxHighlighter.Highlighter();
|
53 |
-
SyntaxHighlighter.brushes.Scala.aliases = ['scala'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushSql.js
DELETED
@@ -1,68 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.Sql = function()
|
31 |
-
{
|
32 |
-
var funcs = 'abs avg case cast coalesce convert count current_timestamp ' +
|
33 |
-
'current_user day isnull left lower month nullif replace right ' +
|
34 |
-
'session_user space substring sum system_user upper user year';
|
35 |
-
|
36 |
-
var keywords = 'absolute action add after alter as asc at authorization begin bigint ' +
|
37 |
-
'binary bit by cascade char character check checkpoint close collate ' +
|
38 |
-
'column commit committed connect connection constraint contains continue ' +
|
39 |
-
'create cube current current_date current_time cursor database date ' +
|
40 |
-
'deallocate dec decimal declare default delete desc distinct double drop ' +
|
41 |
-
'dynamic else end end-exec escape except exec execute false fetch first ' +
|
42 |
-
'float for force foreign forward free from full function global goto grant ' +
|
43 |
-
'group grouping having hour ignore index inner insensitive insert instead ' +
|
44 |
-
'int integer intersect into is isolation key last level load local max min ' +
|
45 |
-
'minute modify move name national nchar next no numeric of off on only ' +
|
46 |
-
'open option order out output partial password precision prepare primary ' +
|
47 |
-
'prior privileges procedure public read real references relative repeatable ' +
|
48 |
-
'restrict return returns revoke rollback rollup rows rule schema scroll ' +
|
49 |
-
'second section select sequence serializable set size smallint static ' +
|
50 |
-
'statistics table temp temporary then time timestamp to top transaction ' +
|
51 |
-
'translation trigger true truncate uncommitted union unique update values ' +
|
52 |
-
'varchar varying view when where with work';
|
53 |
-
|
54 |
-
var operators = 'all and any between cross in join like not null or outer some';
|
55 |
-
|
56 |
-
this.regexList = [
|
57 |
-
{ regex: /--(.*)$/gm, css: 'comments' }, // one line and multiline comments
|
58 |
-
{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
|
59 |
-
{ regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
|
60 |
-
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'color2' }, // functions
|
61 |
-
{ regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
|
62 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
|
63 |
-
];
|
64 |
-
};
|
65 |
-
|
66 |
-
SyntaxHighlighter.brushes.Sql.prototype = new SyntaxHighlighter.Highlighter();
|
67 |
-
SyntaxHighlighter.brushes.Sql.aliases = ['sql'];
|
68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushVb.js
DELETED
@@ -1,58 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.Vb = function()
|
31 |
-
{
|
32 |
-
var keywords = 'AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto ' +
|
33 |
-
'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate ' +
|
34 |
-
'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType ' +
|
35 |
-
'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each ' +
|
36 |
-
'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend ' +
|
37 |
-
'Function Get GetType GoSub GoTo Handles If Implements Imports In ' +
|
38 |
-
'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module ' +
|
39 |
-
'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing ' +
|
40 |
-
'NotInheritable NotOverridable Object On Option Optional Or OrElse ' +
|
41 |
-
'Overloads Overridable Overrides ParamArray Preserve Private Property ' +
|
42 |
-
'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume ' +
|
43 |
-
'Return Select Set Shadows Shared Short Single Static Step Stop String ' +
|
44 |
-
'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until ' +
|
45 |
-
'Variant When While With WithEvents WriteOnly Xor';
|
46 |
-
|
47 |
-
this.regexList = [
|
48 |
-
{ regex: /'.*$/gm, css: 'comments' }, // one line comments
|
49 |
-
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
50 |
-
{ regex: /^\s*#.*$/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
|
51 |
-
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // vb keyword
|
52 |
-
];
|
53 |
-
|
54 |
-
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
55 |
-
};
|
56 |
-
|
57 |
-
SyntaxHighlighter.brushes.Vb.prototype = new SyntaxHighlighter.Highlighter();
|
58 |
-
SyntaxHighlighter.brushes.Vb.aliases = ['vb', 'vbnet'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shBrushXml.js
DELETED
@@ -1,71 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
SyntaxHighlighter.brushes.Xml = function()
|
31 |
-
{
|
32 |
-
function process(match, regexInfo)
|
33 |
-
{
|
34 |
-
var constructor = SyntaxHighlighter.Match,
|
35 |
-
code = match[0],
|
36 |
-
tag = new XRegExp('(<|<)[\\s\\/\\?]*(?<name>[:\\w-\\.]+)', 'xg').exec(code),
|
37 |
-
result = []
|
38 |
-
;
|
39 |
-
|
40 |
-
if (match.attributes != null)
|
41 |
-
{
|
42 |
-
var attributes,
|
43 |
-
regex = new XRegExp('(?<name> [\\w:\\-\\.]+)' +
|
44 |
-
'\\s*=\\s*' +
|
45 |
-
'(?<value> ".*?"|\'.*?\'|\\w+)',
|
46 |
-
'xg');
|
47 |
-
|
48 |
-
while ((attributes = regex.exec(code)) != null)
|
49 |
-
{
|
50 |
-
result.push(new constructor(attributes.name, match.index + attributes.index, 'color1'));
|
51 |
-
result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string'));
|
52 |
-
}
|
53 |
-
}
|
54 |
-
|
55 |
-
if (tag != null)
|
56 |
-
result.push(
|
57 |
-
new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword')
|
58 |
-
);
|
59 |
-
|
60 |
-
return result;
|
61 |
-
}
|
62 |
-
|
63 |
-
this.regexList = [
|
64 |
-
{ regex: new XRegExp('(\\<|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\>|>)', 'gm'), css: 'color2' }, // <![ ... [ ... ]]>
|
65 |
-
{ regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // <!-- ... -->
|
66 |
-
{ regex: new XRegExp('(<|<)[\\s\\/\\?]*(\\w+)(?<attributes>.*?)[\\s\\/\\?]*(>|>)', 'sg'), func: process }
|
67 |
-
];
|
68 |
-
};
|
69 |
-
|
70 |
-
SyntaxHighlighter.brushes.Xml.prototype = new SyntaxHighlighter.Highlighter();
|
71 |
-
SyntaxHighlighter.brushes.Xml.aliases = ['xml', 'xhtml', 'xslt', 'html'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shCore.js
DELETED
@@ -1,30 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('c(!1q.2X){h 2X=l(){h p={6b:{"1s-R":"","84-2y":1,"83-2y-7W":I,"1I":v,"8d-89":I,"1H-2Q":4,"3g":I,"1w":I,"66":N,"8k-8l":I,"88":N,"5h-1p":I,"1L-1l":N},M:{4T:I,69:v,5l:16,5k:16,8B:N,8f:N,8s:"54",1f:{5q:"53 1g",5d:"9N 1g",5i:"9O 6q 6p",78:"9M C 9L 1V 9I 6p 9J",3t:"3t",6C:"?",1A:"2X\\n\\n",6T:"9K\'t 9P 2O D: ",7x:"9Q 9W\'t 9X D 1L-1l 9V: ",77:"<!9U 1L 9R \\"-//9S//6H 9T 1.0 9H//9G\\" \\"2s://5x.6x.6B/9v/6D/6H/6D-9w.9u\\"><1L 9t=\\"2s://5x.6x.6B/9s/9x\\"><6z><9y 2s-9E=\\"9F-9D\\" 63=\\"1X/1L; 9C=9z-8\\" /><3i>9A 2X</3i></6z><33 1m=\\"39-9Y:9Z,an,ao,am-al;ai-3f:#aj;3f:#ak;39-2Q:ap;1X-6G:6u;\\"><A 1m=\\"1X-6G:6u;6w-4w:aw;\\"><A 1m=\\"39-2Q:au-at;\\">2X</A><A 1m=\\"39-2Q:.as;6w-9p:ah;\\"><A>6O 2.1.ag (a5 15 6h)</A><A><a 27=\\"2s://6I.3k\\" a6=\\"4k\\" 1m=\\"3f:#6F;1X-6t:6L;\\">2s://6I.3k</a></A><A>a3 a0 a1 f 1l, a2 <a 27=\\"a7://5x.a8.3k/ae-af/ad?ac=a9-aa&ab=ax\\" 1m=\\"3f:#6F;1X-6t:6L;\\">8R</a> 6q 8Q 8O 8W!</A></A><A>8V C 8U 8X.</A><A>8K 8N-6h 8M 8S.</A></A></33></1L>"},8u:N},1r:{4Z:v,9o:v,3m:v,6f:{}},2d:{},8h:{9g:/\\/\\*[\\s\\S]*?\\*\\//3b,9d:/\\/\\/.*$/3b,9e:/#.*$/3b,9j:/"([^\\\\"\\n]|\\\\.)*"/g,9n:/\'([^\\\\\'\\n]|\\\\.)*\'/g,9m:/"([^\\\\"]|\\\\.)*"/g,8Y:/\'([^\\\\\']|\\\\.)*\'/g,9k:/(&X;|<)!--[\\s\\S]*?--(&Z;|>)/3b,43:/&X;\\w+:\\/\\/[\\w-.\\/?%&=@:;]*&Z;|\\w+:\\/\\/[\\w-.\\/?%&=@:;]*/g,9c:{G:/(&X;|<)\\?=?/g,1d:/\\?(&Z;|>)/g},93:{G:/(&X;|<)%=?/g,1d:/%(&Z;|>)/g},92:{G:/(&X;|<)\\s*1l.*?(&Z;|>)/4e,1d:/(&X;|<)\\/\\s*1l\\s*(&Z;|>)/4e}},1w:{1c:l(3O){h 3T=Q.22("3Y"),5s=p.1w.7d;3T.L="1w";D(h 30 1V 5s){h 6i=5s[30],5t=W 6i(3O),1Y=5t.1c();3O.6g[30]=5t;c(1Y==v){1J}c(7X(1Y)=="91"){1Y=p.1w.6m(1Y,3O.1k,30)}1Y.L+="5v "+30;3T.2p(1Y)}q 3T},6m:l(5L,7j,5K){h a=Q.22("a"),5N=a.1m,5D=p.M,5M=5D.5l,5J=5D.5k;a.27="#"+5K;a.3i=5L;a.5j=7j;a.76=5K;a.1Q=5L;c(40(5M)==N){5N.26=5M+"75"}c(40(5J)==N){5N.2e=5J+"75"}a.9l=l(e){97{p.1w.6M(f,e||1q.6Y,f.5j,f.76)}98(e){p.B.1A(e.6n)}q N};q a},6M:l(7i,7g,7b,7h,7f){h 5G=p.1r.6f[7b],5H;c(5G==v||(5H=5G.6g[7h])==v){q v}q 5H.2z(7i,7g,7f)},7d:{5q:l(5b){f.1c=l(){c(5b.V("66")!=I){q}q p.M.1f.5q};f.2z=l(5c,8T,8P){h A=5b.A;5c.7y.4p(5c);A.L=A.L.E("5O","")}},5d:l(6R){f.1c=l(){q p.M.1f.5d};f.2z=l(b1,bU,bV){h 3J=p.B.3d(6R.5g).E(/</g,"&X;"),2A=p.B.4z("","4k",bT,bS,"bQ=0, bR=1, bW=0, 7a=1");3J=p.B.2T(3J);2A.Q.3D("<54>"+3J+"</54>");2A.Q.4o()}},5i:l(64){h 3C,c2,6a=64.1k;f.1c=l(){h 2V=p.M;c(2V.69==v){q v}l 1E(56){h 5m="";D(h 5f 1V 56){5m+="<c1 R=\'"+5f+"\' 24=\'"+56[5f]+"\'/>"}q 5m};l 2i(5n){h 5p="";D(h 5o 1V 5n){5p+=" "+5o+"=\'"+5n[5o]+"\'"}q 5p};h 67={26:2V.5l,2e:2V.5k,1k:6a+"bY",4r:"bZ/x-71-6V",3i:p.M.1f.5i},5V={bE:"ay",bD:"bC",bA:"5j="+6a,c4:"N"},5U=2V.69,3x;c(/bG/i.1R(6K.7k)){3x="<4h"+2i({bH:"bM:bN-bL-bK-bI-bJ",c3:"2s://ck.cj.3k/cm/71/c9/6V/c8.c7#6O=9,0,0,0"})+2i(67)+">"+1E(5V)+1E({c6:5U})+"</4h>"}F{3x="<ca"+2i(67)+2i(5V)+2i({cg:5U})+"/>"}3C=Q.22("A");3C.1Q=3x;q 3C};f.2z=l(cf,ce,62){h 7c=62.cd;6U(7c){2K"7q":h 61=p.B.2T(p.B.3d(64.5g).E(/&X;/g,"<").E(/&Z;/g,">").E(/&aT;/g,"&"));c(1q.74){1q.74.aU("1X",61)}F{q p.B.2T(61)}2K"aR":p.B.1A(p.M.1f.78);2h;2K"aP":p.B.1A(62.6n);2h}}},aV:l(65){f.1c=l(){q p.M.1f.3t};f.2z=l(aW,bz,b0){h 1Z=Q.22("aZ"),1N=v;c(p.1r.3m!=v){Q.33.4p(p.1r.3m)}p.1r.3m=1Z;1Z.1m.aX="aY:aO;26:6r;2e:6r;G:-6j;4w:-6j;";Q.33.2p(1Z);1N=1Z.5Q.Q;6J(1N,1q.Q);1N.3D("<A 1s=\\""+65.A.L.E("5O","")+" aD\\">"+65.A.1Q+"</A>");1N.4o();1Z.5Q.4F();1Z.5Q.3t();l 6J(6N,6E){h 2I=6E.4O("4n");D(h i=0;i<2I.u;i++){c(2I[i].6y.6P()=="6A"&&/aE\\.1a$/.1R(2I[i].27)){6N.3D("<4n 4r=\\"1X/1a\\" 6y=\\"6A\\" 27=\\""+2I[i].27+"\\"></4n>")}}}}},az:l(aA){f.1c=l(){q p.M.1f.6C};f.2z=l(aF,aG){h 2A=p.B.4z("","4k",aM,aK,"7a=0"),1N=2A.Q;1N.3D(p.M.1f.77);1N.4o();2A.4F()}}}},B:{Y:l(49,73,3y){3y=3e.aH(3y||0,0);D(h i=3y;i<49.u;i++){c(49[i]==73){q i}}q-1},6d:l(72){q 72+3e.aI(3e.b2()*b3).2u()},6c:l(51,4L){h 3h={},1W;D(1W 1V 51){3h[1W]=51[1W]}D(1W 1V 4L){3h[1W]=4L[1W]}q 3h},80:l(4J){6U(4J){2K"I":q I;2K"N":q N}q 4J},4z:l(43,6W,4B,4H,2N){h x=(6X.26-4B)/2,y=(6X.2e-4H)/2;2N+=", G="+x+", 4w="+y+", 26="+4B+", 2e="+4H;2N=2N.E(/^,/,"");h 4E=1q.bk(43,6W,2N);4E.4F();q 4E},7C:l(1G,1T,1U){c(1G.6Z){1G["e"+1T+1U]=1U;1G[1T+1U]=l(){1G["e"+1T+1U](1q.6Y)};1G.6Z("bw"+1T,1G[1T+1U])}F{1G.bv(1T,1U,N)}},1A:l(z){1A(p.M.1f.1A+z)},4u:l(4N,6Q){h 2r=p.1r.4Z,3V=v;c(2r==v){2r={};D(h 2L 1V p.2d){h 42=p.2d[2L].bu;c(42==v){1J}p.2d[2L].R=2L.6P();D(h i=0;i<42.u;i++){2r[42[i]]=2L}}p.1r.4Z=2r}3V=p.2d[2r[4N]];c(3V==v&&6Q!=N){p.B.1A(p.M.1f.6T+4N)}q 3V},46:l(z,6S){h 2E=z.1P("\\n");D(h i=0;i<2E.u;i++){2E[i]=6S(2E[i])}q 2E.5A("\\n")},8C:l(z){q z.E(/^[ ]*[\\n]+|[\\n]*[ ]*$/g,"")},8H:l(z){h 3X,45={},4P=W U("^\\\\[(?<4c>(.*?))\\\\]$"),7e=W U("(?<R>[\\\\w-]+)"+"\\\\s*:\\\\s*"+"(?<24>"+"[\\\\w-%#]+|"+"\\\\[.*?\\\\]|"+"\\".*?\\"|"+"\'.*?\'"+")\\\\s*;?","g");2j((3X=7e.T(z))!=v){h 2f=3X.24.E(/^[\'"]|[\'"]$/g,"");c(2f!=v&&4P.1R(2f)){h m=4P.T(2f);2f=m.4c.u>0?m.4c.1P(/\\s*,\\s*/):[]}45[3X.R]=2f}q 45},7K:l(z,1a){c(z==v||z.u==0||z=="\\n"){q z}z=z.E(/</g,"&X;");z=z.E(/ {2,}/g,l(m){h 4t="";D(h i=0;i<m.u-1;i++){4t+="&2B;"}q 4t+" "});c(1a!=v){z=p.B.46(z,l(2l){c(2l.u==0){q""}h 3W="";2l=2l.E(/^(&2B;| )+/,l(s){3W=s;q""});c(2l.u==0){q 3W}q 3W+"<C 1s=\\""+1a+"\\">"+2l+"</C>"})}q z},7V:l(6l,6o){h 32=6l.2u();2j(32.u<6o){32="0"+32}q 32},6k:l(){h 3w=Q.22("A"),3B,3o=0,44=Q.33,1k=p.B.6d("6k"),36="<A 1s=\\"",2Y="</A>",4U="</4G>";3w.1Q=36+"6e\\">"+36+"1p\\">"+36+"2y\\">"+36+"63"+"\\"><4G 1s=\\"b5\\"><4G 1k=\\""+1k+"\\">&2B;"+4U+4U+2Y+2Y+2Y+2Y;44.2p(3w);3B=Q.bb(1k);c(/bg/i.1R(6K.7k)){h 6v=1q.be(3B,v);3o=85(6v.bc("26"))}F{3o=3B.bd}44.4p(3w);q 3o},8b:l(79,6s){h 1H="";D(h i=0;i<6s;i++){1H+=" "}q 79.E(/\\t/g,1H)},8a:l(2Z,4f){h bF=2Z.1P("\\n"),1H="\\t",4d="";D(h i=0;i<50;i++){4d+=" "}l 8x(3s,18,8A){q 3s.29(0,18)+4d.29(0,8A)+3s.29(18+1,3s.u)};2Z=p.B.46(2Z,l(20){c(20.Y(1H)==-1){q 20}h 18=0;2j((18=20.Y(1H))!=-1){h 8w=4f-18%4f;20=8x(20,18,8w)}q 20});q 2Z},3d:l(z){h br=/<br\\s*\\/?>|&X;br\\s*\\/?&Z;/4e;c(p.M.8B==I){z=z.E(br,"\\n")}c(p.M.8f==I){z=z.E(br,"")}q z},2G:l(z){q z.E(/^\\s+|\\s+$/g,"")},2T:l(z){h 21=p.B.3d(z).1P("\\n"),bf=W bh(),8D=/^\\s*/,2a=ba;D(h i=0;i<21.u&&2a>0;i++){h 4x=21[i];c(p.B.2G(4x).u==0){1J}h 4I=8D.T(4x);c(4I==v){q z}2a=3e.2a(4I[0].u,2a)}c(2a>0){D(h i=0;i<21.u;i++){21[i]=21[i].29(2a)}}q 21.5A("\\n")},82:l(35,31){c(35.H<31.H){q-1}F{c(35.H>31.H){q 1}F{c(35.u<31.u){q-1}F{c(35.u>31.u){q 1}}}}q 0},2D:l(8q,34){l 8n(4D,8r){q[W p.4v(4D[0],4D.H,8r.1a)]};h b4=0,4s=v,3L=[],8p=34.4X?34.4X:8n;2j((4s=34.3K.T(8q))!=v){3L=3L.2t(8p(4s,34))}q 3L},8m:l(8o){h X="&X;",Z="&Z;";q 8o.E(p.8h.43,l(m){h 4j="",47="";c(m.Y(X)==0){47=X;m=m.3U(X.u)}c(m.Y(Z)==m.u-Z.u){m=m.3U(0,m.u-Z.u);4j=Z}q 47+"<a 27=\\""+m+"\\">"+m+"</a>"+4j})},8v:l(){h 3N=Q.4O("1l"),4i=[];D(h i=0;i<3N.u;i++){c(3N[i].4r=="6e"){4i.K(3N[i])}}q 4i},8I:l(4b){h 4q="<![b6[",3S="]]>",1v=p.B.2G(4b),3R=N;c(1v.Y(4q)==0){1v=1v.3U(4q.u);3R=I}c(1v.Y(3S)==1v.u-3S.u){1v=1v.3U(0,1v.u-3S.u);3R=I}q 3R?1v:4b}},1I:l(8E,4R){l 8e(4g){h 4Q=[];D(h i=0;i<4g.u;i++){4Q.K(4g[i])}q 4Q};h 2q=4R?[4R]:8e(Q.4O(p.M.8s)),8J="1Q",2k=v,4S=p.M;c(4S.4T){2q=2q.2t(p.B.8v())}c(2q.u===0){q}D(h i=0;i<2q.u;i++){h 2M=2q[i],28=p.B.8H(2M.L),1D,2W,25;28=p.B.6c(8E,28);1D=28["2O"];c(1D==v){1J}c(28["1L-1l"]=="I"||p.6b["1L-1l"]==I){2k=W p.4a(1D);1D="b9"}F{h 3P=p.B.4u(1D);c(3P){1D=3P.R;2k=W 3P()}F{1J}}2W=2M[8J];c(4S.4T){2W=p.B.8I(2W)}28["2O-R"]=1D;2k.1I(2W,28);25=2k.A;c(p.M.8u){25=Q.22("bj");25.24=2k.A.1Q;25.1m.26="bt";25.1m.2e="bx"}2M.7y.bs(25,2M)}},bq:l(7H){p.B.7C(1q,"bl",l(){p.1I(7H)})}};p.4v=l(4A,7G,1a){f.24=4A;f.H=7G;f.u=4A.u;f.1a=1a;f.5Y=v};p.4v.14.2u=l(){q f.24};p.4a=l(4K){h 3z=p.B.4u(4K),2g,4W=W p.2d.bm(),bn=v;c(3z==v){q}2g=W 3z();f.4m=4W;c(2g.3I==v){p.B.1A(p.M.1f.7x+4K);q}4W.59.K({3K:2g.3I.C,4X:7p});l 3A(4Y,7w){D(h j=0;j<4Y.u;j++){4Y[j].H+=7w}};l 7p(19,bp){h 7n=19.C,1o=[],4M=2g.59,7l=19.H+19.G.u,2U=2g.3I,1n;D(h i=0;i<4M.u;i++){1n=p.B.2D(7n,4M[i]);3A(1n,7l);1o=1o.2t(1n)}c(2U.G!=v&&19.G!=v){1n=p.B.2D(19.G,2U.G);3A(1n,19.H);1o=1o.2t(1n)}c(2U.1d!=v&&19.1d!=v){1n=p.B.2D(19.1d,2U.1d);3A(1n,19.H+19[0].bo(19.1d));1o=1o.2t(1n)}D(h j=0;j<1o.u;j++){1o[j].5Y=3z.R}q 1o}};p.4a.14.1I=l(7t,7s){f.4m.1I(7t,7s);f.A=f.4m.A};p.7I=l(){};p.7I.14={V:l(7J,7Z){h 4l=f.1E[7J];q p.B.80(4l==v?7Z:4l)},1c:l(7Y){q Q.22(7Y)},8i:l(2F,81){h 3u=[];c(2F!=v){D(h i=0;i<2F.u;i++){c(7X(2F[i])=="4h"){3u=3u.2t(p.B.2D(81,2F[i]))}}}q 3u.aB(p.B.82)},86:l(){h 23=f.2C;D(h i=0;i<23.u;i++){c(23[i]===v){1J}h 2x=23[i],4V=2x.H+2x.u;D(h j=i+1;j<23.u&&23[i]!==v;j++){h 1S=23[j];c(1S===v){1J}F{c(1S.H>4V){2h}F{c(1S.H==2x.H&&1S.u>2x.u){f.2C[i]=v}F{c(1S.H>=2x.H&&1S.H<4V){f.2C[j]=v}}}}}}},8t:l(2H){h 3r=2H.1P(/\\n/g),3n=85(f.V("84-2y")),2v=f.V("83-2y-7W"),7N=f.V("1I",[]),7U=f.V("3g");2H="";c(2v==I){2v=(3n+3r.u-1).2u().u}F{c(40(2v)==I){2v=0}}D(h i=0;i<3r.u;i++){h 1x=3r[i],60=/^(&2B;|\\s)+/.T(1x),52="aN"+(i%2==0?1:2),7F=p.B.7V(3n+i,2v),7P=p.B.Y(7N,(3n+i).2u())!=-1,2S=v;c(60!=v){2S=60[0].2u();1x=1x.29(2S.u)}1x=p.B.2G(1x);c(1x.u==0){1x="&2B;"}c(7P){52+=" aQ"}2H+="<A 1s=\\"2y "+52+"\\">"+"<7L>"+"<7T>"+(7U?"<3F 1s=\\"aS\\"><C>"+7F+"</C></3F>":"")+"<3F 1s=\\"63\\">"+(2S!=v?"<C 1s=\\"by\\">"+2S.E(" ","&2B;")+"</C>":"")+1x+"</3F>"+"</7T>"+"</7L>"+"</A>"}q 2H},8y:l(5X,5T){h 18=0,3c="",3a=p.B.7K,5S=f.V("2O-R","");l 5W(5Z){h 5R=5Z?(5Z.5Y||5S):5S;q 5R?5R+" ":""};D(h i=0;i<5T.u;i++){h 1y=5T[i],3G;c(1y===v||1y.u===0){1J}3G=5W(1y);3c+=3a(5X.29(18,1y.H-18),3G+"7O")+3a(1y.24,3G+1y.1a);18=1y.H+1y.u}3c+=3a(5X.29(18),5W()+"7O");q 3c},1I:l(C,7E){h cb=p.M,1r=p.1r,A,ci,3Z,ch="cn";f.1E={};f.A=v;f.1p=v;f.C=v;f.1i=v;f.6g={};f.1k=p.B.6d("cl");1r.6f[f.1k]=f;c(C===v){C=""}f.1E=p.B.6c(p.6b,7E||{});c(f.V("88")==I){f.1E.1w=f.1E.3g=N}f.A=A=f.1c("3Y");f.1p=f.1c("3Y");f.1p.L="1p";L="6e";A.1k=f.1k;c(f.V("66")){L+=" 5O"}c(f.V("3g")==N){L+=" bB"}c(f.V("5h-1p")==N){f.1p.L+=" bO-5h"}L+=" "+f.V("1s-R");L+=" "+f.V("2O-R");A.L=L;f.5g=C;f.C=p.B.8C(C).E(/\\r/g," ");3Z=f.V("1H-2Q");f.C=f.V("8d-89")==I?p.B.8a(f.C,3Z):p.B.8b(f.C,3Z);f.C=p.B.2T(f.C);c(f.V("1w")){f.1i=f.1c("3Y");f.1i.L="1i";f.1i.2p(p.1w.1c(f));A.2p(f.1i);h 1i=f.1i;l 58(){1i.L=1i.L.E("53","")};A.c0=l(){58();1i.L+=" 53"};A.bX=l(){58()}}A.2p(f.1p);f.2C=f.8i(f.59,f.C);f.86();C=f.8y(f.C,f.2C);C=f.8t(p.B.2G(C));c(f.V("8k-8l")){C=p.B.8m(C)}f.1p.1Q=C},9f:l(z){z=z.E(/^\\s+|\\s+$/g,"").E(/\\s+/g,"|");q"\\\\b(?:"+z+")\\\\b"},9i:l(2J){f.3I={G:{3K:2J.G,1a:"1l"},1d:{3K:2J.1d,1a:"1l"},C:W U("(?<G>"+2J.G.1g+")"+"(?<C>.*?)"+"(?<1d>"+2J.1d.1g+")","96")}}};q p}()}c(!1q.U){(l(){h 2w={T:10.14.T,87:5I.14.87,E:5I.14.E,1P:5I.14.1P},1F={13:/(?:[^\\\\([#\\s.]+|\\\\(?!k<[\\w$]+>|[7z]{[^}]+})[\\S\\s]?|\\((?=\\?(?!#|<[\\w$]+>)))+|(\\()(?:\\?(?:(#)[^)]*\\)|<([$\\w]+)>))?|\\\\(?:k<([\\w$]+)>|[7z]{([^}]+)})|(\\[\\^?)|([\\S\\s])/g,99:/(?:[^$]+|\\$(?![1-9$&`\']|{[$\\w]+}))+|\\$(?:([1-9]\\d*|[$&`\'])|{([$\\w]+)})/g,37:/^(?:\\s+|#.*)+/,5B:/^(?:[?*+]|{\\d+(?:,\\d*)?})/,7Q:/&&\\[\\^?/g,7S:/]/g},7o=l(5C,5v,5u){D(h i=5u||0;i<5C.u;i++){c(5C[i]===5v){q i}}q-1},8G=/()??/.T("")[1]!==3j,3q={};U=l(1e,1O){c(1e 68 10){c(1O!==3j){3H 7r("4y\'t 4C 9a 8z 95 7u 10 5u 94")}q 1e.3E()}h 1O=1O||"",7R=1O.Y("s")>-1,7M=1O.Y("x")>-1,5z=N,3v=[],1b=[],13=1F.13,J,cc,38,3M,3p;13.O=0;2j(J=2w.T.2n(13,1e)){c(J[2]){c(!1F.5B.1R(1e.17(13.O))){1b.K("(?:)")}}F{c(J[1]){3v.K(J[3]||v);c(J[3]){5z=I}1b.K("(")}F{c(J[4]){3M=7o(3v,J[4]);1b.K(3M>-1?"\\\\"+(3M+1)+(40(1e.5w(13.O))?"":"(?:)"):J[0])}F{c(J[5]){1b.K(3q.7m?3q.7m.7q(J[5],J[0].5w(1)==="P"):J[0])}F{c(J[6]){c(1e.5w(13.O)==="]"){1b.K(J[6]==="["?"(?!)":"[\\\\S\\\\s]");13.O++}F{cc=U.8g("&&"+1e.17(J.H),1F.7Q,1F.7S,"",{7D:"\\\\"})[0];1b.K(J[6]+cc+"]");13.O+=cc.u+1}}F{c(J[7]){c(7R&&J[7]==="."){1b.K("[\\\\S\\\\s]")}F{c(7M&&1F.37.1R(J[7])){38=2w.T.2n(1F.37,1e.17(13.O-1))[0].u;c(!1F.5B.1R(1e.17(13.O-1+38))){1b.K("(?:)")}13.O+=38-1}F{1b.K(J[7])}}}F{1b.K(J[0])}}}}}}}3p=10(1b.5A(""),2w.E.2n(1O,/[9B]+/g,""));3p.1C={1g:1e,2m:5z?3v:v};q 3p};U.9q=l(R,o){3q[R]=o};10.14.T=l(z){h 1h=2w.T.2n(f,z),R,i,5y;c(1h){c(8G&&1h.u>1){5y=W 10("^"+f.1g+"$(?!\\\\s)",f.5E());2w.E.2n(1h[0],5y,l(){D(i=1;i<8j.u-2;i++){c(8j[i]===3j){1h[i]=3j}}})}c(f.1C&&f.1C.2m){D(i=1;i<1h.u;i++){R=f.1C.2m[i-1];c(R){1h[R]=1h[i]}}}c(f.3l&&f.O>(1h.H+1h[0].u)){f.O--}}q 1h}})()}10.14.5E=l(){q(f.3l?"g":"")+(f.av?"i":"")+(f.8F?"m":"")+(f.37?"x":"")+(f.a4?"y":"")};10.14.3E=l(7A){h 5F=W U(f.1g,(7A||"")+f.5E());c(f.1C){5F.1C={1g:f.1C.1g,2m:f.1C.2m?f.1C.2m.17(0):v}}q 5F};10.14.2n=l(90,z){q f.T(z)};10.14.9b=l(9h,8c){q f.T(8c[0])};U.5P=l(57,5e){h 55="/"+57+"/"+(5e||"");q U.5P[55]||(U.5P[55]=W U(57,5e))};U.41=l(z){q z.E(/[-[\\]{}()*+?.\\\\^$|,#\\s]/g,"\\\\$&")};U.8g=l(z,G,11,1j,2R){h 2R=2R||{},2P=2R.7D,12=2R.c5,1j=1j||"",5r=1j.Y("g")>-1,70=1j.Y("i")>-1,7v=1j.Y("m")>-1,5a=1j.Y("y")>-1,1j=1j.E(/y/g,""),G=G 68 10?(G.3l?G:G.3E("g")):W U(G,"g"+1j),11=11 68 10?(11.3l?11:11.3E("g")):W U(11,"g"+1j),1M=[],2o=0,1u=0,1t=0,1z=0,2b,2c,1B,1K,3Q,48;c(2P){c(2P.u>1){3H aC("4y\'t 4C aL aJ 7u 41 7B")}c(7v){3H 7r("4y\'t 4C 41 7B 8z bi b8 8F b7")}3Q=U.41(2P);48=W 10("^(?:"+3Q+"[\\\\S\\\\s]|(?:(?!"+G.1g+"|"+11.1g+")[^"+3Q+"])+)+",70?"i":"")}2j(I){G.O=11.O=1t+(2P?(48.T(z.17(1t))||[""])[0].u:0);1B=G.T(z);1K=11.T(z);c(1B&&1K){c(1B.H<=1K.H){1K=v}F{1B=v}}c(1B||1K){1u=(1B||1K).H;1t=(1B?G:11).O}F{c(!2o){2h}}c(5a&&!2o&&1u>1z){2h}c(1B){c(!2o++){2b=1u;2c=1t}}F{c(1K&&2o){c(!--2o){c(12){c(12[0]&&2b>1z){1M.K([12[0],z.17(1z,2b),1z,2b])}c(12[1]){1M.K([12[1],z.17(2b,2c),2b,2c])}c(12[2]){1M.K([12[2],z.17(2c,1u),2c,1u])}c(12[3]){1M.K([12[3],z.17(1u,1t),1u,1t])}}F{1M.K(z.17(2c,1u))}1z=1t;c(!5r){2h}}}F{G.O=11.O=0;3H bP("8L aq 9r ar 8Z")}}c(1u===1t){1t++}}c(5r&&!5a&&12&&12[0]&&z.u>1z){1M.K([12[0],z.17(1z),1z,z.u])}G.O=11.O=0;q 1M};',62,768,'||||||||||||if|||this||var||||function||||sh|return||||length|null||||str|div|utils|code|for|replace|else|left|index|true|_121|push|className|config|false|lastIndex||document|name||exec|XRegExp|getParam|new|lt|indexOf|gt|RegExp|_139|vN|part|prototype|||slice|pos|_d3|css|_11f|create|right|_119|strings|source|_129|bar|_13a|id|script|style|_da|_d6|lines|window|vars|class|_145|_144|_b5|toolbar|_f4|_103|_146|alert|_149|_x|_c3|params|lib|obj|tab|highlight|continue|_14a|html|_142|doc|_11a|split|innerHTML|test|_ec|_5a|_5b|in|_4f|text|_8|_3c|_91|_98|createElement|_e7|value|_c5|width|href|_c2|substr|min|_147|_148|brushes|height|_6e|_cd|break|attributes|while|_be|_75|captureNames|call|_143|appendChild|_bc|_5f|http|concat|toString|_f0|real|_e9|line|execute|wnd|nbsp|matches|getMatches|_66|_e3|trim|_ed|_40|_10f|case|_61|_c1|_55|brush|_13c|size|_13b|_f9|unindent|_d9|_28|_c4|SyntaxHighlighter|_81|_88|_5|m2|_7a|body|_a2|m1|_80|extended|len|font|_fe|gm|_fd|fixInputString|Math|color|gutter|_4e|title|undefined|com|global|printFrame|_ef|_7d|_125|_118|_ee|_8e|print|_e5|_11e|_7b|_32|_49|_cc|offsetMatches|_7c|_25|write|addFlags|td|_104|throw|htmlScript|_22|regex|_a7|_124|_af|_2|_c6|_14b|_b6|_b4|_3|substring|_60|_76|_6a|DIV|_10b|isNaN|escape|_62|url|_7e|_6b|eachLine|_ae|esc|_47|HtmlScript|_b2|values|_8c|gi|_89|_b9|object|_b0|_ad|_blank|_e1|xmlBrush|link|close|removeChild|_b3|type|_a6|_73|findBrush|Match|top|_9d|can|popup|_c8|_53|supply|_a3|win|focus|span|_54|_9e|_50|_cb|_4d|_d7|_5d|getElementsByTagName|_6c|_ba|_b8|_bf|useScriptTags|_82|_ea|_ce|func|_d0|discoveredBrushes||_4c|_f6|show|pre|key|_29|_133|hide|regexList|_141|_19|_1a|viewSource|_134|_2b|originalCode|wrap|copyToClipboard|highlighterId|toolbarItemHeight|toolbarItemWidth|_2a|_2c|_2e|_2d|expandSource|_13e|_4|_7|from|item|charAt|www|r2|_11d|join|quantifier|_113|_e|getNativeFlags|_12e|_17|_18|String|_10|_b|_9|_f|_d|collapsed|cache|contentWindow|_101|_ff|_fb|swf|_30|getBrushNameCss|_fa|brushName|_100|_f5|_37|_35|content|_24|_38|collapse|_2f|instanceof|clipboardSwf|_27|defaults|merge|guid|syntaxhighlighter|highlighters|toolbarCommands|2009|_6|500px|measureSpace|_78|createButton|message|_79|clipboard|to|0px|_85|decoration|center|_83|margin|w3|rel|head|stylesheet|org|help|xhtml1|_3f|0099FF|align|DTD|alexgorbatchev|copyStyles|navigator|none|executeCommand|_3e|version|toLowerCase|_5e|_1e|_65|noBrush|switch|flash|_52|screen|event|attachEvent|_13f|shockwave|_4b|_48|clipboardData|px|commandName|aboutDialog|copyToClipboardConfirmation|_84|scrollbars|_14|_36|items|_6d|_16|_13|_15|_12|_a|userAgent|_d8|unicode|_d5|_112|process|get|TypeError|_de|_dd|one|_140|_d1|brushNotHtmlScript|parentNode|pP|_12d|character|addEvent|escapeChar|_106|_f7|_c9|_c7|Highlighter|_df|decorate|table|_11c|_f1|plain|_f8|classLeft|_11b|classRight|tr|_f2|padNumber|numbers|typeof|_e2|_e0|toBoolean|_e4|matchesSortCallback|pad|first|parseInt|removeNestedMatches|match|light|tabs|processSmartTabs|processTabs|args|smart|toArray|stripBrs|matchRecursive|regexLib|findMatches|arguments|auto|links|processUrls|defaultAdd|_a9|_a8|_a1|_a4|tagName|createDisplayLines|debug|getSyntaxHighlighterScriptTags|_93|insertSpaces|processMatches|when|_90|bloggerMode|trimFirstAndLastLines|_9a|_b7|multiline|_117|parseParams|stripCData|_bd|Copyright|subject|Alex|2004|development|_1c|keep|donate|Gorbatchev|_1b|syntax|JavaScript|active|highlighter|multiLineSingleQuotedString|delimiters|_12f|string|scriptScriptTags|aspScriptTags|another|constructing|sgi|try|catch|replaceVar|flags|apply|phpScriptTags|singleLineCComments|singleLinePerlComments|getKeywords|multiLineCComments|_131|forHtmlScript|doubleQuotedString|xmlComments|onclick|multiLineDoubleQuotedString|singleQuotedString|spaceWidth|bottom|addPlugin|contains|1999|xmlns|dtd|TR|transitional|xhtml|meta|utf|About|sx|charset|Type|equiv|Content|EN|Transitional|your|now|Can|is|The|view|copy|find|Brush|PUBLIC|W3C|XHTML|DOCTYPE|option|wasn|configured|family|Geneva|you|like|please|If|sticky|October|target|https|paypal|_s|xclick|hosted_button_id|cmd|webscr|cgi|bin|364|4em|background|fff|000|serif|sans|Arial|Helvetica|1em|data|unbalanced|75em|large|xx|ignoreCase|3em|2930402|always|about|_42|sort|SyntaxError|printing|shCore|_43|_44|max|round|than|250|more|500|alt|absolute|error|highlighted|ok|number|amp|setData|printSource|_39|cssText|position|IFRAME|_3b|_1f|random|1000000|_a5|block|CDATA|flag|the|htmlscript|1000|getElementById|getPropertyValue|offsetWidth|getComputedStyle|_99|opera|Array|using|textarea|open|load|Xml|_cf|lastIndexOf|_d4|all||replaceChild|70em|aliases|addEventListener|on|30em|spaces|_3a|flashVars|nogutter|transparent|wmode|allowScriptAccess|_8a|msie|classid|96b8|444553540000|11cf|ae6d|clsid|d27cdb6e|no|Error|location|resizable|400|750|_20|_21|menubar|onmouseout|_clipboard|application|onmouseover|param|_26|codebase|menu|valueNames|movie|cab|swflash|cabs|embed|conf||command|_34|_33|src|_10c|_10a|macromedia|download|highlighter_|pub|important'.split('|'),0,{}))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/scripts/shLegacy.js
DELETED
@@ -1,30 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('1 y={d:{}};y.d={F:6(S,l,q,k,m,n){6 J(z,Y){1 V=16 15("^"+Y+"\\\\[(?<o>\\\\w+)\\\\]$","14"),x=2;h(1 i=0;i<z.g;i++){7((x=V.17(z[i]))!=2){4 x.o}}4 2};6 3(r,U){4 r!=2?r:U};6 9(s){4 s!=2?s.13():2};1 f=S.18(":"),E=f[0],c={},u={"p":"p"};C={"p":"1a"},v=2,5=d.5;h(1 i 19 f){c[f[i]]="p"}l=9(3(l,5.O));q=9(3(q,5.T));k=9(3(k,5.A));n=9(3(n,5.W));m=9(3(m,5["K-L"]));v={1b:E,O:3(C[c.12],l),T:3(C[c.1g],q),A:3(u[c.A],k),W:3(u[c.1t],n),"K-L":3(J(f,"1q"),m)};4 v},1x:6(B,I,D,H,N,M){6 Z(){1 a=1r;h(1 i=0;i<a.g;i++){7(a[i]===2){10}7(G(a[i])=="1s"&&a[i]!=""){4 a[i]+""}7(G(a[i])=="1c"&&a[i].o!=""){4 a[i].o+""}}4 2};6 t(Q,R,11){1 j=1w.1v(11);h(1 i=0;i<j.g;i++){7(j[i].1u("1p")==R){Q.1n(j[i])}}};1 b=[],1o=2,1f={},1e="1d";t(b,B,"1h");t(b,B,"1i");7(b.g===0){4}h(1 i=0;i<b.g;i++){1 8=b[i],e=Z(8.X["1m"],8.1l,8.X["P"],8.P),1k="";7(e===2){10}e=y.d.F(e,I,D,H,N,M);d.1j(e,8)}}};',62,96,'|var|null|defaultValue|return|defaults|function|if|_26|asString||_21|_11|SyntaxHighlighter|_27|_f|length|for||_1f|_4|_2|_5|_6|value|true|_3|_c|_e|findTagsByName|_12|result||_a|dp|_7|collapse|_14|reverse|_16|_10|parseParams|typeof|_17|_15|getValue|first|line|_19|_18|gutter|language|_1c|_1d|_1|toolbar|_d|_9|ruler|attributes|_8|findValue|continue|_1e|nogutter|toString|gi|XRegExp|new|exec|split|in|false|brush|object|innerHTML|_24|_23|nocontrols|pre|textarea|highlight|_28|className|class|push|_22|name|firstline|arguments|string|showcolumns|getAttribute|getElementsByTagName|document|HighlightAll'.split('|'),0,{}))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/styles/help.png
DELETED
Binary file
|
syntaxhighlighter/styles/magnifier.png
DELETED
Binary file
|
syntaxhighlighter/styles/page_white_code.png
DELETED
Binary file
|
syntaxhighlighter/styles/page_white_copy.png
DELETED
Binary file
|
syntaxhighlighter/styles/printer.png
DELETED
Binary file
|
syntaxhighlighter/styles/shCore.css
DELETED
@@ -1,336 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
.syntaxhighlighter,
|
31 |
-
.syntaxhighlighter div,
|
32 |
-
.syntaxhighlighter code,
|
33 |
-
.syntaxhighlighter table,
|
34 |
-
.syntaxhighlighter table td,
|
35 |
-
.syntaxhighlighter table tr,
|
36 |
-
.syntaxhighlighter table tbody
|
37 |
-
{
|
38 |
-
margin: 0 !important;
|
39 |
-
padding: 0 !important;
|
40 |
-
border: 0 !important;
|
41 |
-
outline: 0 !important;
|
42 |
-
background: none !important;
|
43 |
-
text-align: left !important;
|
44 |
-
float: none !important;
|
45 |
-
vertical-align: baseline !important;
|
46 |
-
position: static !important;
|
47 |
-
left: auto !important;
|
48 |
-
top: auto !important;
|
49 |
-
right: auto !important;
|
50 |
-
bottom: auto !important;
|
51 |
-
height: auto !important;
|
52 |
-
width: auto !important;
|
53 |
-
line-height: 1.1em !important;
|
54 |
-
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
55 |
-
font-weight: normal !important;
|
56 |
-
font-style: normal !important;
|
57 |
-
font-size: 1em !important;
|
58 |
-
/*min-height: inherit !important; *//* For IE8, FF & WebKit */
|
59 |
-
/*min-height: auto !important;*/ /* For IE7 */
|
60 |
-
direction: ltr !important;
|
61 |
-
}
|
62 |
-
|
63 |
-
.syntaxhighlighter
|
64 |
-
{
|
65 |
-
width: 99% !important; /* 99% fixes IE8 horizontal scrollbar */
|
66 |
-
margin: 1em 0 1em 0 !important;
|
67 |
-
padding: 1px !important; /* adds a little border on top and bottom */
|
68 |
-
position: relative !important;
|
69 |
-
}
|
70 |
-
|
71 |
-
.syntaxhighlighter code
|
72 |
-
{
|
73 |
-
display: inline !important;
|
74 |
-
}
|
75 |
-
|
76 |
-
.syntaxhighlighter .bold
|
77 |
-
{
|
78 |
-
font-weight: bold !important;
|
79 |
-
}
|
80 |
-
|
81 |
-
.syntaxhighlighter .italic
|
82 |
-
{
|
83 |
-
font-style: italic !important;
|
84 |
-
}
|
85 |
-
|
86 |
-
.syntaxhighlighter .line
|
87 |
-
{
|
88 |
-
}
|
89 |
-
|
90 |
-
.syntaxhighlighter .no-wrap .line .content
|
91 |
-
{
|
92 |
-
white-space: pre !important;
|
93 |
-
}
|
94 |
-
|
95 |
-
.syntaxhighlighter .line table
|
96 |
-
{
|
97 |
-
border-collapse: collapse !important;
|
98 |
-
}
|
99 |
-
|
100 |
-
.syntaxhighlighter .line td
|
101 |
-
{
|
102 |
-
vertical-align: top !important;
|
103 |
-
}
|
104 |
-
|
105 |
-
.syntaxhighlighter .line .number
|
106 |
-
{
|
107 |
-
width: 3em !important;
|
108 |
-
}
|
109 |
-
|
110 |
-
.syntaxhighlighter .line .number code
|
111 |
-
{
|
112 |
-
width: 2.7em !important;
|
113 |
-
padding-right: .3em !important;
|
114 |
-
text-align: right !important;
|
115 |
-
display: block !important;
|
116 |
-
}
|
117 |
-
|
118 |
-
.syntaxhighlighter .line .content
|
119 |
-
{
|
120 |
-
padding-left: .5em !important;
|
121 |
-
}
|
122 |
-
|
123 |
-
.syntaxhighlighter .line .spaces
|
124 |
-
{
|
125 |
-
}
|
126 |
-
|
127 |
-
/* Disable border and margin on the lines when no gutter option is set */
|
128 |
-
.syntaxhighlighter.nogutter .line .content
|
129 |
-
{
|
130 |
-
border-left: none !important;
|
131 |
-
}
|
132 |
-
|
133 |
-
.syntaxhighlighter .bar
|
134 |
-
{
|
135 |
-
display: none !important;
|
136 |
-
}
|
137 |
-
|
138 |
-
.syntaxhighlighter .bar.show
|
139 |
-
{
|
140 |
-
display: block !important;
|
141 |
-
}
|
142 |
-
|
143 |
-
.syntaxhighlighter.collapsed .bar
|
144 |
-
{
|
145 |
-
display: block !important;
|
146 |
-
}
|
147 |
-
|
148 |
-
/* Adjust some properties when collapsed */
|
149 |
-
|
150 |
-
.syntaxhighlighter.collapsed .lines
|
151 |
-
{
|
152 |
-
display: none !important;
|
153 |
-
}
|
154 |
-
|
155 |
-
.syntaxhighlighter .lines.no-wrap
|
156 |
-
{
|
157 |
-
overflow: auto !important;
|
158 |
-
overflow-y: hidden !important;
|
159 |
-
}
|
160 |
-
|
161 |
-
/* Styles for the toolbar */
|
162 |
-
|
163 |
-
.syntaxhighlighter .toolbar
|
164 |
-
{
|
165 |
-
position: absolute !important;
|
166 |
-
right: 0px !important;
|
167 |
-
top: 0px !important;
|
168 |
-
font-size: 1px !important;
|
169 |
-
padding: 8px 8px 8px 0 !important; /* in px because images don't scale with ems */
|
170 |
-
}
|
171 |
-
|
172 |
-
.syntaxhighlighter.collapsed .toolbar
|
173 |
-
{
|
174 |
-
font-size: 80% !important;
|
175 |
-
padding: .2em 0 .5em .5em !important;
|
176 |
-
position: static !important;
|
177 |
-
}
|
178 |
-
|
179 |
-
.syntaxhighlighter .toolbar a.item,
|
180 |
-
.syntaxhighlighter .toolbar .item
|
181 |
-
{
|
182 |
-
display: block !important;
|
183 |
-
float: left !important;
|
184 |
-
margin-left: 8px !important;
|
185 |
-
background-repeat: no-repeat !important;
|
186 |
-
overflow: hidden !important;
|
187 |
-
text-indent: -5000px !important;
|
188 |
-
}
|
189 |
-
|
190 |
-
.syntaxhighlighter.collapsed .toolbar .item
|
191 |
-
{
|
192 |
-
display: none !important;
|
193 |
-
}
|
194 |
-
|
195 |
-
.syntaxhighlighter.collapsed .toolbar .item.expandSource
|
196 |
-
{
|
197 |
-
background-image: url(magnifier.png) !important;
|
198 |
-
display: inline !important;
|
199 |
-
text-indent: 0 !important;
|
200 |
-
width: auto !important;
|
201 |
-
float: none !important;
|
202 |
-
height: 16px !important;
|
203 |
-
padding-left: 20px !important;
|
204 |
-
}
|
205 |
-
|
206 |
-
.syntaxhighlighter .toolbar .item.viewSource
|
207 |
-
{
|
208 |
-
background-image: url(page_white_code.png) !important;
|
209 |
-
}
|
210 |
-
|
211 |
-
.syntaxhighlighter .toolbar .item.printSource
|
212 |
-
{
|
213 |
-
background-image: url(printer.png) !important;
|
214 |
-
}
|
215 |
-
|
216 |
-
.syntaxhighlighter .toolbar .item.copyToClipboard
|
217 |
-
{
|
218 |
-
text-indent: 0 !important;
|
219 |
-
background: none !important;
|
220 |
-
overflow: visible !important;
|
221 |
-
}
|
222 |
-
|
223 |
-
.syntaxhighlighter .toolbar .item.about
|
224 |
-
{
|
225 |
-
background-image: url(help.png) !important;
|
226 |
-
}
|
227 |
-
|
228 |
-
/**
|
229 |
-
* Print view.
|
230 |
-
* Colors are based on the default theme without background.
|
231 |
-
*/
|
232 |
-
|
233 |
-
.syntaxhighlighter.printing,
|
234 |
-
.syntaxhighlighter.printing .line.alt1 .content,
|
235 |
-
.syntaxhighlighter.printing .line.alt2 .content,
|
236 |
-
.syntaxhighlighter.printing .line.highlighted .number,
|
237 |
-
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
238 |
-
.syntaxhighlighter.printing .line.highlighted.alt2 .content,
|
239 |
-
{
|
240 |
-
background: none !important;
|
241 |
-
}
|
242 |
-
|
243 |
-
/* Gutter line numbers */
|
244 |
-
.syntaxhighlighter.printing .line .number
|
245 |
-
{
|
246 |
-
color: #bbb !important;
|
247 |
-
}
|
248 |
-
|
249 |
-
/* Add border to the lines */
|
250 |
-
.syntaxhighlighter.printing .line .content
|
251 |
-
{
|
252 |
-
color: #000 !important;
|
253 |
-
}
|
254 |
-
|
255 |
-
/* Toolbar when visible */
|
256 |
-
.syntaxhighlighter.printing .toolbar
|
257 |
-
{
|
258 |
-
display: none !important;
|
259 |
-
}
|
260 |
-
|
261 |
-
.syntaxhighlighter.printing a
|
262 |
-
{
|
263 |
-
text-decoration: none !important;
|
264 |
-
}
|
265 |
-
|
266 |
-
.syntaxhighlighter.printing .plain,
|
267 |
-
.syntaxhighlighter.printing .plain a
|
268 |
-
{
|
269 |
-
color: #000 !important;
|
270 |
-
}
|
271 |
-
|
272 |
-
.syntaxhighlighter.printing .comments,
|
273 |
-
.syntaxhighlighter.printing .comments a
|
274 |
-
{
|
275 |
-
color: #008200 !important;
|
276 |
-
}
|
277 |
-
|
278 |
-
.syntaxhighlighter.printing .string,
|
279 |
-
.syntaxhighlighter.printing .string a
|
280 |
-
{
|
281 |
-
color: blue !important;
|
282 |
-
}
|
283 |
-
|
284 |
-
.syntaxhighlighter.printing .keyword
|
285 |
-
{
|
286 |
-
color: #069 !important;
|
287 |
-
font-weight: bold !important;
|
288 |
-
}
|
289 |
-
|
290 |
-
.syntaxhighlighter.printing .preprocessor
|
291 |
-
{
|
292 |
-
color: gray !important;
|
293 |
-
}
|
294 |
-
|
295 |
-
.syntaxhighlighter.printing .variable
|
296 |
-
{
|
297 |
-
color: #a70 !important;
|
298 |
-
}
|
299 |
-
|
300 |
-
.syntaxhighlighter.printing .value
|
301 |
-
{
|
302 |
-
color: #090 !important;
|
303 |
-
}
|
304 |
-
|
305 |
-
.syntaxhighlighter.printing .functions
|
306 |
-
{
|
307 |
-
color: #ff1493 !important;
|
308 |
-
}
|
309 |
-
|
310 |
-
.syntaxhighlighter.printing .constants
|
311 |
-
{
|
312 |
-
color: #0066CC !important;
|
313 |
-
}
|
314 |
-
|
315 |
-
.syntaxhighlighter.printing .script
|
316 |
-
{
|
317 |
-
font-weight: bold !important;
|
318 |
-
}
|
319 |
-
|
320 |
-
.syntaxhighlighter.printing .color1,
|
321 |
-
.syntaxhighlighter.printing .color1 a
|
322 |
-
{
|
323 |
-
color: #808080 !important;
|
324 |
-
}
|
325 |
-
|
326 |
-
.syntaxhighlighter.printing .color2,
|
327 |
-
.syntaxhighlighter.printing .color2 a
|
328 |
-
{
|
329 |
-
color: #ff1493 !important;
|
330 |
-
}
|
331 |
-
|
332 |
-
.syntaxhighlighter.printing .color3,
|
333 |
-
.syntaxhighlighter.printing .color3 a
|
334 |
-
{
|
335 |
-
color: red !important;
|
336 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/styles/shThemeDefault.css
DELETED
@@ -1,177 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
/************************************
|
31 |
-
* Default Syntax Highlighter theme.
|
32 |
-
*
|
33 |
-
* Interface elements.
|
34 |
-
************************************/
|
35 |
-
|
36 |
-
.syntaxhighlighter
|
37 |
-
{
|
38 |
-
background-color: #fff !important;
|
39 |
-
border: 1px solid #E0E0E0 !important;
|
40 |
-
padding: 0 !important;
|
41 |
-
}
|
42 |
-
|
43 |
-
/* Highlighed line number */
|
44 |
-
.syntaxhighlighter .line.highlighted .number
|
45 |
-
{
|
46 |
-
color: black !important;
|
47 |
-
}
|
48 |
-
|
49 |
-
/* Highlighed line */
|
50 |
-
.syntaxhighlighter .line.highlighted.alt1,
|
51 |
-
.syntaxhighlighter .line.highlighted.alt2
|
52 |
-
{
|
53 |
-
background-color: #e0e0e0 !important;
|
54 |
-
}
|
55 |
-
|
56 |
-
/* Gutter line numbers */
|
57 |
-
.syntaxhighlighter .line .number
|
58 |
-
{
|
59 |
-
color: #afafaf !important;
|
60 |
-
}
|
61 |
-
|
62 |
-
/* Add border to the lines */
|
63 |
-
.syntaxhighlighter .line .content
|
64 |
-
{
|
65 |
-
border-left: 3px solid #6CE26C !important;
|
66 |
-
color: #000 !important;
|
67 |
-
}
|
68 |
-
|
69 |
-
.syntaxhighlighter.printing .line .content
|
70 |
-
{
|
71 |
-
border: 0 !important;
|
72 |
-
}
|
73 |
-
|
74 |
-
/* First line */
|
75 |
-
.syntaxhighlighter .line.alt1
|
76 |
-
{
|
77 |
-
background-color: #fff !important;
|
78 |
-
}
|
79 |
-
|
80 |
-
/* Second line */
|
81 |
-
.syntaxhighlighter .line.alt2
|
82 |
-
{
|
83 |
-
background-color: #F8F8F8 !important;
|
84 |
-
}
|
85 |
-
|
86 |
-
.syntaxhighlighter .toolbar
|
87 |
-
{
|
88 |
-
background-color: #F8F8F8 !important;
|
89 |
-
border: #E7E5DC solid 1px !important;
|
90 |
-
}
|
91 |
-
|
92 |
-
.syntaxhighlighter .toolbar a
|
93 |
-
{
|
94 |
-
color: #a0a0a0 !important;
|
95 |
-
}
|
96 |
-
|
97 |
-
.syntaxhighlighter .toolbar a:hover
|
98 |
-
{
|
99 |
-
color: red !important;
|
100 |
-
}
|
101 |
-
|
102 |
-
.nogutter { border: none !important; }
|
103 |
-
|
104 |
-
/************************************
|
105 |
-
* Actual syntax highlighter colors.
|
106 |
-
************************************/
|
107 |
-
.syntaxhighlighter .plain,
|
108 |
-
.syntaxhighlighter .plain a
|
109 |
-
{
|
110 |
-
color: #000 !important;
|
111 |
-
}
|
112 |
-
|
113 |
-
.syntaxhighlighter .comments,
|
114 |
-
.syntaxhighlighter .comments a
|
115 |
-
{
|
116 |
-
color: #008200 !important;
|
117 |
-
}
|
118 |
-
|
119 |
-
.syntaxhighlighter .string,
|
120 |
-
.syntaxhighlighter .string a
|
121 |
-
{
|
122 |
-
color: blue !important;
|
123 |
-
}
|
124 |
-
|
125 |
-
.syntaxhighlighter .keyword
|
126 |
-
{
|
127 |
-
color: #069 !important;
|
128 |
-
font-weight: bold !important;
|
129 |
-
}
|
130 |
-
|
131 |
-
.syntaxhighlighter .preprocessor
|
132 |
-
{
|
133 |
-
color: gray !important;
|
134 |
-
}
|
135 |
-
|
136 |
-
.syntaxhighlighter .variable
|
137 |
-
{
|
138 |
-
color: #a70 !important;
|
139 |
-
}
|
140 |
-
|
141 |
-
.syntaxhighlighter .value
|
142 |
-
{
|
143 |
-
color: #090 !important;
|
144 |
-
}
|
145 |
-
|
146 |
-
.syntaxhighlighter .functions
|
147 |
-
{
|
148 |
-
color: #ff1493 !important;
|
149 |
-
}
|
150 |
-
|
151 |
-
.syntaxhighlighter .constants
|
152 |
-
{
|
153 |
-
color: #0066CC !important;
|
154 |
-
}
|
155 |
-
|
156 |
-
.syntaxhighlighter .script
|
157 |
-
{
|
158 |
-
background-color: yellow !important;
|
159 |
-
}
|
160 |
-
|
161 |
-
.syntaxhighlighter .color1,
|
162 |
-
.syntaxhighlighter .color1 a
|
163 |
-
{
|
164 |
-
color: #808080 !important;
|
165 |
-
}
|
166 |
-
|
167 |
-
.syntaxhighlighter .color2,
|
168 |
-
.syntaxhighlighter .color2 a
|
169 |
-
{
|
170 |
-
color: #ff1493 !important;
|
171 |
-
}
|
172 |
-
|
173 |
-
.syntaxhighlighter .color3,
|
174 |
-
.syntaxhighlighter .color3 a
|
175 |
-
{
|
176 |
-
color: red !important;
|
177 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/styles/shThemeDjango.css
DELETED
@@ -1,176 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
/**
|
31 |
-
* Django SyntaxHighlighter theme
|
32 |
-
*/
|
33 |
-
|
34 |
-
/************************************
|
35 |
-
* Interface elements.
|
36 |
-
************************************/
|
37 |
-
|
38 |
-
.syntaxhighlighter
|
39 |
-
{
|
40 |
-
background-color: #0B2F20 !important;
|
41 |
-
}
|
42 |
-
|
43 |
-
/* Gutter line numbers */
|
44 |
-
.syntaxhighlighter .line .number
|
45 |
-
{
|
46 |
-
color: #497958 !important;
|
47 |
-
}
|
48 |
-
|
49 |
-
/* Add border to the lines */
|
50 |
-
.syntaxhighlighter .line .content
|
51 |
-
{
|
52 |
-
border-left: 3px solid #41A83E !important;
|
53 |
-
color: #B9BDB6 !important;
|
54 |
-
}
|
55 |
-
|
56 |
-
.syntaxhighlighter.printing .line .content
|
57 |
-
{
|
58 |
-
border: 0 !important;
|
59 |
-
}
|
60 |
-
|
61 |
-
/* First line */
|
62 |
-
.syntaxhighlighter .line.alt1
|
63 |
-
{
|
64 |
-
}
|
65 |
-
|
66 |
-
/* Second line */
|
67 |
-
.syntaxhighlighter .line.alt2
|
68 |
-
{
|
69 |
-
background-color: #0a2b1d !important;
|
70 |
-
}
|
71 |
-
|
72 |
-
/* Highlighed line number */
|
73 |
-
.syntaxhighlighter .line.highlighted .number
|
74 |
-
{
|
75 |
-
background-color: #336442 !important;
|
76 |
-
color: #fff !important;
|
77 |
-
}
|
78 |
-
|
79 |
-
/* Highlighed line */
|
80 |
-
.syntaxhighlighter .line.highlighted.alt1,
|
81 |
-
.syntaxhighlighter .line.highlighted.alt2
|
82 |
-
{
|
83 |
-
background-color: #336442 !important;
|
84 |
-
}
|
85 |
-
|
86 |
-
.syntaxhighlighter .toolbar
|
87 |
-
{
|
88 |
-
background-color: #245032 !important;
|
89 |
-
border: #0B2F20 solid 1px !important;
|
90 |
-
}
|
91 |
-
|
92 |
-
.syntaxhighlighter .toolbar a
|
93 |
-
{
|
94 |
-
color: #C4B14A !important;
|
95 |
-
}
|
96 |
-
|
97 |
-
.syntaxhighlighter .toolbar a:hover
|
98 |
-
{
|
99 |
-
color: #FFE862 !important;
|
100 |
-
}
|
101 |
-
|
102 |
-
/************************************
|
103 |
-
* Actual syntax highlighter colors.
|
104 |
-
************************************/
|
105 |
-
.syntaxhighlighter .plain,
|
106 |
-
.syntaxhighlighter .plain a
|
107 |
-
{
|
108 |
-
color: #F8F8F8 !important;
|
109 |
-
}
|
110 |
-
|
111 |
-
.syntaxhighlighter .comments,
|
112 |
-
.syntaxhighlighter .comments a
|
113 |
-
{
|
114 |
-
color: #336442 !important;
|
115 |
-
font-style: italic !important;
|
116 |
-
}
|
117 |
-
|
118 |
-
.syntaxhighlighter .string,
|
119 |
-
.syntaxhighlighter .string a
|
120 |
-
{
|
121 |
-
color: #9DF39F !important;
|
122 |
-
}
|
123 |
-
|
124 |
-
.syntaxhighlighter .keyword
|
125 |
-
{
|
126 |
-
color: #96DD3B !important;
|
127 |
-
font-weight: bold !important;
|
128 |
-
}
|
129 |
-
|
130 |
-
.syntaxhighlighter .preprocessor
|
131 |
-
{
|
132 |
-
color: #91BB9E !important;
|
133 |
-
}
|
134 |
-
|
135 |
-
.syntaxhighlighter .variable
|
136 |
-
{
|
137 |
-
color: #FFAA3E !important;
|
138 |
-
}
|
139 |
-
|
140 |
-
.syntaxhighlighter .value
|
141 |
-
{
|
142 |
-
color: #F7E741 !important;
|
143 |
-
}
|
144 |
-
|
145 |
-
.syntaxhighlighter .functions
|
146 |
-
{
|
147 |
-
color: #FFAA3E !important;
|
148 |
-
}
|
149 |
-
|
150 |
-
.syntaxhighlighter .constants
|
151 |
-
{
|
152 |
-
color: #E0E8FF !important;
|
153 |
-
}
|
154 |
-
|
155 |
-
.syntaxhighlighter .script
|
156 |
-
{
|
157 |
-
background-color: #497958 !important;
|
158 |
-
}
|
159 |
-
|
160 |
-
.syntaxhighlighter .color1,
|
161 |
-
.syntaxhighlighter .color1 a
|
162 |
-
{
|
163 |
-
color: #EB939A !important;
|
164 |
-
}
|
165 |
-
|
166 |
-
.syntaxhighlighter .color2,
|
167 |
-
.syntaxhighlighter .color2 a
|
168 |
-
{
|
169 |
-
color: #91BB9E !important;
|
170 |
-
}
|
171 |
-
|
172 |
-
.syntaxhighlighter .color3,
|
173 |
-
.syntaxhighlighter .color3 a
|
174 |
-
{
|
175 |
-
color: #EDEF7D !important;
|
176 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/styles/shThemeEclipse.css
DELETED
@@ -1,190 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
/**
|
31 |
-
* Eclipse IDE SyntaxHighlighter color theme
|
32 |
-
* (C) Code-House
|
33 |
-
* http://blog.code-house.org/2009/10/xml-i-adnotacje-kod-ogolnego-przeznaczenia-i-jpa/
|
34 |
-
*/
|
35 |
-
|
36 |
-
.syntaxhighlighter
|
37 |
-
{
|
38 |
-
background-color: #fff !important;
|
39 |
-
}
|
40 |
-
|
41 |
-
/* Highlighed line number */
|
42 |
-
.syntaxhighlighter .line.highlighted .number
|
43 |
-
{
|
44 |
-
background-color: #c3defe !important;
|
45 |
-
}
|
46 |
-
|
47 |
-
/* Highlighed line */
|
48 |
-
.syntaxhighlighter .line.highlighted.alt1,
|
49 |
-
.syntaxhighlighter .line.highlighted.alt2
|
50 |
-
{
|
51 |
-
background-color: #c3defe !important;
|
52 |
-
}
|
53 |
-
|
54 |
-
/* Gutter line numbers */
|
55 |
-
.syntaxhighlighter .line .number
|
56 |
-
{
|
57 |
-
color: #787878 !important;
|
58 |
-
background-color: #fff !important;
|
59 |
-
}
|
60 |
-
|
61 |
-
/* Add border to the lines */
|
62 |
-
.syntaxhighlighter .line .content
|
63 |
-
{
|
64 |
-
border-left: 1px solid #d4d0c8 !important;
|
65 |
-
color: #000 !important;
|
66 |
-
}
|
67 |
-
|
68 |
-
.syntaxhighlighter.printing .line .content
|
69 |
-
{
|
70 |
-
border: 0 !important;
|
71 |
-
}
|
72 |
-
|
73 |
-
/* First line */
|
74 |
-
.syntaxhighlighter .line.alt1
|
75 |
-
{
|
76 |
-
background-color: #fff !important;
|
77 |
-
}
|
78 |
-
|
79 |
-
/* Second line */
|
80 |
-
.syntaxhighlighter .line.alt2
|
81 |
-
{
|
82 |
-
background-color: #fff !important;
|
83 |
-
}
|
84 |
-
|
85 |
-
.syntaxhighlighter .toolbar
|
86 |
-
{
|
87 |
-
background-color: #F8F8F8 !important;
|
88 |
-
border: #E7E5DC solid 1px !important;
|
89 |
-
}
|
90 |
-
|
91 |
-
.syntaxhighlighter .toolbar a
|
92 |
-
{
|
93 |
-
color: #a0a0a0 !important;
|
94 |
-
}
|
95 |
-
|
96 |
-
.syntaxhighlighter .toolbar a:hover
|
97 |
-
{
|
98 |
-
color: red !important;
|
99 |
-
}
|
100 |
-
|
101 |
-
/************************************
|
102 |
-
* Actual syntax highlighter colors.
|
103 |
-
************************************/
|
104 |
-
.syntaxhighlighter .plain,
|
105 |
-
.syntaxhighlighter .plain a
|
106 |
-
{
|
107 |
-
color: #000 !important;
|
108 |
-
}
|
109 |
-
|
110 |
-
.syntaxhighlighter .comments,
|
111 |
-
.syntaxhighlighter .comments a
|
112 |
-
{
|
113 |
-
color: #3f5fbf !important;
|
114 |
-
}
|
115 |
-
|
116 |
-
.syntaxhighlighter .string,
|
117 |
-
.syntaxhighlighter .string a
|
118 |
-
{
|
119 |
-
color: #2a00ff !important;
|
120 |
-
}
|
121 |
-
|
122 |
-
.syntaxhighlighter .keyword
|
123 |
-
{
|
124 |
-
color: #7f0055 !important;
|
125 |
-
font-weight: bold !important;
|
126 |
-
}
|
127 |
-
|
128 |
-
.syntaxhighlighter .preprocessor
|
129 |
-
{
|
130 |
-
color: #646464 !important;
|
131 |
-
}
|
132 |
-
|
133 |
-
.syntaxhighlighter .variable
|
134 |
-
{
|
135 |
-
color: #a70 !important;
|
136 |
-
}
|
137 |
-
|
138 |
-
.syntaxhighlighter .value
|
139 |
-
{
|
140 |
-
color: #090 !important;
|
141 |
-
}
|
142 |
-
|
143 |
-
.syntaxhighlighter .functions
|
144 |
-
{
|
145 |
-
color: #ff1493 !important;
|
146 |
-
}
|
147 |
-
|
148 |
-
.syntaxhighlighter .constants
|
149 |
-
{
|
150 |
-
color: #0066CC !important;
|
151 |
-
}
|
152 |
-
|
153 |
-
.syntaxhighlighter .script
|
154 |
-
{
|
155 |
-
background-color: yellow !important;
|
156 |
-
}
|
157 |
-
|
158 |
-
.syntaxhighlighter .color1,
|
159 |
-
.syntaxhighlighter .color1 a
|
160 |
-
{
|
161 |
-
color: #808080 !important;
|
162 |
-
}
|
163 |
-
|
164 |
-
.syntaxhighlighter .color2,
|
165 |
-
.syntaxhighlighter .color2 a
|
166 |
-
{
|
167 |
-
color: #ff1493 !important;
|
168 |
-
}
|
169 |
-
|
170 |
-
.syntaxhighlighter .color3,
|
171 |
-
.syntaxhighlighter .color3 a
|
172 |
-
{
|
173 |
-
color: red !important;
|
174 |
-
}
|
175 |
-
|
176 |
-
|
177 |
-
.xml .keyword {
|
178 |
-
color: #3f7f7f !important;
|
179 |
-
font-weight: normal !important;
|
180 |
-
}
|
181 |
-
|
182 |
-
.xml .color1,
|
183 |
-
.xml .color1 a{
|
184 |
-
color: #7f007f !important;
|
185 |
-
}
|
186 |
-
|
187 |
-
.xml .string {
|
188 |
-
font-style: italic !important;
|
189 |
-
color: #2a00ff !important;
|
190 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/styles/shThemeEmacs.css
DELETED
@@ -1,175 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
/**
|
31 |
-
* Emacs SyntaxHighlighter theme based on theme by Joshua Emmons
|
32 |
-
* http://www.skia.net/
|
33 |
-
*/
|
34 |
-
|
35 |
-
/************************************
|
36 |
-
* Interface elements.
|
37 |
-
************************************/
|
38 |
-
|
39 |
-
.syntaxhighlighter
|
40 |
-
{
|
41 |
-
background-color: #000000 !important;
|
42 |
-
}
|
43 |
-
|
44 |
-
/* Gutter line numbers */
|
45 |
-
.syntaxhighlighter .line .number
|
46 |
-
{
|
47 |
-
color: #D3D3D3 !important;
|
48 |
-
}
|
49 |
-
|
50 |
-
/* Add border to the lines */
|
51 |
-
.syntaxhighlighter .line .content
|
52 |
-
{
|
53 |
-
border-left: 3px solid #990000 !important;
|
54 |
-
color: #B9BDB6 !important;
|
55 |
-
}
|
56 |
-
|
57 |
-
.syntaxhighlighter.printing .line .content
|
58 |
-
{
|
59 |
-
border: 0 !important;
|
60 |
-
}
|
61 |
-
|
62 |
-
/* First line */
|
63 |
-
.syntaxhighlighter .line.alt1
|
64 |
-
{
|
65 |
-
}
|
66 |
-
|
67 |
-
/* Second line */
|
68 |
-
.syntaxhighlighter .line.alt2
|
69 |
-
{
|
70 |
-
background-color: #0f0f0f !important;
|
71 |
-
}
|
72 |
-
|
73 |
-
/* Highlighed line number */
|
74 |
-
.syntaxhighlighter .line.highlighted .number
|
75 |
-
{
|
76 |
-
background-color: #435A5F !important;
|
77 |
-
color: #fff !important;
|
78 |
-
}
|
79 |
-
|
80 |
-
/* Highlighed line */
|
81 |
-
.syntaxhighlighter .line.highlighted.alt1,
|
82 |
-
.syntaxhighlighter .line.highlighted.alt2
|
83 |
-
{
|
84 |
-
background-color: #435A5F !important;
|
85 |
-
}
|
86 |
-
|
87 |
-
.syntaxhighlighter .toolbar
|
88 |
-
{
|
89 |
-
background-color: #000000 !important;
|
90 |
-
border: #000000 solid 1px !important;
|
91 |
-
}
|
92 |
-
|
93 |
-
.syntaxhighlighter .toolbar a
|
94 |
-
{
|
95 |
-
color: #646763 !important;
|
96 |
-
}
|
97 |
-
|
98 |
-
.syntaxhighlighter .toolbar a:hover
|
99 |
-
{
|
100 |
-
color: #9CCFF4 !important;
|
101 |
-
}
|
102 |
-
|
103 |
-
/************************************
|
104 |
-
* Actual syntax highlighter colors.
|
105 |
-
************************************/
|
106 |
-
.syntaxhighlighter .plain,
|
107 |
-
.syntaxhighlighter .plain a
|
108 |
-
{
|
109 |
-
color: #D3D3D3 !important;
|
110 |
-
}
|
111 |
-
|
112 |
-
.syntaxhighlighter .comments,
|
113 |
-
.syntaxhighlighter .comments a
|
114 |
-
{
|
115 |
-
color: #FF7D27 !important;
|
116 |
-
}
|
117 |
-
|
118 |
-
.syntaxhighlighter .string,
|
119 |
-
.syntaxhighlighter .string a
|
120 |
-
{
|
121 |
-
color: #FF9E7B !important;
|
122 |
-
}
|
123 |
-
|
124 |
-
.syntaxhighlighter .keyword
|
125 |
-
{
|
126 |
-
color: #00FFFF !important;
|
127 |
-
}
|
128 |
-
|
129 |
-
.syntaxhighlighter .preprocessor
|
130 |
-
{
|
131 |
-
color: #AEC4DE !important;
|
132 |
-
}
|
133 |
-
|
134 |
-
.syntaxhighlighter .variable
|
135 |
-
{
|
136 |
-
color: #FFAA3E !important;
|
137 |
-
}
|
138 |
-
|
139 |
-
.syntaxhighlighter .value
|
140 |
-
{
|
141 |
-
color: #090 !important;
|
142 |
-
}
|
143 |
-
|
144 |
-
.syntaxhighlighter .functions
|
145 |
-
{
|
146 |
-
color: #81CEF9 !important;
|
147 |
-
}
|
148 |
-
|
149 |
-
.syntaxhighlighter .constants
|
150 |
-
{
|
151 |
-
color: #FF9E7B !important;
|
152 |
-
}
|
153 |
-
|
154 |
-
.syntaxhighlighter .script
|
155 |
-
{
|
156 |
-
background-color: #990000 !important;
|
157 |
-
}
|
158 |
-
|
159 |
-
.syntaxhighlighter .color1,
|
160 |
-
.syntaxhighlighter .color1 a
|
161 |
-
{
|
162 |
-
color: #EBDB8D !important;
|
163 |
-
}
|
164 |
-
|
165 |
-
.syntaxhighlighter .color2,
|
166 |
-
.syntaxhighlighter .color2 a
|
167 |
-
{
|
168 |
-
color: #FF7D27 !important;
|
169 |
-
}
|
170 |
-
|
171 |
-
.syntaxhighlighter .color3,
|
172 |
-
.syntaxhighlighter .color3 a
|
173 |
-
{
|
174 |
-
color: #AEC4DE !important;
|
175 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/styles/shThemeFadeToGrey.css
DELETED
@@ -1,177 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
/**
|
31 |
-
* Fade to Grey SyntaxHighlighter theme based on theme by Brasten Sager
|
32 |
-
* http://www.ibrasten.com/
|
33 |
-
*/
|
34 |
-
|
35 |
-
/************************************
|
36 |
-
* Interface elements.
|
37 |
-
************************************/
|
38 |
-
|
39 |
-
.syntaxhighlighter
|
40 |
-
{
|
41 |
-
background-color: #121212 !important;
|
42 |
-
}
|
43 |
-
|
44 |
-
/* Gutter line numbers */
|
45 |
-
.syntaxhighlighter .line .number
|
46 |
-
{
|
47 |
-
color: #C3C3C3 !important;
|
48 |
-
}
|
49 |
-
|
50 |
-
/* Add border to the lines */
|
51 |
-
.syntaxhighlighter .line .content
|
52 |
-
{
|
53 |
-
border-left: 3px solid #3185B9 !important;
|
54 |
-
color: #B9BDB6 !important;
|
55 |
-
}
|
56 |
-
|
57 |
-
.syntaxhighlighter.printing .line .content
|
58 |
-
{
|
59 |
-
border: 0 !important;
|
60 |
-
}
|
61 |
-
|
62 |
-
/* First line */
|
63 |
-
.syntaxhighlighter .line.alt1
|
64 |
-
{
|
65 |
-
}
|
66 |
-
|
67 |
-
/* Second line */
|
68 |
-
.syntaxhighlighter .line.alt2
|
69 |
-
{
|
70 |
-
background-color: #000000 !important;
|
71 |
-
}
|
72 |
-
|
73 |
-
/* Highlighed line number */
|
74 |
-
.syntaxhighlighter .line.highlighted .number
|
75 |
-
{
|
76 |
-
background-color: #3A3A00 !important;
|
77 |
-
color: #fff !important;
|
78 |
-
}
|
79 |
-
|
80 |
-
/* Highlighed line */
|
81 |
-
.syntaxhighlighter .line.highlighted.alt1,
|
82 |
-
.syntaxhighlighter .line.highlighted.alt2
|
83 |
-
{
|
84 |
-
background-color: #3A3A00 !important;
|
85 |
-
}
|
86 |
-
|
87 |
-
.syntaxhighlighter .toolbar
|
88 |
-
{
|
89 |
-
background-color: #000000 !important;
|
90 |
-
border: #000000 solid 1px !important;
|
91 |
-
}
|
92 |
-
|
93 |
-
.syntaxhighlighter .toolbar a
|
94 |
-
{
|
95 |
-
color: #808080 !important;
|
96 |
-
}
|
97 |
-
|
98 |
-
.syntaxhighlighter .toolbar a:hover
|
99 |
-
{
|
100 |
-
color: #96DAFF !important;
|
101 |
-
}
|
102 |
-
|
103 |
-
/************************************
|
104 |
-
* Actual syntax highlighter colors.
|
105 |
-
************************************/
|
106 |
-
.syntaxhighlighter .plain,
|
107 |
-
.syntaxhighlighter .plain a
|
108 |
-
{
|
109 |
-
color: #FFFFFF !important;
|
110 |
-
}
|
111 |
-
|
112 |
-
.syntaxhighlighter .comments,
|
113 |
-
.syntaxhighlighter .comments a
|
114 |
-
{
|
115 |
-
color: #696854 !important;
|
116 |
-
}
|
117 |
-
|
118 |
-
.syntaxhighlighter .string,
|
119 |
-
.syntaxhighlighter .string a
|
120 |
-
{
|
121 |
-
color: #E3E658 !important;
|
122 |
-
}
|
123 |
-
|
124 |
-
.syntaxhighlighter .keyword
|
125 |
-
{
|
126 |
-
color: #D01D33 !important;
|
127 |
-
}
|
128 |
-
|
129 |
-
.syntaxhighlighter .preprocessor
|
130 |
-
{
|
131 |
-
color: #435A5F !important;
|
132 |
-
}
|
133 |
-
|
134 |
-
.syntaxhighlighter .variable
|
135 |
-
{
|
136 |
-
color: #898989 !important;
|
137 |
-
}
|
138 |
-
|
139 |
-
.syntaxhighlighter .value
|
140 |
-
{
|
141 |
-
color: #090 !important;
|
142 |
-
}
|
143 |
-
|
144 |
-
.syntaxhighlighter .functions
|
145 |
-
{
|
146 |
-
color: #AAAAAA !important;
|
147 |
-
font-weight: bold !important;
|
148 |
-
}
|
149 |
-
|
150 |
-
.syntaxhighlighter .constants
|
151 |
-
{
|
152 |
-
color: #96DAFF !important;
|
153 |
-
}
|
154 |
-
|
155 |
-
.syntaxhighlighter .script
|
156 |
-
{
|
157 |
-
background-color: #C3C3C3 !important;
|
158 |
-
color: #000 !important;
|
159 |
-
}
|
160 |
-
|
161 |
-
.syntaxhighlighter .color1,
|
162 |
-
.syntaxhighlighter .color1 a
|
163 |
-
{
|
164 |
-
color: #FFC074 !important;
|
165 |
-
}
|
166 |
-
|
167 |
-
.syntaxhighlighter .color2,
|
168 |
-
.syntaxhighlighter .color2 a
|
169 |
-
{
|
170 |
-
color: #4A8CDB !important;
|
171 |
-
}
|
172 |
-
|
173 |
-
.syntaxhighlighter .color3,
|
174 |
-
.syntaxhighlighter .color3 a
|
175 |
-
{
|
176 |
-
color: #96DAFF !important;
|
177 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/styles/shThemeMidnight.css
DELETED
@@ -1,175 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
/**
|
31 |
-
* Midnight SyntaxHighlighter theme based on theme by J.D. Myers
|
32 |
-
* http://webdesign.lsnjd.com/
|
33 |
-
*/
|
34 |
-
|
35 |
-
/************************************
|
36 |
-
* Interface elements.
|
37 |
-
************************************/
|
38 |
-
|
39 |
-
.syntaxhighlighter
|
40 |
-
{
|
41 |
-
background-color: #0F192A !important;
|
42 |
-
}
|
43 |
-
|
44 |
-
/* Gutter line numbers */
|
45 |
-
.syntaxhighlighter .line .number
|
46 |
-
{
|
47 |
-
color: #38566F !important;
|
48 |
-
}
|
49 |
-
|
50 |
-
/* Add border to the lines */
|
51 |
-
.syntaxhighlighter .line .content
|
52 |
-
{
|
53 |
-
border-left: 3px solid #435A5F !important;
|
54 |
-
color: #B9BDB6 !important;
|
55 |
-
}
|
56 |
-
|
57 |
-
.syntaxhighlighter.printing .line .content
|
58 |
-
{
|
59 |
-
border: 0 !important;
|
60 |
-
}
|
61 |
-
|
62 |
-
/* First line */
|
63 |
-
.syntaxhighlighter .line.alt1
|
64 |
-
{
|
65 |
-
background-color: #0F192A !important;
|
66 |
-
}
|
67 |
-
|
68 |
-
/* Second line */
|
69 |
-
.syntaxhighlighter .line.alt2
|
70 |
-
{
|
71 |
-
background-color: #0F192A !important;
|
72 |
-
}
|
73 |
-
|
74 |
-
/* Highlighed line number */
|
75 |
-
.syntaxhighlighter .line.highlighted .number
|
76 |
-
{
|
77 |
-
background-color: #253E5A !important;
|
78 |
-
color: #fff !important;
|
79 |
-
}
|
80 |
-
|
81 |
-
/* Highlighed line */
|
82 |
-
.syntaxhighlighter .line.highlighted.alt1,
|
83 |
-
.syntaxhighlighter .line.highlighted.alt2
|
84 |
-
{
|
85 |
-
background-color: #253E5A !important;
|
86 |
-
}
|
87 |
-
|
88 |
-
.syntaxhighlighter .toolbar
|
89 |
-
{
|
90 |
-
background-color: #0F192A !important;
|
91 |
-
}
|
92 |
-
|
93 |
-
.syntaxhighlighter .toolbar a
|
94 |
-
{
|
95 |
-
color: #38566F !important;
|
96 |
-
}
|
97 |
-
|
98 |
-
.syntaxhighlighter .toolbar a:hover
|
99 |
-
{
|
100 |
-
color: #8AA6C1 !important;
|
101 |
-
}
|
102 |
-
|
103 |
-
/************************************
|
104 |
-
* Actual syntax highlighter colors.
|
105 |
-
************************************/
|
106 |
-
.syntaxhighlighter .plain,
|
107 |
-
.syntaxhighlighter .plain a
|
108 |
-
{
|
109 |
-
color: #D1EDFF !important;
|
110 |
-
}
|
111 |
-
|
112 |
-
.syntaxhighlighter .comments,
|
113 |
-
.syntaxhighlighter .comments a
|
114 |
-
{
|
115 |
-
color: #428BDD !important;
|
116 |
-
}
|
117 |
-
|
118 |
-
.syntaxhighlighter .string,
|
119 |
-
.syntaxhighlighter .string a
|
120 |
-
{
|
121 |
-
color: #1DC116 !important;
|
122 |
-
}
|
123 |
-
|
124 |
-
.syntaxhighlighter .keyword
|
125 |
-
{
|
126 |
-
color: #B43D3D !important;
|
127 |
-
}
|
128 |
-
|
129 |
-
.syntaxhighlighter .preprocessor
|
130 |
-
{
|
131 |
-
color: #8AA6C1 !important;
|
132 |
-
}
|
133 |
-
|
134 |
-
.syntaxhighlighter .variable
|
135 |
-
{
|
136 |
-
color: #FFAA3E !important;
|
137 |
-
}
|
138 |
-
|
139 |
-
.syntaxhighlighter .value
|
140 |
-
{
|
141 |
-
color: #F7E741 !important;
|
142 |
-
}
|
143 |
-
|
144 |
-
.syntaxhighlighter .functions
|
145 |
-
{
|
146 |
-
color: #FFAA3E !important;
|
147 |
-
}
|
148 |
-
|
149 |
-
.syntaxhighlighter .constants
|
150 |
-
{
|
151 |
-
color: #E0E8FF !important;
|
152 |
-
}
|
153 |
-
|
154 |
-
.syntaxhighlighter .script
|
155 |
-
{
|
156 |
-
background-color: #404040 !important;
|
157 |
-
}
|
158 |
-
|
159 |
-
.syntaxhighlighter .color1,
|
160 |
-
.syntaxhighlighter .color1 a
|
161 |
-
{
|
162 |
-
color: #F8BB00 !important;
|
163 |
-
}
|
164 |
-
|
165 |
-
.syntaxhighlighter .color2,
|
166 |
-
.syntaxhighlighter .color2 a
|
167 |
-
{
|
168 |
-
color: #FFFFFF !important;
|
169 |
-
}
|
170 |
-
|
171 |
-
.syntaxhighlighter .color3,
|
172 |
-
.syntaxhighlighter .color3 a
|
173 |
-
{
|
174 |
-
color: #FFAA3E !important;
|
175 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/styles/shThemeRDark.css
DELETED
@@ -1,175 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SyntaxHighlighter
|
3 |
-
* http://alexgorbatchev.com/
|
4 |
-
*
|
5 |
-
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
-
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
-
*
|
8 |
-
* @version
|
9 |
-
* 2.1.364 (October 15 2009)
|
10 |
-
*
|
11 |
-
* @copyright
|
12 |
-
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
-
*
|
14 |
-
* @license
|
15 |
-
* This file is part of SyntaxHighlighter.
|
16 |
-
*
|
17 |
-
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
-
* it under the terms of the GNU Lesser General Public License as published by
|
19 |
-
* the Free Software Foundation, either version 3 of the License, or
|
20 |
-
* (at your option) any later version.
|
21 |
-
*
|
22 |
-
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
* GNU General Public License for more details.
|
26 |
-
*
|
27 |
-
* You should have received a copy of the GNU General Public License
|
28 |
-
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
29 |
-
*/
|
30 |
-
/**
|
31 |
-
* RDark SyntaxHighlighter theme based on theme by Radu Dineiu
|
32 |
-
* http://www.vim.org/scripts/script.php?script_id=1732
|
33 |
-
*/
|
34 |
-
|
35 |
-
/************************************
|
36 |
-
* Interface elements.
|
37 |
-
************************************/
|
38 |
-
|
39 |
-
.syntaxhighlighter
|
40 |
-
{
|
41 |
-
background-color: #1B2426 !important;
|
42 |
-
}
|
43 |
-
|
44 |
-
/* Gutter line numbers */
|
45 |
-
.syntaxhighlighter .line .number
|
46 |
-
{
|
47 |
-
color: #B9BDB6 !important;
|
48 |
-
}
|
49 |
-
|
50 |
-
/* Add border to the lines */
|
51 |
-
.syntaxhighlighter .line .content
|
52 |
-
{
|
53 |
-
border-left: 3px solid #435A5F !important;
|
54 |
-
color: #B9BDB6 !important;
|
55 |
-
}
|
56 |
-
|
57 |
-
.syntaxhighlighter.printing .line .content
|
58 |
-
{
|
59 |
-
border: 0 !important;
|
60 |
-
}
|
61 |
-
|
62 |
-
/* First line */
|
63 |
-
.syntaxhighlighter .line.alt1
|
64 |
-
{
|
65 |
-
background-color: #1B2426 !important;
|
66 |
-
}
|
67 |
-
|
68 |
-
/* Second line */
|
69 |
-
.syntaxhighlighter .line.alt2
|
70 |
-
{
|
71 |
-
background-color: #1B2426 !important;
|
72 |
-
}
|
73 |
-
|
74 |
-
/* Highlighed line number */
|
75 |
-
.syntaxhighlighter .line.highlighted .number
|
76 |
-
{
|
77 |
-
background-color: #435A5F !important;
|
78 |
-
color: #fff !important;
|
79 |
-
}
|
80 |
-
|
81 |
-
/* Highlighed line */
|
82 |
-
.syntaxhighlighter .line.highlighted.alt1,
|
83 |
-
.syntaxhighlighter .line.highlighted.alt2
|
84 |
-
{
|
85 |
-
background-color: #435A5F !important;
|
86 |
-
}
|
87 |
-
|
88 |
-
.syntaxhighlighter .toolbar
|
89 |
-
{
|
90 |
-
background-color: #1B2426 !important;
|
91 |
-
}
|
92 |
-
|
93 |
-
.syntaxhighlighter .toolbar a
|
94 |
-
{
|
95 |
-
color: #646763 !important;
|
96 |
-
}
|
97 |
-
|
98 |
-
.syntaxhighlighter .toolbar a:hover
|
99 |
-
{
|
100 |
-
color: #E0E8FF !important;
|
101 |
-
}
|
102 |
-
|
103 |
-
/************************************
|
104 |
-
* Actual syntax highlighter colors.
|
105 |
-
************************************/
|
106 |
-
.syntaxhighlighter .plain,
|
107 |
-
.syntaxhighlighter .plain a
|
108 |
-
{
|
109 |
-
color: #B9BDB6 !important;
|
110 |
-
}
|
111 |
-
|
112 |
-
.syntaxhighlighter .comments,
|
113 |
-
.syntaxhighlighter .comments a
|
114 |
-
{
|
115 |
-
color: #878A85 !important;
|
116 |
-
}
|
117 |
-
|
118 |
-
.syntaxhighlighter .string,
|
119 |
-
.syntaxhighlighter .string a
|
120 |
-
{
|
121 |
-
color: #5CE638 !important;
|
122 |
-
}
|
123 |
-
|
124 |
-
.syntaxhighlighter .keyword
|
125 |
-
{
|
126 |
-
color: #5BA1CF !important;
|
127 |
-
}
|
128 |
-
|
129 |
-
.syntaxhighlighter .preprocessor
|
130 |
-
{
|
131 |
-
color: #435A5F !important;
|
132 |
-
}
|
133 |
-
|
134 |
-
.syntaxhighlighter .variable
|
135 |
-
{
|
136 |
-
color: #FFAA3E !important;
|
137 |
-
}
|
138 |
-
|
139 |
-
.syntaxhighlighter .value
|
140 |
-
{
|
141 |
-
color: #090 !important;
|
142 |
-
}
|
143 |
-
|
144 |
-
.syntaxhighlighter .functions
|
145 |
-
{
|
146 |
-
color: #FFAA3E !important;
|
147 |
-
}
|
148 |
-
|
149 |
-
.syntaxhighlighter .constants
|
150 |
-
{
|
151 |
-
color: #E0E8FF !important;
|
152 |
-
}
|
153 |
-
|
154 |
-
.syntaxhighlighter .script
|
155 |
-
{
|
156 |
-
background-color: #435A5F !important;
|
157 |
-
}
|
158 |
-
|
159 |
-
.syntaxhighlighter .color1,
|
160 |
-
.syntaxhighlighter .color1 a
|
161 |
-
{
|
162 |
-
color: #E0E8FF !important;
|
163 |
-
}
|
164 |
-
|
165 |
-
.syntaxhighlighter .color2,
|
166 |
-
.syntaxhighlighter .color2 a
|
167 |
-
{
|
168 |
-
color: #FFFFFF !important;
|
169 |
-
}
|
170 |
-
|
171 |
-
.syntaxhighlighter .color3,
|
172 |
-
.syntaxhighlighter .color3 a
|
173 |
-
{
|
174 |
-
color: #FFAA3E !important;
|
175 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
syntaxhighlighter/LGPLv3.txt → syntaxhighlighter3/LGPL-LICENSE
RENAMED
@@ -1,165 +1,165 @@
|
|
1 |
-
GNU LESSER GENERAL PUBLIC LICENSE
|
2 |
-
Version 3, 29 June 2007
|
3 |
-
|
4 |
-
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
5 |
-
Everyone is permitted to copy and distribute verbatim copies
|
6 |
-
of this license document, but changing it is not allowed.
|
7 |
-
|
8 |
-
|
9 |
-
This version of the GNU Lesser General Public License incorporates
|
10 |
-
the terms and conditions of version 3 of the GNU General Public
|
11 |
-
License, supplemented by the additional permissions listed below.
|
12 |
-
|
13 |
-
0. Additional Definitions.
|
14 |
-
|
15 |
-
As used herein, "this License" refers to version 3 of the GNU Lesser
|
16 |
-
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
17 |
-
General Public License.
|
18 |
-
|
19 |
-
"The Library" refers to a covered work governed by this License,
|
20 |
-
other than an Application or a Combined Work as defined below.
|
21 |
-
|
22 |
-
An "Application" is any work that makes use of an interface provided
|
23 |
-
by the Library, but which is not otherwise based on the Library.
|
24 |
-
Defining a subclass of a class defined by the Library is deemed a mode
|
25 |
-
of using an interface provided by the Library.
|
26 |
-
|
27 |
-
A "Combined Work" is a work produced by combining or linking an
|
28 |
-
Application with the Library. The particular version of the Library
|
29 |
-
with which the Combined Work was made is also called the "Linked
|
30 |
-
Version".
|
31 |
-
|
32 |
-
The "Minimal Corresponding Source" for a Combined Work means the
|
33 |
-
Corresponding Source for the Combined Work, excluding any source code
|
34 |
-
for portions of the Combined Work that, considered in isolation, are
|
35 |
-
based on the Application, and not on the Linked Version.
|
36 |
-
|
37 |
-
The "Corresponding Application Code" for a Combined Work means the
|
38 |
-
object code and/or source code for the Application, including any data
|
39 |
-
and utility programs needed for reproducing the Combined Work from the
|
40 |
-
Application, but excluding the System Libraries of the Combined Work.
|
41 |
-
|
42 |
-
1. Exception to Section 3 of the GNU GPL.
|
43 |
-
|
44 |
-
You may convey a covered work under sections 3 and 4 of this License
|
45 |
-
without being bound by section 3 of the GNU GPL.
|
46 |
-
|
47 |
-
2. Conveying Modified Versions.
|
48 |
-
|
49 |
-
If you modify a copy of the Library, and, in your modifications, a
|
50 |
-
facility refers to a function or data to be supplied by an Application
|
51 |
-
that uses the facility (other than as an argument passed when the
|
52 |
-
facility is invoked), then you may convey a copy of the modified
|
53 |
-
version:
|
54 |
-
|
55 |
-
a) under this License, provided that you make a good faith effort to
|
56 |
-
ensure that, in the event an Application does not supply the
|
57 |
-
function or data, the facility still operates, and performs
|
58 |
-
whatever part of its purpose remains meaningful, or
|
59 |
-
|
60 |
-
b) under the GNU GPL, with none of the additional permissions of
|
61 |
-
this License applicable to that copy.
|
62 |
-
|
63 |
-
3. Object Code Incorporating Material from Library Header Files.
|
64 |
-
|
65 |
-
The object code form of an Application may incorporate material from
|
66 |
-
a header file that is part of the Library. You may convey such object
|
67 |
-
code under terms of your choice, provided that, if the incorporated
|
68 |
-
material is not limited to numerical parameters, data structure
|
69 |
-
layouts and accessors, or small macros, inline functions and templates
|
70 |
-
(ten or fewer lines in length), you do both of the following:
|
71 |
-
|
72 |
-
a) Give prominent notice with each copy of the object code that the
|
73 |
-
Library is used in it and that the Library and its use are
|
74 |
-
covered by this License.
|
75 |
-
|
76 |
-
b) Accompany the object code with a copy of the GNU GPL and this license
|
77 |
-
document.
|
78 |
-
|
79 |
-
4. Combined Works.
|
80 |
-
|
81 |
-
You may convey a Combined Work under terms of your choice that,
|
82 |
-
taken together, effectively do not restrict modification of the
|
83 |
-
portions of the Library contained in the Combined Work and reverse
|
84 |
-
engineering for debugging such modifications, if you also do each of
|
85 |
-
the following:
|
86 |
-
|
87 |
-
a) Give prominent notice with each copy of the Combined Work that
|
88 |
-
the Library is used in it and that the Library and its use are
|
89 |
-
covered by this License.
|
90 |
-
|
91 |
-
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
92 |
-
document.
|
93 |
-
|
94 |
-
c) For a Combined Work that displays copyright notices during
|
95 |
-
execution, include the copyright notice for the Library among
|
96 |
-
these notices, as well as a reference directing the user to the
|
97 |
-
copies of the GNU GPL and this license document.
|
98 |
-
|
99 |
-
d) Do one of the following:
|
100 |
-
|
101 |
-
0) Convey the Minimal Corresponding Source under the terms of this
|
102 |
-
License, and the Corresponding Application Code in a form
|
103 |
-
suitable for, and under terms that permit, the user to
|
104 |
-
recombine or relink the Application with a modified version of
|
105 |
-
the Linked Version to produce a modified Combined Work, in the
|
106 |
-
manner specified by section 6 of the GNU GPL for conveying
|
107 |
-
Corresponding Source.
|
108 |
-
|
109 |
-
1) Use a suitable shared library mechanism for linking with the
|
110 |
-
Library. A suitable mechanism is one that (a) uses at run time
|
111 |
-
a copy of the Library already present on the user's computer
|
112 |
-
system, and (b) will operate properly with a modified version
|
113 |
-
of the Library that is interface-compatible with the Linked
|
114 |
-
Version.
|
115 |
-
|
116 |
-
e) Provide Installation Information, but only if you would otherwise
|
117 |
-
be required to provide such information under section 6 of the
|
118 |
-
GNU GPL, and only to the extent that such information is
|
119 |
-
necessary to install and execute a modified version of the
|
120 |
-
Combined Work produced by recombining or relinking the
|
121 |
-
Application with a modified version of the Linked Version. (If
|
122 |
-
you use option 4d0, the Installation Information must accompany
|
123 |
-
the Minimal Corresponding Source and Corresponding Application
|
124 |
-
Code. If you use option 4d1, you must provide the Installation
|
125 |
-
Information in the manner specified by section 6 of the GNU GPL
|
126 |
-
for conveying Corresponding Source.)
|
127 |
-
|
128 |
-
5. Combined Libraries.
|
129 |
-
|
130 |
-
You may place library facilities that are a work based on the
|
131 |
-
Library side by side in a single library together with other library
|
132 |
-
facilities that are not Applications and are not covered by this
|
133 |
-
License, and convey such a combined library under terms of your
|
134 |
-
choice, if you do both of the following:
|
135 |
-
|
136 |
-
a) Accompany the combined library with a copy of the same work based
|
137 |
-
on the Library, uncombined with any other library facilities,
|
138 |
-
conveyed under the terms of this License.
|
139 |
-
|
140 |
-
b) Give prominent notice with the combined library that part of it
|
141 |
-
is a work based on the Library, and explaining where to find the
|
142 |
-
accompanying uncombined form of the same work.
|
143 |
-
|
144 |
-
6. Revised Versions of the GNU Lesser General Public License.
|
145 |
-
|
146 |
-
The Free Software Foundation may publish revised and/or new versions
|
147 |
-
of the GNU Lesser General Public License from time to time. Such new
|
148 |
-
versions will be similar in spirit to the present version, but may
|
149 |
-
differ in detail to address new problems or concerns.
|
150 |
-
|
151 |
-
Each version is given a distinguishing version number. If the
|
152 |
-
Library as you received it specifies that a certain numbered version
|
153 |
-
of the GNU Lesser General Public License "or any later version"
|
154 |
-
applies to it, you have the option of following the terms and
|
155 |
-
conditions either of that published version or of any later version
|
156 |
-
published by the Free Software Foundation. If the Library as you
|
157 |
-
received it does not specify a version number of the GNU Lesser
|
158 |
-
General Public License, you may choose any version of the GNU Lesser
|
159 |
-
General Public License ever published by the Free Software Foundation.
|
160 |
-
|
161 |
-
If the Library as you received it specifies that a proxy can decide
|
162 |
-
whether future versions of the GNU Lesser General Public License shall
|
163 |
-
apply, that proxy's public statement of acceptance of any version is
|
164 |
-
permanent authorization for you to choose that version for the
|
165 |
Library.
|
1 |
+
GNU LESSER GENERAL PUBLIC LICENSE
|
2 |
+
Version 3, 29 June 2007
|
3 |
+
|
4 |
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
5 |
+
Everyone is permitted to copy and distribute verbatim copies
|
6 |
+
of this license document, but changing it is not allowed.
|
7 |
+
|
8 |
+
|
9 |
+
This version of the GNU Lesser General Public License incorporates
|
10 |
+
the terms and conditions of version 3 of the GNU General Public
|
11 |
+
License, supplemented by the additional permissions listed below.
|
12 |
+
|
13 |
+
0. Additional Definitions.
|
14 |
+
|
15 |
+
As used herein, "this License" refers to version 3 of the GNU Lesser
|
16 |
+
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
17 |
+
General Public License.
|
18 |
+
|
19 |
+
"The Library" refers to a covered work governed by this License,
|
20 |
+
other than an Application or a Combined Work as defined below.
|
21 |
+
|
22 |
+
An "Application" is any work that makes use of an interface provided
|
23 |
+
by the Library, but which is not otherwise based on the Library.
|
24 |
+
Defining a subclass of a class defined by the Library is deemed a mode
|
25 |
+
of using an interface provided by the Library.
|
26 |
+
|
27 |
+
A "Combined Work" is a work produced by combining or linking an
|
28 |
+
Application with the Library. The particular version of the Library
|
29 |
+
with which the Combined Work was made is also called the "Linked
|
30 |
+
Version".
|
31 |
+
|
32 |
+
The "Minimal Corresponding Source" for a Combined Work means the
|
33 |
+
Corresponding Source for the Combined Work, excluding any source code
|
34 |
+
for portions of the Combined Work that, considered in isolation, are
|
35 |
+
based on the Application, and not on the Linked Version.
|
36 |
+
|
37 |
+
The "Corresponding Application Code" for a Combined Work means the
|
38 |
+
object code and/or source code for the Application, including any data
|
39 |
+
and utility programs needed for reproducing the Combined Work from the
|
40 |
+
Application, but excluding the System Libraries of the Combined Work.
|
41 |
+
|
42 |
+
1. Exception to Section 3 of the GNU GPL.
|
43 |
+
|
44 |
+
You may convey a covered work under sections 3 and 4 of this License
|
45 |
+
without being bound by section 3 of the GNU GPL.
|
46 |
+
|
47 |
+
2. Conveying Modified Versions.
|
48 |
+
|
49 |
+
If you modify a copy of the Library, and, in your modifications, a
|
50 |
+
facility refers to a function or data to be supplied by an Application
|
51 |
+
that uses the facility (other than as an argument passed when the
|
52 |
+
facility is invoked), then you may convey a copy of the modified
|
53 |
+
version:
|
54 |
+
|
55 |
+
a) under this License, provided that you make a good faith effort to
|
56 |
+
ensure that, in the event an Application does not supply the
|
57 |
+
function or data, the facility still operates, and performs
|
58 |
+
whatever part of its purpose remains meaningful, or
|
59 |
+
|
60 |
+
b) under the GNU GPL, with none of the additional permissions of
|
61 |
+
this License applicable to that copy.
|
62 |
+
|
63 |
+
3. Object Code Incorporating Material from Library Header Files.
|
64 |
+
|
65 |
+
The object code form of an Application may incorporate material from
|
66 |
+
a header file that is part of the Library. You may convey such object
|
67 |
+
code under terms of your choice, provided that, if the incorporated
|
68 |
+
material is not limited to numerical parameters, data structure
|
69 |
+
layouts and accessors, or small macros, inline functions and templates
|
70 |
+
(ten or fewer lines in length), you do both of the following:
|
71 |
+
|
72 |
+
a) Give prominent notice with each copy of the object code that the
|
73 |
+
Library is used in it and that the Library and its use are
|
74 |
+
covered by this License.
|
75 |
+
|
76 |
+
b) Accompany the object code with a copy of the GNU GPL and this license
|
77 |
+
document.
|
78 |
+
|
79 |
+
4. Combined Works.
|
80 |
+
|
81 |
+
You may convey a Combined Work under terms of your choice that,
|
82 |
+
taken together, effectively do not restrict modification of the
|
83 |
+
portions of the Library contained in the Combined Work and reverse
|
84 |
+
engineering for debugging such modifications, if you also do each of
|
85 |
+
the following:
|
86 |
+
|
87 |
+
a) Give prominent notice with each copy of the Combined Work that
|
88 |
+
the Library is used in it and that the Library and its use are
|
89 |
+
covered by this License.
|
90 |
+
|
91 |
+
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
92 |
+
document.
|
93 |
+
|
94 |
+
c) For a Combined Work that displays copyright notices during
|
95 |
+
execution, include the copyright notice for the Library among
|
96 |
+
these notices, as well as a reference directing the user to the
|
97 |
+
copies of the GNU GPL and this license document.
|
98 |
+
|
99 |
+
d) Do one of the following:
|
100 |
+
|
101 |
+
0) Convey the Minimal Corresponding Source under the terms of this
|
102 |
+
License, and the Corresponding Application Code in a form
|
103 |
+
suitable for, and under terms that permit, the user to
|
104 |
+
recombine or relink the Application with a modified version of
|
105 |
+
the Linked Version to produce a modified Combined Work, in the
|
106 |
+
manner specified by section 6 of the GNU GPL for conveying
|
107 |
+
Corresponding Source.
|
108 |
+
|
109 |
+
1) Use a suitable shared library mechanism for linking with the
|
110 |
+
Library. A suitable mechanism is one that (a) uses at run time
|
111 |
+
a copy of the Library already present on the user's computer
|
112 |
+
system, and (b) will operate properly with a modified version
|
113 |
+
of the Library that is interface-compatible with the Linked
|
114 |
+
Version.
|
115 |
+
|
116 |
+
e) Provide Installation Information, but only if you would otherwise
|
117 |
+
be required to provide such information under section 6 of the
|
118 |
+
GNU GPL, and only to the extent that such information is
|
119 |
+
necessary to install and execute a modified version of the
|
120 |
+
Combined Work produced by recombining or relinking the
|
121 |
+
Application with a modified version of the Linked Version. (If
|
122 |
+
you use option 4d0, the Installation Information must accompany
|
123 |
+
the Minimal Corresponding Source and Corresponding Application
|
124 |
+
Code. If you use option 4d1, you must provide the Installation
|
125 |
+
Information in the manner specified by section 6 of the GNU GPL
|
126 |
+
for conveying Corresponding Source.)
|
127 |
+
|
128 |
+
5. Combined Libraries.
|
129 |
+
|
130 |
+
You may place library facilities that are a work based on the
|
131 |
+
Library side by side in a single library together with other library
|
132 |
+
facilities that are not Applications and are not covered by this
|
133 |
+
License, and convey such a combined library under terms of your
|
134 |
+
choice, if you do both of the following:
|
135 |
+
|
136 |
+
a) Accompany the combined library with a copy of the same work based
|
137 |
+
on the Library, uncombined with any other library facilities,
|
138 |
+
conveyed under the terms of this License.
|
139 |
+
|
140 |
+
b) Give prominent notice with the combined library that part of it
|
141 |
+
is a work based on the Library, and explaining where to find the
|
142 |
+
accompanying uncombined form of the same work.
|
143 |
+
|
144 |
+
6. Revised Versions of the GNU Lesser General Public License.
|
145 |
+
|
146 |
+
The Free Software Foundation may publish revised and/or new versions
|
147 |
+
of the GNU Lesser General Public License from time to time. Such new
|
148 |
+
versions will be similar in spirit to the present version, but may
|
149 |
+
differ in detail to address new problems or concerns.
|
150 |
+
|
151 |
+
Each version is given a distinguishing version number. If the
|
152 |
+
Library as you received it specifies that a certain numbered version
|
153 |
+
of the GNU Lesser General Public License "or any later version"
|
154 |
+
applies to it, you have the option of following the terms and
|
155 |
+
conditions either of that published version or of any later version
|
156 |
+
published by the Free Software Foundation. If the Library as you
|
157 |
+
received it does not specify a version number of the GNU Lesser
|
158 |
+
General Public License, you may choose any version of the GNU Lesser
|
159 |
+
General Public License ever published by the Free Software Foundation.
|
160 |
+
|
161 |
+
If the Library as you received it specifies that a proxy can decide
|
162 |
+
whether future versions of the GNU Lesser General Public License shall
|
163 |
+
apply, that proxy's public statement of acceptance of any version is
|
164 |
+
permanent authorization for you to choose that version for the
|
165 |
Library.
|
syntaxhighlighter3/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Copyright (c) 2003, 2004 Jim Weirich
|
2 |
+
|
3 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
4 |
+
a copy of this software and associated documentation files (the
|
5 |
+
"Software"), to deal in the Software without restriction, including
|
6 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
7 |
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8 |
+
permit persons to whom the Software is furnished to do so, subject to
|
9 |
+
the following conditions:
|
10 |
+
|
11 |
+
The above copyright notice and this permission notice shall be
|
12 |
+
included in all copies or substantial portions of the Software.
|
13 |
+
|
14 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17 |
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18 |
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19 |
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20 |
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
syntaxhighlighter3/scripts/shAutoloader.js
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(2(){1 h=5;h.I=2(){2 n(c,a){4(1 d=0;d<c.9;d++)i[c[d]]=a}2 o(c){1 a=r.H("J"),d=3;a.K=c;a.M="L/t";a.G="t";a.u=a.v=2(){6(!d&&(!8.7||8.7=="F"||8.7=="z")){d=q;e[c]=q;a:{4(1 p y e)6(e[p]==3)B a;j&&5.C(k)}a.u=a.v=x;a.D.O(a)}};r.N.R(a)}1 f=Q,l=h.P(),i={},e={},j=3,k=x,b;5.T=2(c){k=c;j=q};4(b=0;b<f.9;b++){1 m=f[b].w?f[b]:f[b].S(/\\s+/),g=m.w();n(m,g)}4(b=0;b<l.9;b++)6(g=i[l[b].E.A]){e[g]=3;o(g)}}})();',56,56,'|var|function|false|for|SyntaxHighlighter|if|readyState|this|length|||||||||||||||||true|document||javascript|onload|onreadystatechange|pop|null|in|complete|brush|break|highlight|parentNode|params|loaded|language|createElement|autoloader|script|src|text|type|body|removeChild|findElements|arguments|appendChild|split|all'.split('|'),0,{}))
|
syntaxhighlighter3/scripts/shBrushAS3.js
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Created by Peter Atoria @ http://iAtoria.com
|
25 |
+
|
26 |
+
var inits = 'class interface function package';
|
27 |
+
|
28 |
+
var keywords = '-Infinity ...rest Array as AS3 Boolean break case catch const continue Date decodeURI ' +
|
29 |
+
'decodeURIComponent default delete do dynamic each else encodeURI encodeURIComponent escape ' +
|
30 |
+
'extends false final finally flash_proxy for get if implements import in include Infinity ' +
|
31 |
+
'instanceof int internal is isFinite isNaN isXMLName label namespace NaN native new null ' +
|
32 |
+
'Null Number Object object_proxy override parseFloat parseInt private protected public ' +
|
33 |
+
'return set static String super switch this throw true try typeof uint undefined unescape ' +
|
34 |
+
'use void while with'
|
35 |
+
;
|
36 |
+
|
37 |
+
this.regexList = [
|
38 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
39 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
40 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
41 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
42 |
+
{ regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers
|
43 |
+
{ regex: new RegExp(this.getKeywords(inits), 'gm'), css: 'color3' }, // initializations
|
44 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
45 |
+
{ regex: new RegExp('var', 'gm'), css: 'variable' }, // variable
|
46 |
+
{ regex: new RegExp('trace', 'gm'), css: 'color1' } // trace
|
47 |
+
];
|
48 |
+
|
49 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags);
|
50 |
+
};
|
51 |
+
|
52 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
53 |
+
Brush.aliases = ['actionscript3', 'as3'];
|
54 |
+
|
55 |
+
SyntaxHighlighter.brushes.AS3 = Brush;
|
56 |
+
|
57 |
+
// CommonJS
|
58 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
59 |
+
})();
|
syntaxhighlighter3/scripts/shBrushAppleScript.js
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// AppleScript brush by David Chambers
|
25 |
+
// http://davidchambersdesign.com/
|
26 |
+
var keywords = 'after before beginning continue copy each end every from return get global in local named of set some that the then times to where whose with without';
|
27 |
+
var ordinals = 'first second third fourth fifth sixth seventh eighth ninth tenth last front back middle';
|
28 |
+
var specials = 'activate add alias AppleScript ask attachment boolean class constant delete duplicate empty exists false id integer list make message modal modified new no paragraph pi properties quit real record remove rest result reveal reverse run running save string true word yes';
|
29 |
+
|
30 |
+
this.regexList = [
|
31 |
+
|
32 |
+
{ regex: /(--|#).*$/gm,
|
33 |
+
css: 'comments' },
|
34 |
+
|
35 |
+
{ regex: /\(\*(?:[\s\S]*?\(\*[\s\S]*?\*\))*[\s\S]*?\*\)/gm, // support nested comments
|
36 |
+
css: 'comments' },
|
37 |
+
|
38 |
+
{ regex: /"[\s\S]*?"/gm,
|
39 |
+
css: 'string' },
|
40 |
+
|
41 |
+
{ regex: /(?:,|:|¬|'s\b|\(|\)|\{|\}|«|\b\w*»)/g,
|
42 |
+
css: 'color1' },
|
43 |
+
|
44 |
+
{ regex: /(-)?(\d)+(\.(\d)?)?(E\+(\d)+)?/g, // numbers
|
45 |
+
css: 'color1' },
|
46 |
+
|
47 |
+
{ regex: /(?:&(amp;|gt;|lt;)?|=|� |>|<|≥|>=|≤|<=|\*|\+|-|\/|÷|\^)/g,
|
48 |
+
css: 'color2' },
|
49 |
+
|
50 |
+
{ regex: /\b(?:and|as|div|mod|not|or|return(?!\s&)(ing)?|equals|(is(n't| not)? )?equal( to)?|does(n't| not) equal|(is(n't| not)? )?(greater|less) than( or equal( to)?)?|(comes|does(n't| not) come) (after|before)|is(n't| not)?( in)? (back|front) of|is(n't| not)? behind|is(n't| not)?( (in|contained by))?|does(n't| not) contain|contain(s)?|(start|begin|end)(s)? with|((but|end) )?(consider|ignor)ing|prop(erty)?|(a )?ref(erence)?( to)?|repeat (until|while|with)|((end|exit) )?repeat|((else|end) )?if|else|(end )?(script|tell|try)|(on )?error|(put )?into|(of )?(it|me)|its|my|with (timeout( of)?|transaction)|end (timeout|transaction))\b/g,
|
51 |
+
css: 'keyword' },
|
52 |
+
|
53 |
+
{ regex: /\b\d+(st|nd|rd|th)\b/g, // ordinals
|
54 |
+
css: 'keyword' },
|
55 |
+
|
56 |
+
{ regex: /\b(?:about|above|against|around|at|below|beneath|beside|between|by|(apart|aside) from|(instead|out) of|into|on(to)?|over|since|thr(ough|u)|under)\b/g,
|
57 |
+
css: 'color3' },
|
58 |
+
|
59 |
+
{ regex: /\b(?:adding folder items to|after receiving|choose( ((remote )?application|color|folder|from list|URL))?|clipboard info|set the clipboard to|(the )?clipboard|entire contents|display(ing| (alert|dialog|mode))?|document( (edited|file|nib name))?|file( (name|type))?|(info )?for|giving up after|(name )?extension|quoted form|return(ed)?|second(?! item)(s)?|list (disks|folder)|text item(s| delimiters)?|(Unicode )?text|(disk )?item(s)?|((current|list) )?view|((container|key) )?window|with (data|icon( (caution|note|stop))?|parameter(s)?|prompt|properties|seed|title)|case|diacriticals|hyphens|numeric strings|punctuation|white space|folder creation|application(s( folder)?| (processes|scripts position|support))?|((desktop )?(pictures )?|(documents|downloads|favorites|home|keychain|library|movies|music|public|scripts|sites|system|users|utilities|workflows) )folder|desktop|Folder Action scripts|font(s| panel)?|help|internet plugins|modem scripts|(system )?preferences|printer descriptions|scripting (additions|components)|shared (documents|libraries)|startup (disk|items)|temporary items|trash|on server|in AppleTalk zone|((as|long|short) )?user name|user (ID|locale)|(with )?password|in (bundle( with identifier)?|directory)|(close|open for) access|read|write( permission)?|(g|s)et eof|using( delimiters)?|starting at|default (answer|button|color|country code|entr(y|ies)|identifiers|items|name|location|script editor)|hidden( answer)?|open(ed| (location|untitled))?|error (handling|reporting)|(do( shell)?|load|run|store) script|administrator privileges|altering line endings|get volume settings|(alert|boot|input|mount|output|set) volume|output muted|(fax|random )?number|round(ing)?|up|down|toward zero|to nearest|as taught in school|system (attribute|info)|((AppleScript( Studio)?|system) )?version|(home )?directory|(IPv4|primary Ethernet) address|CPU (type|speed)|physical memory|time (stamp|to GMT)|replacing|ASCII (character|number)|localized string|from table|offset|summarize|beep|delay|say|(empty|multiple) selections allowed|(of|preferred) type|invisibles|showing( package contents)?|editable URL|(File|FTP|News|Media|Web) [Ss]ervers|Telnet hosts|Directory services|Remote applications|waiting until completion|saving( (in|to))?|path (for|to( (((current|frontmost) )?application|resource))?)|POSIX (file|path)|(background|RGB) color|(OK|cancel) button name|cancel button|button(s)?|cubic ((centi)?met(re|er)s|yards|feet|inches)|square ((kilo)?met(re|er)s|miles|yards|feet)|(centi|kilo)?met(re|er)s|miles|yards|feet|inches|lit(re|er)s|gallons|quarts|(kilo)?grams|ounces|pounds|degrees (Celsius|Fahrenheit|Kelvin)|print( (dialog|settings))?|clos(e(able)?|ing)|(de)?miniaturized|miniaturizable|zoom(ed|able)|attribute run|action (method|property|title)|phone|email|((start|end)ing|home) page|((birth|creation|current|custom|modification) )?date|((((phonetic )?(first|last|middle))|computer|host|maiden|related) |nick)?name|aim|icq|jabber|msn|yahoo|address(es)?|save addressbook|should enable action|city|country( code)?|formatte(r|d address)|(palette )?label|state|street|zip|AIM [Hh]andle(s)?|my card|select(ion| all)?|unsaved|(alpha )?value|entr(y|ies)|group|(ICQ|Jabber|MSN) handle|person|people|company|department|icon image|job title|note|organization|suffix|vcard|url|copies|collating|pages (across|down)|request print time|target( printer)?|((GUI Scripting|Script menu) )?enabled|show Computer scripts|(de)?activated|awake from nib|became (key|main)|call method|of (class|object)|center|clicked toolbar item|closed|for document|exposed|(can )?hide|idle|keyboard (down|up)|event( (number|type))?|launch(ed)?|load (image|movie|nib|sound)|owner|log|mouse (down|dragged|entered|exited|moved|up)|move|column|localization|resource|script|register|drag (info|types)|resigned (active|key|main)|resiz(e(d)?|able)|right mouse (down|dragged|up)|scroll wheel|(at )?index|should (close|open( untitled)?|quit( after last window closed)?|zoom)|((proposed|screen) )?bounds|show(n)?|behind|in front of|size (mode|to fit)|update(d| toolbar item)?|was (hidden|miniaturized)|will (become active|close|finish launching|hide|miniaturize|move|open|quit|(resign )?active|((maximum|minimum|proposed) )?size|show|zoom)|bundle|data source|movie|pasteboard|sound|tool(bar| tip)|(color|open|save) panel|coordinate system|frontmost|main( (bundle|menu|window))?|((services|(excluded from )?windows) )?menu|((executable|frameworks|resource|scripts|shared (frameworks|support)) )?path|(selected item )?identifier|data|content(s| view)?|character(s)?|click count|(command|control|option|shift) key down|context|delta (x|y|z)|key( code)?|location|pressure|unmodified characters|types|(first )?responder|playing|(allowed|selectable) identifiers|allows customization|(auto saves )?configuration|visible|image( name)?|menu form representation|tag|user(-| )defaults|associated file name|(auto|needs) display|current field editor|floating|has (resize indicator|shadow)|hides when deactivated|level|minimized (image|title)|opaque|position|release when closed|sheet|title(d)?)\b/g,
|
60 |
+
css: 'color3' },
|
61 |
+
|
62 |
+
{ regex: new RegExp(this.getKeywords(specials), 'gm'), css: 'color3' },
|
63 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
|
64 |
+
{ regex: new RegExp(this.getKeywords(ordinals), 'gm'), css: 'keyword' }
|
65 |
+
];
|
66 |
+
};
|
67 |
+
|
68 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
69 |
+
Brush.aliases = ['applescript'];
|
70 |
+
|
71 |
+
SyntaxHighlighter.brushes.AppleScript = Brush;
|
72 |
+
|
73 |
+
// CommonJS
|
74 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
75 |
+
})();
|
syntaxhighlighter3/scripts/shBrushBash.js
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
var keywords = 'if fi then elif else for do done until while break continue case function return in eq ne ge le';
|
25 |
+
var commands = 'alias apropos awk basename bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chroot' +
|
26 |
+
'cksum clear cmp comm command cp cron crontab csplit cut date dc dd ddrescue declare df ' +
|
27 |
+
'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval ' +
|
28 |
+
'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format ' +
|
29 |
+
'free fsck ftp gawk getopts grep groups gzip hash head history hostname id ifconfig ' +
|
30 |
+
'import install join kill less let ln local locate logname logout look lpc lpr lprint ' +
|
31 |
+
'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools ' +
|
32 |
+
'mv netstat nice nl nohup nslookup open op passwd paste pathchk ping popd pr printcap ' +
|
33 |
+
'printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice ' +
|
34 |
+
'remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown ' +
|
35 |
+
'sleep sort source split ssh strace su sudo sum symlink sync tail tar tee test time ' +
|
36 |
+
'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias ' +
|
37 |
+
'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir ' +
|
38 |
+
'vi watch wc whereis which who whoami Wget xargs yes'
|
39 |
+
;
|
40 |
+
|
41 |
+
this.regexList = [
|
42 |
+
{ regex: /^#!.*$/gm, css: 'preprocessor bold' },
|
43 |
+
{ regex: /\/[\w-\/]+/gm, css: 'plain' },
|
44 |
+
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
|
45 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
46 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
47 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
48 |
+
{ regex: new RegExp(this.getKeywords(commands), 'gm'), css: 'functions' } // commands
|
49 |
+
];
|
50 |
+
}
|
51 |
+
|
52 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
53 |
+
Brush.aliases = ['bash', 'shell'];
|
54 |
+
|
55 |
+
SyntaxHighlighter.brushes.Bash = Brush;
|
56 |
+
|
57 |
+
// CommonJS
|
58 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
59 |
+
})();
|
syntaxhighlighter3/scripts/shBrushCSharp.js
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
var keywords = 'abstract as base bool break byte case catch char checked class const ' +
|
25 |
+
'continue decimal default delegate do double else enum event explicit ' +
|
26 |
+
'extern false finally fixed float for foreach get goto if implicit in int ' +
|
27 |
+
'interface internal is lock long namespace new null object operator out ' +
|
28 |
+
'override params private protected public readonly ref return sbyte sealed set ' +
|
29 |
+
'short sizeof stackalloc static string struct switch this throw true try ' +
|
30 |
+
'typeof uint ulong unchecked unsafe ushort using virtual void while';
|
31 |
+
|
32 |
+
function fixComments(match, regexInfo)
|
33 |
+
{
|
34 |
+
var css = (match[0].indexOf("///") == 0)
|
35 |
+
? 'color1'
|
36 |
+
: 'comments'
|
37 |
+
;
|
38 |
+
|
39 |
+
return [new SyntaxHighlighter.Match(match[0], match.index, css)];
|
40 |
+
}
|
41 |
+
|
42 |
+
this.regexList = [
|
43 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, func : fixComments }, // one line comments
|
44 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
45 |
+
{ regex: /@"(?:[^"]|"")*"/g, css: 'string' }, // @-quoted strings
|
46 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
47 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
48 |
+
{ regex: /^\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
|
49 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // c# keyword
|
50 |
+
{ regex: /\bpartial(?=\s+(?:class|interface|struct)\b)/g, css: 'keyword' }, // contextual keyword: 'partial'
|
51 |
+
{ regex: /\byield(?=\s+(?:return|break)\b)/g, css: 'keyword' } // contextual keyword: 'yield'
|
52 |
+
];
|
53 |
+
|
54 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
55 |
+
};
|
56 |
+
|
57 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
58 |
+
Brush.aliases = ['c#', 'c-sharp', 'csharp'];
|
59 |
+
|
60 |
+
SyntaxHighlighter.brushes.CSharp = Brush;
|
61 |
+
|
62 |
+
// CommonJS
|
63 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
64 |
+
})();
|
65 |
+
|
syntaxhighlighter3/scripts/shBrushColdFusion.js
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributed by Jen
|
25 |
+
// http://www.jensbits.com/2009/05/14/coldfusion-brush-for-syntaxhighlighter-plus
|
26 |
+
|
27 |
+
var funcs = 'Abs ACos AddSOAPRequestHeader AddSOAPResponseHeader AjaxLink AjaxOnLoad ArrayAppend ArrayAvg ArrayClear ArrayDeleteAt ' +
|
28 |
+
'ArrayInsertAt ArrayIsDefined ArrayIsEmpty ArrayLen ArrayMax ArrayMin ArraySet ArraySort ArraySum ArraySwap ArrayToList ' +
|
29 |
+
'Asc ASin Atn BinaryDecode BinaryEncode BitAnd BitMaskClear BitMaskRead BitMaskSet BitNot BitOr BitSHLN BitSHRN BitXor ' +
|
30 |
+
'Ceiling CharsetDecode CharsetEncode Chr CJustify Compare CompareNoCase Cos CreateDate CreateDateTime CreateObject ' +
|
31 |
+
'CreateODBCDate CreateODBCDateTime CreateODBCTime CreateTime CreateTimeSpan CreateUUID DateAdd DateCompare DateConvert ' +
|
32 |
+
'DateDiff DateFormat DatePart Day DayOfWeek DayOfWeekAsString DayOfYear DaysInMonth DaysInYear DE DecimalFormat DecrementValue ' +
|
33 |
+
'Decrypt DecryptBinary DeleteClientVariable DeserializeJSON DirectoryExists DollarFormat DotNetToCFType Duplicate Encrypt ' +
|
34 |
+
'EncryptBinary Evaluate Exp ExpandPath FileClose FileCopy FileDelete FileExists FileIsEOF FileMove FileOpen FileRead ' +
|
35 |
+
'FileReadBinary FileReadLine FileSetAccessMode FileSetAttribute FileSetLastModified FileWrite Find FindNoCase FindOneOf ' +
|
36 |
+
'FirstDayOfMonth Fix FormatBaseN GenerateSecretKey GetAuthUser GetBaseTagData GetBaseTagList GetBaseTemplatePath ' +
|
37 |
+
'GetClientVariablesList GetComponentMetaData GetContextRoot GetCurrentTemplatePath GetDirectoryFromPath GetEncoding ' +
|
38 |
+
'GetException GetFileFromPath GetFileInfo GetFunctionList GetGatewayHelper GetHttpRequestData GetHttpTimeString ' +
|
39 |
+
'GetK2ServerDocCount GetK2ServerDocCountLimit GetLocale GetLocaleDisplayName GetLocalHostIP GetMetaData GetMetricData ' +
|
40 |
+
'GetPageContext GetPrinterInfo GetProfileSections GetProfileString GetReadableImageFormats GetSOAPRequest GetSOAPRequestHeader ' +
|
41 |
+
'GetSOAPResponse GetSOAPResponseHeader GetTempDirectory GetTempFile GetTemplatePath GetTickCount GetTimeZoneInfo GetToken ' +
|
42 |
+
'GetUserRoles GetWriteableImageFormats Hash Hour HTMLCodeFormat HTMLEditFormat IIf ImageAddBorder ImageBlur ImageClearRect ' +
|
43 |
+
'ImageCopy ImageCrop ImageDrawArc ImageDrawBeveledRect ImageDrawCubicCurve ImageDrawLine ImageDrawLines ImageDrawOval ' +
|
44 |
+
'ImageDrawPoint ImageDrawQuadraticCurve ImageDrawRect ImageDrawRoundRect ImageDrawText ImageFlip ImageGetBlob ImageGetBufferedImage ' +
|
45 |
+
'ImageGetEXIFTag ImageGetHeight ImageGetIPTCTag ImageGetWidth ImageGrayscale ImageInfo ImageNegative ImageNew ImageOverlay ImagePaste ' +
|
46 |
+
'ImageRead ImageReadBase64 ImageResize ImageRotate ImageRotateDrawingAxis ImageScaleToFit ImageSetAntialiasing ImageSetBackgroundColor ' +
|
47 |
+
'ImageSetDrawingColor ImageSetDrawingStroke ImageSetDrawingTransparency ImageSharpen ImageShear ImageShearDrawingAxis ImageTranslate ' +
|
48 |
+
'ImageTranslateDrawingAxis ImageWrite ImageWriteBase64 ImageXORDrawingMode IncrementValue InputBaseN Insert Int IsArray IsBinary ' +
|
49 |
+
'IsBoolean IsCustomFunction IsDate IsDDX IsDebugMode IsDefined IsImage IsImageFile IsInstanceOf IsJSON IsLeapYear IsLocalHost ' +
|
50 |
+
'IsNumeric IsNumericDate IsObject IsPDFFile IsPDFObject IsQuery IsSimpleValue IsSOAPRequest IsStruct IsUserInAnyRole IsUserInRole ' +
|
51 |
+
'IsUserLoggedIn IsValid IsWDDX IsXML IsXmlAttribute IsXmlDoc IsXmlElem IsXmlNode IsXmlRoot JavaCast JSStringFormat LCase Left Len ' +
|
52 |
+
'ListAppend ListChangeDelims ListContains ListContainsNoCase ListDeleteAt ListFind ListFindNoCase ListFirst ListGetAt ListInsertAt ' +
|
53 |
+
'ListLast ListLen ListPrepend ListQualify ListRest ListSetAt ListSort ListToArray ListValueCount ListValueCountNoCase LJustify Log ' +
|
54 |
+
'Log10 LSCurrencyFormat LSDateFormat LSEuroCurrencyFormat LSIsCurrency LSIsDate LSIsNumeric LSNumberFormat LSParseCurrency LSParseDateTime ' +
|
55 |
+
'LSParseEuroCurrency LSParseNumber LSTimeFormat LTrim Max Mid Min Minute Month MonthAsString Now NumberFormat ParagraphFormat ParseDateTime ' +
|
56 |
+
'Pi PrecisionEvaluate PreserveSingleQuotes Quarter QueryAddColumn QueryAddRow QueryConvertForGrid QueryNew QuerySetCell QuotedValueList Rand ' +
|
57 |
+
'Randomize RandRange REFind REFindNoCase ReleaseComObject REMatch REMatchNoCase RemoveChars RepeatString Replace ReplaceList ReplaceNoCase ' +
|
58 |
+
'REReplace REReplaceNoCase Reverse Right RJustify Round RTrim Second SendGatewayMessage SerializeJSON SetEncoding SetLocale SetProfileString ' +
|
59 |
+
'SetVariable Sgn Sin Sleep SpanExcluding SpanIncluding Sqr StripCR StructAppend StructClear StructCopy StructCount StructDelete StructFind ' +
|
60 |
+
'StructFindKey StructFindValue StructGet StructInsert StructIsEmpty StructKeyArray StructKeyExists StructKeyList StructKeyList StructNew ' +
|
61 |
+
'StructSort StructUpdate Tan TimeFormat ToBase64 ToBinary ToScript ToString Trim UCase URLDecode URLEncodedFormat URLSessionFormat Val ' +
|
62 |
+
'ValueList VerifyClient Week Wrap Wrap WriteOutput XmlChildPos XmlElemNew XmlFormat XmlGetNodeType XmlNew XmlParse XmlSearch XmlTransform ' +
|
63 |
+
'XmlValidate Year YesNoFormat';
|
64 |
+
|
65 |
+
var keywords = 'cfabort cfajaximport cfajaxproxy cfapplet cfapplication cfargument cfassociate cfbreak cfcache cfcalendar ' +
|
66 |
+
'cfcase cfcatch cfchart cfchartdata cfchartseries cfcol cfcollection cfcomponent cfcontent cfcookie cfdbinfo ' +
|
67 |
+
'cfdefaultcase cfdirectory cfdiv cfdocument cfdocumentitem cfdocumentsection cfdump cfelse cfelseif cferror ' +
|
68 |
+
'cfexchangecalendar cfexchangeconnection cfexchangecontact cfexchangefilter cfexchangemail cfexchangetask ' +
|
69 |
+
'cfexecute cfexit cffeed cffile cfflush cfform cfformgroup cfformitem cfftp cffunction cfgrid cfgridcolumn ' +
|
70 |
+
'cfgridrow cfgridupdate cfheader cfhtmlhead cfhttp cfhttpparam cfif cfimage cfimport cfinclude cfindex ' +
|
71 |
+
'cfinput cfinsert cfinterface cfinvoke cfinvokeargument cflayout cflayoutarea cfldap cflocation cflock cflog ' +
|
72 |
+
'cflogin cfloginuser cflogout cfloop cfmail cfmailparam cfmailpart cfmenu cfmenuitem cfmodule cfNTauthenticate ' +
|
73 |
+
'cfobject cfobjectcache cfoutput cfparam cfpdf cfpdfform cfpdfformparam cfpdfparam cfpdfsubform cfpod cfpop ' +
|
74 |
+
'cfpresentation cfpresentationslide cfpresenter cfprint cfprocessingdirective cfprocparam cfprocresult ' +
|
75 |
+
'cfproperty cfquery cfqueryparam cfregistry cfreport cfreportparam cfrethrow cfreturn cfsavecontent cfschedule ' +
|
76 |
+
'cfscript cfsearch cfselect cfset cfsetting cfsilent cfslider cfsprydataset cfstoredproc cfswitch cftable ' +
|
77 |
+
'cftextarea cfthread cfthrow cftimer cftooltip cftrace cftransaction cftree cftreeitem cftry cfupdate cfwddx ' +
|
78 |
+
'cfwindow cfxml cfzip cfzipparam';
|
79 |
+
|
80 |
+
var operators = 'all and any between cross in join like not null or outer some';
|
81 |
+
|
82 |
+
this.regexList = [
|
83 |
+
{ regex: new RegExp('--(.*)$', 'gm'), css: 'comments' }, // one line and multiline comments
|
84 |
+
{ regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // single quoted strings
|
85 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
86 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
87 |
+
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // functions
|
88 |
+
{ regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
|
89 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
|
90 |
+
];
|
91 |
+
}
|
92 |
+
|
93 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
94 |
+
Brush.aliases = ['coldfusion','cf'];
|
95 |
+
|
96 |
+
SyntaxHighlighter.brushes.ColdFusion = Brush;
|
97 |
+
|
98 |
+
// CommonJS
|
99 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
100 |
+
})();
|
syntaxhighlighter3/scripts/shBrushCpp.js
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Copyright 2006 Shin, YoungJin
|
25 |
+
|
26 |
+
var datatypes = 'ATOM BOOL BOOLEAN BYTE CHAR COLORREF DWORD DWORDLONG DWORD_PTR ' +
|
27 |
+
'DWORD32 DWORD64 FLOAT HACCEL HALF_PTR HANDLE HBITMAP HBRUSH ' +
|
28 |
+
'HCOLORSPACE HCONV HCONVLIST HCURSOR HDC HDDEDATA HDESK HDROP HDWP ' +
|
29 |
+
'HENHMETAFILE HFILE HFONT HGDIOBJ HGLOBAL HHOOK HICON HINSTANCE HKEY ' +
|
30 |
+
'HKL HLOCAL HMENU HMETAFILE HMODULE HMONITOR HPALETTE HPEN HRESULT ' +
|
31 |
+
'HRGN HRSRC HSZ HWINSTA HWND INT INT_PTR INT32 INT64 LANGID LCID LCTYPE ' +
|
32 |
+
'LGRPID LONG LONGLONG LONG_PTR LONG32 LONG64 LPARAM LPBOOL LPBYTE LPCOLORREF ' +
|
33 |
+
'LPCSTR LPCTSTR LPCVOID LPCWSTR LPDWORD LPHANDLE LPINT LPLONG LPSTR LPTSTR ' +
|
34 |
+
'LPVOID LPWORD LPWSTR LRESULT PBOOL PBOOLEAN PBYTE PCHAR PCSTR PCTSTR PCWSTR ' +
|
35 |
+
'PDWORDLONG PDWORD_PTR PDWORD32 PDWORD64 PFLOAT PHALF_PTR PHANDLE PHKEY PINT ' +
|
36 |
+
'PINT_PTR PINT32 PINT64 PLCID PLONG PLONGLONG PLONG_PTR PLONG32 PLONG64 POINTER_32 ' +
|
37 |
+
'POINTER_64 PSHORT PSIZE_T PSSIZE_T PSTR PTBYTE PTCHAR PTSTR PUCHAR PUHALF_PTR ' +
|
38 |
+
'PUINT PUINT_PTR PUINT32 PUINT64 PULONG PULONGLONG PULONG_PTR PULONG32 PULONG64 ' +
|
39 |
+
'PUSHORT PVOID PWCHAR PWORD PWSTR SC_HANDLE SC_LOCK SERVICE_STATUS_HANDLE SHORT ' +
|
40 |
+
'SIZE_T SSIZE_T TBYTE TCHAR UCHAR UHALF_PTR UINT UINT_PTR UINT32 UINT64 ULONG ' +
|
41 |
+
'ULONGLONG ULONG_PTR ULONG32 ULONG64 USHORT USN VOID WCHAR WORD WPARAM WPARAM WPARAM ' +
|
42 |
+
'char bool short int __int32 __int64 __int8 __int16 long float double __wchar_t ' +
|
43 |
+
'clock_t _complex _dev_t _diskfree_t div_t ldiv_t _exception _EXCEPTION_POINTERS ' +
|
44 |
+
'FILE _finddata_t _finddatai64_t _wfinddata_t _wfinddatai64_t __finddata64_t ' +
|
45 |
+
'__wfinddata64_t _FPIEEE_RECORD fpos_t _HEAPINFO _HFILE lconv intptr_t ' +
|
46 |
+
'jmp_buf mbstate_t _off_t _onexit_t _PNH ptrdiff_t _purecall_handler ' +
|
47 |
+
'sig_atomic_t size_t _stat __stat64 _stati64 terminate_function ' +
|
48 |
+
'time_t __time64_t _timeb __timeb64 tm uintptr_t _utimbuf ' +
|
49 |
+
'va_list wchar_t wctrans_t wctype_t wint_t signed';
|
50 |
+
|
51 |
+
var keywords = 'break case catch class const __finally __exception __try ' +
|
52 |
+
'const_cast continue private public protected __declspec ' +
|
53 |
+
'default delete deprecated dllexport dllimport do dynamic_cast ' +
|
54 |
+
'else enum explicit extern if for friend goto inline ' +
|
55 |
+
'mutable naked namespace new noinline noreturn nothrow ' +
|
56 |
+
'register reinterpret_cast return selectany ' +
|
57 |
+
'sizeof static static_cast struct switch template this ' +
|
58 |
+
'thread throw true false try typedef typeid typename union ' +
|
59 |
+
'using uuid virtual void volatile whcar_t while';
|
60 |
+
|
61 |
+
var functions = 'assert isalnum isalpha iscntrl isdigit isgraph islower isprint' +
|
62 |
+
'ispunct isspace isupper isxdigit tolower toupper errno localeconv ' +
|
63 |
+
'setlocale acos asin atan atan2 ceil cos cosh exp fabs floor fmod ' +
|
64 |
+
'frexp ldexp log log10 modf pow sin sinh sqrt tan tanh jmp_buf ' +
|
65 |
+
'longjmp setjmp raise signal sig_atomic_t va_arg va_end va_start ' +
|
66 |
+
'clearerr fclose feof ferror fflush fgetc fgetpos fgets fopen ' +
|
67 |
+
'fprintf fputc fputs fread freopen fscanf fseek fsetpos ftell ' +
|
68 |
+
'fwrite getc getchar gets perror printf putc putchar puts remove ' +
|
69 |
+
'rename rewind scanf setbuf setvbuf sprintf sscanf tmpfile tmpnam ' +
|
70 |
+
'ungetc vfprintf vprintf vsprintf abort abs atexit atof atoi atol ' +
|
71 |
+
'bsearch calloc div exit free getenv labs ldiv malloc mblen mbstowcs ' +
|
72 |
+
'mbtowc qsort rand realloc srand strtod strtol strtoul system ' +
|
73 |
+
'wcstombs wctomb memchr memcmp memcpy memmove memset strcat strchr ' +
|
74 |
+
'strcmp strcoll strcpy strcspn strerror strlen strncat strncmp ' +
|
75 |
+
'strncpy strpbrk strrchr strspn strstr strtok strxfrm asctime ' +
|
76 |
+
'clock ctime difftime gmtime localtime mktime strftime time';
|
77 |
+
|
78 |
+
this.regexList = [
|
79 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
80 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
81 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
82 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
83 |
+
{ regex: /^ *#.*/gm, css: 'preprocessor' },
|
84 |
+
{ regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'color1 bold' },
|
85 |
+
{ regex: new RegExp(this.getKeywords(functions), 'gm'), css: 'functions bold' },
|
86 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword bold' }
|
87 |
+
];
|
88 |
+
};
|
89 |
+
|
90 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
91 |
+
Brush.aliases = ['cpp', 'c'];
|
92 |
+
|
93 |
+
SyntaxHighlighter.brushes.Cpp = Brush;
|
94 |
+
|
95 |
+
// CommonJS
|
96 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
97 |
+
})();
|
syntaxhighlighter3/scripts/shBrushCss.js
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
function getKeywordsCSS(str)
|
25 |
+
{
|
26 |
+
return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b';
|
27 |
+
};
|
28 |
+
|
29 |
+
function getValuesCSS(str)
|
30 |
+
{
|
31 |
+
return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b';
|
32 |
+
};
|
33 |
+
|
34 |
+
var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' +
|
35 |
+
'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +
|
36 |
+
'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +
|
37 |
+
'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +
|
38 |
+
'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' +
|
39 |
+
'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +
|
40 |
+
'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +
|
41 |
+
'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +
|
42 |
+
'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' +
|
43 |
+
'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' +
|
44 |
+
'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +
|
45 |
+
'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' +
|
46 |
+
'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' +
|
47 |
+
'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index';
|
48 |
+
|
49 |
+
var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+
|
50 |
+
'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+
|
51 |
+
'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double '+
|
52 |
+
'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+
|
53 |
+
'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+
|
54 |
+
'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+
|
55 |
+
'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+
|
56 |
+
'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+
|
57 |
+
'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+
|
58 |
+
'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+
|
59 |
+
'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+
|
60 |
+
'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+
|
61 |
+
'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+
|
62 |
+
'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow';
|
63 |
+
|
64 |
+
var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif';
|
65 |
+
|
66 |
+
this.regexList = [
|
67 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
68 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
69 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
70 |
+
{ regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors
|
71 |
+
{ regex: /(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)/g, css: 'value' }, // sizes
|
72 |
+
{ regex: /!important/g, css: 'color3' }, // !important
|
73 |
+
{ regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
|
74 |
+
{ regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values
|
75 |
+
{ regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts
|
76 |
+
];
|
77 |
+
|
78 |
+
this.forHtmlScript({
|
79 |
+
left: /(<|<)\s*style.*?(>|>)/gi,
|
80 |
+
right: /(<|<)\/\s*style\s*(>|>)/gi
|
81 |
+
});
|
82 |
+
};
|
83 |
+
|
84 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
85 |
+
Brush.aliases = ['css'];
|
86 |
+
|
87 |
+
SyntaxHighlighter.brushes.CSS = Brush;
|
88 |
+
|
89 |
+
// CommonJS
|
90 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
91 |
+
})();
|
syntaxhighlighter3/scripts/shBrushDelphi.js
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
var keywords = 'abs addr and ansichar ansistring array as asm begin boolean byte cardinal ' +
|
25 |
+
'case char class comp const constructor currency destructor div do double ' +
|
26 |
+
'downto else end except exports extended false file finalization finally ' +
|
27 |
+
'for function goto if implementation in inherited int64 initialization ' +
|
28 |
+
'integer interface is label library longint longword mod nil not object ' +
|
29 |
+
'of on or packed pansichar pansistring pchar pcurrency pdatetime pextended ' +
|
30 |
+
'pint64 pointer private procedure program property pshortstring pstring ' +
|
31 |
+
'pvariant pwidechar pwidestring protected public published raise real real48 ' +
|
32 |
+
'record repeat set shl shortint shortstring shr single smallint string then ' +
|
33 |
+
'threadvar to true try type unit until uses val var varirnt while widechar ' +
|
34 |
+
'widestring with word write writeln xor';
|
35 |
+
|
36 |
+
this.regexList = [
|
37 |
+
{ regex: /\(\*[\s\S]*?\*\)/gm, css: 'comments' }, // multiline comments (* *)
|
38 |
+
{ regex: /{(?!\$)[\s\S]*?}/gm, css: 'comments' }, // multiline comments { }
|
39 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line
|
40 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
41 |
+
{ regex: /\{\$[a-zA-Z]+ .+\}/g, css: 'color1' }, // compiler Directives and Region tags
|
42 |
+
{ regex: /\b[\d\.]+\b/g, css: 'value' }, // numbers 12345
|
43 |
+
{ regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // numbers $F5D3
|
44 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
|
45 |
+
];
|
46 |
+
};
|
47 |
+
|
48 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
49 |
+
Brush.aliases = ['delphi', 'pascal', 'pas'];
|
50 |
+
|
51 |
+
SyntaxHighlighter.brushes.Delphi = Brush;
|
52 |
+
|
53 |
+
// CommonJS
|
54 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
55 |
+
})();
|
syntaxhighlighter3/scripts/shBrushDiff.js
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
this.regexList = [
|
25 |
+
{ regex: /^\+\+\+.*$/gm, css: 'color2' },
|
26 |
+
{ regex: /^\-\-\-.*$/gm, css: 'color2' },
|
27 |
+
{ regex: /^\s.*$/gm, css: 'color1' },
|
28 |
+
{ regex: /^@@.*@@$/gm, css: 'variable' },
|
29 |
+
{ regex: /^\+[^\+]{1}.*$/gm, css: 'string' },
|
30 |
+
{ regex: /^\-[^\-]{1}.*$/gm, css: 'comments' }
|
31 |
+
];
|
32 |
+
};
|
33 |
+
|
34 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
35 |
+
Brush.aliases = ['diff', 'patch'];
|
36 |
+
|
37 |
+
SyntaxHighlighter.brushes.Diff = Brush;
|
38 |
+
|
39 |
+
// CommonJS
|
40 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
41 |
+
})();
|
syntaxhighlighter3/scripts/shBrushErlang.js
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributed by Jean-Lou Dupont
|
25 |
+
// http://jldupont.blogspot.com/2009/06/erlang-syntax-highlighter.html
|
26 |
+
|
27 |
+
// According to: http://erlang.org/doc/reference_manual/introduction.html#1.5
|
28 |
+
var keywords = 'after and andalso band begin bnot bor bsl bsr bxor '+
|
29 |
+
'case catch cond div end fun if let not of or orelse '+
|
30 |
+
'query receive rem try when xor'+
|
31 |
+
// additional
|
32 |
+
' module export import define';
|
33 |
+
|
34 |
+
this.regexList = [
|
35 |
+
{ regex: new RegExp("[A-Z][A-Za-z0-9_]+", 'g'), css: 'constants' },
|
36 |
+
{ regex: new RegExp("\\%.+", 'gm'), css: 'comments' },
|
37 |
+
{ regex: new RegExp("\\?[A-Za-z0-9_]+", 'g'), css: 'preprocessor' },
|
38 |
+
{ regex: new RegExp("[a-z0-9_]+:[a-z0-9_]+", 'g'), css: 'functions' },
|
39 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
|
40 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
|
41 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
|
42 |
+
];
|
43 |
+
};
|
44 |
+
|
45 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
46 |
+
Brush.aliases = ['erl', 'erlang'];
|
47 |
+
|
48 |
+
SyntaxHighlighter.brushes.Erland = Brush;
|
49 |
+
|
50 |
+
// CommonJS
|
51 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
52 |
+
})();
|
syntaxhighlighter3/scripts/shBrushGroovy.js
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributed by Andres Almiray
|
25 |
+
// http://jroller.com/aalmiray/entry/nice_source_code_syntax_highlighter
|
26 |
+
|
27 |
+
var keywords = 'as assert break case catch class continue def default do else extends finally ' +
|
28 |
+
'if in implements import instanceof interface new package property return switch ' +
|
29 |
+
'throw throws try while public protected private static';
|
30 |
+
var types = 'void boolean byte char short int long float double';
|
31 |
+
var constants = 'null';
|
32 |
+
var methods = 'allProperties count get size '+
|
33 |
+
'collect each eachProperty eachPropertyName eachWithIndex find findAll ' +
|
34 |
+
'findIndexOf grep inject max min reverseEach sort ' +
|
35 |
+
'asImmutable asSynchronized flatten intersect join pop reverse subMap toList ' +
|
36 |
+
'padRight padLeft contains eachMatch toCharacter toLong toUrl tokenize ' +
|
37 |
+
'eachFile eachFileRecurse eachB yte eachLine readBytes readLine getText ' +
|
38 |
+
'splitEachLine withReader append encodeBase64 decodeBase64 filterLine ' +
|
39 |
+
'transformChar transformLine withOutputStream withPrintWriter withStream ' +
|
40 |
+
'withStreams withWriter withWriterAppend write writeLine '+
|
41 |
+
'dump inspect invokeMethod print println step times upto use waitForOrKill '+
|
42 |
+
'getText';
|
43 |
+
|
44 |
+
this.regexList = [
|
45 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
46 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
47 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
48 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
49 |
+
{ regex: /""".*"""/g, css: 'string' }, // GStrings
|
50 |
+
{ regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'value' }, // numbers
|
51 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // goovy keyword
|
52 |
+
{ regex: new RegExp(this.getKeywords(types), 'gm'), css: 'color1' }, // goovy/java type
|
53 |
+
{ regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' }, // constants
|
54 |
+
{ regex: new RegExp(this.getKeywords(methods), 'gm'), css: 'functions' } // methods
|
55 |
+
];
|
56 |
+
|
57 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
58 |
+
}
|
59 |
+
|
60 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
61 |
+
Brush.aliases = ['groovy'];
|
62 |
+
|
63 |
+
SyntaxHighlighter.brushes.Groovy = Brush;
|
64 |
+
|
65 |
+
// CommonJS
|
66 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
67 |
+
})();
|
syntaxhighlighter3/scripts/shBrushJScript.js
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
var keywords = 'break case catch continue ' +
|
25 |
+
'default delete do else false ' +
|
26 |
+
'for function if in instanceof ' +
|
27 |
+
'new null return super switch ' +
|
28 |
+
'this throw true try typeof var while with'
|
29 |
+
;
|
30 |
+
|
31 |
+
var r = SyntaxHighlighter.regexLib;
|
32 |
+
|
33 |
+
this.regexList = [
|
34 |
+
{ regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
|
35 |
+
{ regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
|
36 |
+
{ regex: r.singleLineCComments, css: 'comments' }, // one line comments
|
37 |
+
{ regex: r.multiLineCComments, css: 'comments' }, // multiline comments
|
38 |
+
{ regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
|
39 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords
|
40 |
+
];
|
41 |
+
|
42 |
+
this.forHtmlScript(r.scriptScriptTags);
|
43 |
+
};
|
44 |
+
|
45 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
46 |
+
Brush.aliases = ['js', 'jscript', 'javascript'];
|
47 |
+
|
48 |
+
SyntaxHighlighter.brushes.JScript = Brush;
|
49 |
+
|
50 |
+
// CommonJS
|
51 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
52 |
+
})();
|
syntaxhighlighter3/scripts/shBrushJava.js
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
var keywords = 'abstract assert boolean break byte case catch char class const ' +
|
25 |
+
'continue default do double else enum extends ' +
|
26 |
+
'false final finally float for goto if implements import ' +
|
27 |
+
'instanceof int interface long native new null ' +
|
28 |
+
'package private protected public return ' +
|
29 |
+
'short static strictfp super switch synchronized this throw throws true ' +
|
30 |
+
'transient try void volatile while';
|
31 |
+
|
32 |
+
this.regexList = [
|
33 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
34 |
+
{ regex: /\/\*([^\*][\s\S]*)?\*\//gm, css: 'comments' }, // multiline comments
|
35 |
+
{ regex: /\/\*(?!\*\/)\*[\s\S]*?\*\//gm, css: 'preprocessor' }, // documentation comments
|
36 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
37 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
38 |
+
{ regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers
|
39 |
+
{ regex: /(?!\@interface\b)\@[\$\w]+\b/g, css: 'color1' }, // annotation @anno
|
40 |
+
{ regex: /\@interface\b/g, css: 'color2' }, // @interface keyword
|
41 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword
|
42 |
+
];
|
43 |
+
|
44 |
+
this.forHtmlScript({
|
45 |
+
left : /(<|<)%[@!=]?/g,
|
46 |
+
right : /%(>|>)/g
|
47 |
+
});
|
48 |
+
};
|
49 |
+
|
50 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
51 |
+
Brush.aliases = ['java'];
|
52 |
+
|
53 |
+
SyntaxHighlighter.brushes.Java = Brush;
|
54 |
+
|
55 |
+
// CommonJS
|
56 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
57 |
+
})();
|
syntaxhighlighter3/scripts/shBrushJavaFX.js
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributed by Patrick Webster
|
25 |
+
// http://patrickwebster.blogspot.com/2009/04/javafx-brush-for-syntaxhighlighter.html
|
26 |
+
var datatypes = 'Boolean Byte Character Double Duration '
|
27 |
+
+ 'Float Integer Long Number Short String Void'
|
28 |
+
;
|
29 |
+
|
30 |
+
var keywords = 'abstract after and as assert at before bind bound break catch class '
|
31 |
+
+ 'continue def delete else exclusive extends false finally first for from '
|
32 |
+
+ 'function if import in indexof init insert instanceof into inverse last '
|
33 |
+
+ 'lazy mixin mod nativearray new not null on or override package postinit '
|
34 |
+
+ 'protected public public-init public-read replace return reverse sizeof '
|
35 |
+
+ 'step super then this throw true try tween typeof var where while with '
|
36 |
+
+ 'attribute let private readonly static trigger'
|
37 |
+
;
|
38 |
+
|
39 |
+
this.regexList = [
|
40 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' },
|
41 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' },
|
42 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
|
43 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
|
44 |
+
{ regex: /(-?\.?)(\b(\d*\.?\d+|\d+\.?\d*)(e[+-]?\d+)?|0x[a-f\d]+)\b\.?/gi, css: 'color2' }, // numbers
|
45 |
+
{ regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'variable' }, // datatypes
|
46 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
|
47 |
+
];
|
48 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
49 |
+
};
|
50 |
+
|
51 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
52 |
+
Brush.aliases = ['jfx', 'javafx'];
|
53 |
+
|
54 |
+
SyntaxHighlighter.brushes.JavaFX = Brush;
|
55 |
+
|
56 |
+
// CommonJS
|
57 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
58 |
+
})();
|
syntaxhighlighter3/scripts/shBrushPerl.js
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributed by David Simmons-Duffin and Marty Kube
|
25 |
+
|
26 |
+
var funcs =
|
27 |
+
'abs accept alarm atan2 bind binmode chdir chmod chomp chop chown chr ' +
|
28 |
+
'chroot close closedir connect cos crypt defined delete each endgrent ' +
|
29 |
+
'endhostent endnetent endprotoent endpwent endservent eof exec exists ' +
|
30 |
+
'exp fcntl fileno flock fork format formline getc getgrent getgrgid ' +
|
31 |
+
'getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr ' +
|
32 |
+
'getnetbyname getnetent getpeername getpgrp getppid getpriority ' +
|
33 |
+
'getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid ' +
|
34 |
+
'getservbyname getservbyport getservent getsockname getsockopt glob ' +
|
35 |
+
'gmtime grep hex index int ioctl join keys kill lc lcfirst length link ' +
|
36 |
+
'listen localtime lock log lstat map mkdir msgctl msgget msgrcv msgsnd ' +
|
37 |
+
'oct open opendir ord pack pipe pop pos print printf prototype push ' +
|
38 |
+
'quotemeta rand read readdir readline readlink readpipe recv rename ' +
|
39 |
+
'reset reverse rewinddir rindex rmdir scalar seek seekdir select semctl ' +
|
40 |
+
'semget semop send setgrent sethostent setnetent setpgrp setpriority ' +
|
41 |
+
'setprotoent setpwent setservent setsockopt shift shmctl shmget shmread ' +
|
42 |
+
'shmwrite shutdown sin sleep socket socketpair sort splice split sprintf ' +
|
43 |
+
'sqrt srand stat study substr symlink syscall sysopen sysread sysseek ' +
|
44 |
+
'system syswrite tell telldir time times tr truncate uc ucfirst umask ' +
|
45 |
+
'undef unlink unpack unshift utime values vec wait waitpid warn write';
|
46 |
+
|
47 |
+
var keywords =
|
48 |
+
'bless caller continue dbmclose dbmopen die do dump else elsif eval exit ' +
|
49 |
+
'for foreach goto if import last local my next no our package redo ref ' +
|
50 |
+
'require return sub tie tied unless untie until use wantarray while';
|
51 |
+
|
52 |
+
this.regexList = [
|
53 |
+
{ regex: new RegExp('#[^!].*$', 'gm'), css: 'comments' },
|
54 |
+
{ regex: new RegExp('^\\s*#!.*$', 'gm'), css: 'preprocessor' }, // shebang
|
55 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
|
56 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
|
57 |
+
{ regex: new RegExp('(\\$|@|%)\\w+', 'g'), css: 'variable' },
|
58 |
+
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' },
|
59 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
|
60 |
+
];
|
61 |
+
|
62 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
|
63 |
+
}
|
64 |
+
|
65 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
66 |
+
Brush.aliases = ['perl', 'Perl', 'pl'];
|
67 |
+
|
68 |
+
SyntaxHighlighter.brushes.Perl = Brush;
|
69 |
+
|
70 |
+
// CommonJS
|
71 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
72 |
+
})();
|
syntaxhighlighter3/scripts/shBrushPhp.js
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
var funcs = 'abs acos acosh addcslashes addslashes ' +
|
25 |
+
'array_change_key_case array_chunk array_combine array_count_values array_diff '+
|
26 |
+
'array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill '+
|
27 |
+
'array_filter array_flip array_intersect array_intersect_assoc array_intersect_key '+
|
28 |
+
'array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map '+
|
29 |
+
'array_merge array_merge_recursive array_multisort array_pad array_pop array_product '+
|
30 |
+
'array_push array_rand array_reduce array_reverse array_search array_shift '+
|
31 |
+
'array_slice array_splice array_sum array_udiff array_udiff_assoc '+
|
32 |
+
'array_udiff_uassoc array_uintersect array_uintersect_assoc '+
|
33 |
+
'array_uintersect_uassoc array_unique array_unshift array_values array_walk '+
|
34 |
+
'array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert '+
|
35 |
+
'basename bcadd bccomp bcdiv bcmod bcmul bindec bindtextdomain bzclose bzcompress '+
|
36 |
+
'bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite ceil chdir '+
|
37 |
+
'checkdate checkdnsrr chgrp chmod chop chown chr chroot chunk_split class_exists '+
|
38 |
+
'closedir closelog copy cos cosh count count_chars date decbin dechex decoct '+
|
39 |
+
'deg2rad delete ebcdic2ascii echo empty end ereg ereg_replace eregi eregi_replace error_log '+
|
40 |
+
'error_reporting escapeshellarg escapeshellcmd eval exec exit exp explode extension_loaded '+
|
41 |
+
'feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents '+
|
42 |
+
'fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype '+
|
43 |
+
'floatval flock floor flush fmod fnmatch fopen fpassthru fprintf fputcsv fputs fread fscanf '+
|
44 |
+
'fseek fsockopen fstat ftell ftok getallheaders getcwd getdate getenv gethostbyaddr gethostbyname '+
|
45 |
+
'gethostbynamel getimagesize getlastmod getmxrr getmygid getmyinode getmypid getmyuid getopt '+
|
46 |
+
'getprotobyname getprotobynumber getrandmax getrusage getservbyname getservbyport gettext '+
|
47 |
+
'gettimeofday gettype glob gmdate gmmktime ini_alter ini_get ini_get_all ini_restore ini_set '+
|
48 |
+
'interface_exists intval ip2long is_a is_array is_bool is_callable is_dir is_double '+
|
49 |
+
'is_executable is_file is_finite is_float is_infinite is_int is_integer is_link is_long '+
|
50 |
+
'is_nan is_null is_numeric is_object is_readable is_real is_resource is_scalar is_soap_fault '+
|
51 |
+
'is_string is_subclass_of is_uploaded_file is_writable is_writeable mkdir mktime nl2br '+
|
52 |
+
'parse_ini_file parse_str parse_url passthru pathinfo print readlink realpath rewind rewinddir rmdir '+
|
53 |
+
'round str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split '+
|
54 |
+
'str_word_count strcasecmp strchr strcmp strcoll strcspn strftime strip_tags stripcslashes '+
|
55 |
+
'stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpbrk '+
|
56 |
+
'strpos strptime strrchr strrev strripos strrpos strspn strstr strtok strtolower strtotime '+
|
57 |
+
'strtoupper strtr strval substr substr_compare';
|
58 |
+
|
59 |
+
var keywords = 'abstract and array as break case catch cfunction class clone const continue declare default die do ' +
|
60 |
+
'else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach ' +
|
61 |
+
'function include include_once global goto if implements interface instanceof namespace new ' +
|
62 |
+
'old_function or private protected public return require require_once static switch ' +
|
63 |
+
'throw try use var while xor ';
|
64 |
+
|
65 |
+
var constants = '__FILE__ __LINE__ __METHOD__ __FUNCTION__ __CLASS__';
|
66 |
+
|
67 |
+
this.regexList = [
|
68 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
69 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
70 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
71 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
72 |
+
{ regex: /\$\w+/g, css: 'variable' }, // variables
|
73 |
+
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // common functions
|
74 |
+
{ regex: new RegExp(this.getKeywords(constants), 'gmi'), css: 'constants' }, // constants
|
75 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword
|
76 |
+
];
|
77 |
+
|
78 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
|
79 |
+
};
|
80 |
+
|
81 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
82 |
+
Brush.aliases = ['php'];
|
83 |
+
|
84 |
+
SyntaxHighlighter.brushes.Php = Brush;
|
85 |
+
|
86 |
+
// CommonJS
|
87 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
88 |
+
})();
|
syntaxhighlighter3/scripts/shBrushPlain.js
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
};
|
25 |
+
|
26 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
27 |
+
Brush.aliases = ['text', 'plain'];
|
28 |
+
|
29 |
+
SyntaxHighlighter.brushes.Plain = Brush;
|
30 |
+
|
31 |
+
// CommonJS
|
32 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
33 |
+
})();
|
syntaxhighlighter3/scripts/shBrushPowerShell.js
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributes by B.v.Zanten, Getronics
|
25 |
+
// http://confluence.atlassian.com/display/CONFEXT/New+Code+Macro
|
26 |
+
|
27 |
+
var keywords = 'Add-Content Add-History Add-Member Add-PSSnapin Clear(-Content)? Clear-Item ' +
|
28 |
+
'Clear-ItemProperty Clear-Variable Compare-Object ConvertFrom-SecureString Convert-Path ' +
|
29 |
+
'ConvertTo-Html ConvertTo-SecureString Copy(-Item)? Copy-ItemProperty Export-Alias ' +
|
30 |
+
'Export-Clixml Export-Console Export-Csv ForEach(-Object)? Format-Custom Format-List ' +
|
31 |
+
'Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command ' +
|
32 |
+
'Get-Content Get-Credential Get-Culture Get-Date Get-EventLog Get-ExecutionPolicy ' +
|
33 |
+
'Get-Help Get-History Get-Host Get-Item Get-ItemProperty Get-Location Get-Member ' +
|
34 |
+
'Get-PfxCertificate Get-Process Get-PSDrive Get-PSProvider Get-PSSnapin Get-Service ' +
|
35 |
+
'Get-TraceSource Get-UICulture Get-Unique Get-Variable Get-WmiObject Group-Object ' +
|
36 |
+
'Import-Alias Import-Clixml Import-Csv Invoke-Expression Invoke-History Invoke-Item ' +
|
37 |
+
'Join-Path Measure-Command Measure-Object Move(-Item)? Move-ItemProperty New-Alias ' +
|
38 |
+
'New-Item New-ItemProperty New-Object New-PSDrive New-Service New-TimeSpan ' +
|
39 |
+
'New-Variable Out-Default Out-File Out-Host Out-Null Out-Printer Out-String Pop-Location ' +
|
40 |
+
'Push-Location Read-Host Remove-Item Remove-ItemProperty Remove-PSDrive Remove-PSSnapin ' +
|
41 |
+
'Remove-Variable Rename-Item Rename-ItemProperty Resolve-Path Restart-Service Resume-Service ' +
|
42 |
+
'Select-Object Select-String Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content ' +
|
43 |
+
'Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-Location Set-PSDebug ' +
|
44 |
+
'Set-Service Set-TraceSource Set(-Variable)? Sort-Object Split-Path Start-Service ' +
|
45 |
+
'Start-Sleep Start-Transcript Stop-Process Stop-Service Stop-Transcript Suspend-Service ' +
|
46 |
+
'Tee-Object Test-Path Trace-Command Update-FormatData Update-TypeData Where(-Object)? ' +
|
47 |
+
'Write-Debug Write-Error Write(-Host)? Write-Output Write-Progress Write-Verbose Write-Warning';
|
48 |
+
var alias = 'ac asnp clc cli clp clv cpi cpp cvpa diff epal epcsv fc fl ' +
|
49 |
+
'ft fw gal gc gci gcm gdr ghy gi gl gm gp gps group gsv ' +
|
50 |
+
'gsnp gu gv gwmi iex ihy ii ipal ipcsv mi mp nal ndr ni nv oh rdr ' +
|
51 |
+
'ri rni rnp rp rsnp rv rvpa sal sasv sc select si sl sleep sort sp ' +
|
52 |
+
'spps spsv sv tee cat cd cp h history kill lp ls ' +
|
53 |
+
'mount mv popd ps pushd pwd r rm rmdir echo cls chdir del dir ' +
|
54 |
+
'erase rd ren type % \\?';
|
55 |
+
|
56 |
+
this.regexList = [
|
57 |
+
{ regex: /#.*$/gm, css: 'comments' }, // one line comments
|
58 |
+
{ regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // variables $Computer1
|
59 |
+
{ regex: /\-[a-zA-Z]+\b/g, css: 'keyword' }, // Operators -not -and -eq
|
60 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
61 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
62 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' },
|
63 |
+
{ regex: new RegExp(this.getKeywords(alias), 'gmi'), css: 'keyword' }
|
64 |
+
];
|
65 |
+
};
|
66 |
+
|
67 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
68 |
+
Brush.aliases = ['powershell', 'ps'];
|
69 |
+
|
70 |
+
SyntaxHighlighter.brushes.PowerShell = Brush;
|
71 |
+
|
72 |
+
// CommonJS
|
73 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
74 |
+
})();
|
syntaxhighlighter3/scripts/shBrushPython.js
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributed by Gheorghe Milas and Ahmad Sherif
|
25 |
+
|
26 |
+
var keywords = 'and assert break class continue def del elif else ' +
|
27 |
+
'except exec finally for from global if import in is ' +
|
28 |
+
'lambda not or pass print raise return try yield while';
|
29 |
+
|
30 |
+
var funcs = '__import__ abs all any apply basestring bin bool buffer callable ' +
|
31 |
+
'chr classmethod cmp coerce compile complex delattr dict dir ' +
|
32 |
+
'divmod enumerate eval execfile file filter float format frozenset ' +
|
33 |
+
'getattr globals hasattr hash help hex id input int intern ' +
|
34 |
+
'isinstance issubclass iter len list locals long map max min next ' +
|
35 |
+
'object oct open ord pow print property range raw_input reduce ' +
|
36 |
+
'reload repr reversed round set setattr slice sorted staticmethod ' +
|
37 |
+
'str sum super tuple type type unichr unicode vars xrange zip';
|
38 |
+
|
39 |
+
var special = 'None True False self cls class_';
|
40 |
+
|
41 |
+
this.regexList = [
|
42 |
+
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' },
|
43 |
+
{ regex: /^\s*@\w+/gm, css: 'decorator' },
|
44 |
+
{ regex: /(['\"]{3})([^\1])*?\1/gm, css: 'comments' },
|
45 |
+
{ regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm, css: 'string' },
|
46 |
+
{ regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm, css: 'string' },
|
47 |
+
{ regex: /\+|\-|\*|\/|\%|=|==/gm, css: 'keyword' },
|
48 |
+
{ regex: /\b\d+\.?\w*/g, css: 'value' },
|
49 |
+
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' },
|
50 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
|
51 |
+
{ regex: new RegExp(this.getKeywords(special), 'gm'), css: 'color1' }
|
52 |
+
];
|
53 |
+
|
54 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
55 |
+
};
|
56 |
+
|
57 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
58 |
+
Brush.aliases = ['py', 'python'];
|
59 |
+
|
60 |
+
SyntaxHighlighter.brushes.Python = Brush;
|
61 |
+
|
62 |
+
// CommonJS
|
63 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
64 |
+
})();
|
syntaxhighlighter3/scripts/shBrushRuby.js
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributed by Erik Peterson.
|
25 |
+
|
26 |
+
var keywords = 'alias and BEGIN begin break case class def define_method defined do each else elsif ' +
|
27 |
+
'END end ensure false for if in module new next nil not or raise redo rescue retry return ' +
|
28 |
+
'self super then throw true undef unless until when while yield';
|
29 |
+
|
30 |
+
var builtins = 'Array Bignum Binding Class Continuation Dir Exception FalseClass File::Stat File Fixnum Fload ' +
|
31 |
+
'Hash Integer IO MatchData Method Module NilClass Numeric Object Proc Range Regexp String Struct::TMS Symbol ' +
|
32 |
+
'ThreadGroup Thread Time TrueClass';
|
33 |
+
|
34 |
+
this.regexList = [
|
35 |
+
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
|
36 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
37 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
38 |
+
{ regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants
|
39 |
+
{ regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols
|
40 |
+
{ regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class variables
|
41 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
42 |
+
{ regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins
|
43 |
+
];
|
44 |
+
|
45 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
46 |
+
};
|
47 |
+
|
48 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
49 |
+
Brush.aliases = ['ruby', 'rails', 'ror', 'rb'];
|
50 |
+
|
51 |
+
SyntaxHighlighter.brushes.Ruby = Brush;
|
52 |
+
|
53 |
+
// CommonJS
|
54 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
55 |
+
})();
|
syntaxhighlighter3/scripts/shBrushSass.js
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
function getKeywordsCSS(str)
|
25 |
+
{
|
26 |
+
return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b';
|
27 |
+
};
|
28 |
+
|
29 |
+
function getValuesCSS(str)
|
30 |
+
{
|
31 |
+
return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b';
|
32 |
+
};
|
33 |
+
|
34 |
+
var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' +
|
35 |
+
'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +
|
36 |
+
'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +
|
37 |
+
'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +
|
38 |
+
'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' +
|
39 |
+
'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +
|
40 |
+
'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +
|
41 |
+
'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +
|
42 |
+
'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' +
|
43 |
+
'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' +
|
44 |
+
'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +
|
45 |
+
'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' +
|
46 |
+
'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' +
|
47 |
+
'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index';
|
48 |
+
|
49 |
+
var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+
|
50 |
+
'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+
|
51 |
+
'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero digits disc dotted double '+
|
52 |
+
'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+
|
53 |
+
'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+
|
54 |
+
'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+
|
55 |
+
'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+
|
56 |
+
'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+
|
57 |
+
'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+
|
58 |
+
'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+
|
59 |
+
'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+
|
60 |
+
'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+
|
61 |
+
'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+
|
62 |
+
'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow';
|
63 |
+
|
64 |
+
var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif';
|
65 |
+
|
66 |
+
var statements = '!important !default';
|
67 |
+
var preprocessor = '@import @extend @debug @warn @if @for @while @mixin @include';
|
68 |
+
|
69 |
+
var r = SyntaxHighlighter.regexLib;
|
70 |
+
|
71 |
+
this.regexList = [
|
72 |
+
{ regex: r.multiLineCComments, css: 'comments' }, // multiline comments
|
73 |
+
{ regex: r.singleLineCComments, css: 'comments' }, // singleline comments
|
74 |
+
{ regex: r.doubleQuotedString, css: 'string' }, // double quoted strings
|
75 |
+
{ regex: r.singleQuotedString, css: 'string' }, // single quoted strings
|
76 |
+
{ regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors
|
77 |
+
{ regex: /\b(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)\b/g, css: 'value' }, // sizes
|
78 |
+
{ regex: /\$\w+/g, css: 'variable' }, // variables
|
79 |
+
{ regex: new RegExp(this.getKeywords(statements), 'g'), css: 'color3' }, // statements
|
80 |
+
{ regex: new RegExp(this.getKeywords(preprocessor), 'g'), css: 'preprocessor' }, // preprocessor
|
81 |
+
{ regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
|
82 |
+
{ regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values
|
83 |
+
{ regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts
|
84 |
+
];
|
85 |
+
};
|
86 |
+
|
87 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
88 |
+
Brush.aliases = ['sass', 'scss'];
|
89 |
+
|
90 |
+
SyntaxHighlighter.brushes.Sass = Brush;
|
91 |
+
|
92 |
+
// CommonJS
|
93 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
94 |
+
})();
|
syntaxhighlighter3/scripts/shBrushScala.js
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
// Contributed by Yegor Jbanov and David Bernard.
|
25 |
+
|
26 |
+
var keywords = 'val sealed case def true trait implicit forSome import match object null finally super ' +
|
27 |
+
'override try lazy for var catch throw type extends class while with new final yield abstract ' +
|
28 |
+
'else do if return protected private this package false';
|
29 |
+
|
30 |
+
var keyops = '[_:=><%#@]+';
|
31 |
+
|
32 |
+
this.regexList = [
|
33 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
34 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
35 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // multi-line strings
|
36 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double-quoted string
|
37 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
38 |
+
{ regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi, css: 'value' }, // numbers
|
39 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
40 |
+
{ regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword
|
41 |
+
];
|
42 |
+
}
|
43 |
+
|
44 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
45 |
+
Brush.aliases = ['scala'];
|
46 |
+
|
47 |
+
SyntaxHighlighter.brushes.Scala = Brush;
|
48 |
+
|
49 |
+
// CommonJS
|
50 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
51 |
+
})();
|
syntaxhighlighter3/scripts/shBrushSql.js
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
var funcs = 'abs avg case cast coalesce convert count current_timestamp ' +
|
25 |
+
'current_user day isnull left lower month nullif replace right ' +
|
26 |
+
'session_user space substring sum system_user upper user year';
|
27 |
+
|
28 |
+
var keywords = 'absolute action add after alter as asc at authorization begin bigint ' +
|
29 |
+
'binary bit by cascade char character check checkpoint close collate ' +
|
30 |
+
'column commit committed connect connection constraint contains continue ' +
|
31 |
+
'create cube current current_date current_time cursor database date ' +
|
32 |
+
'deallocate dec decimal declare default delete desc distinct double drop ' +
|
33 |
+
'dynamic else end end-exec escape except exec execute false fetch first ' +
|
34 |
+
'float for force foreign forward free from full function global goto grant ' +
|
35 |
+
'group grouping having hour ignore index inner insensitive insert instead ' +
|
36 |
+
'int integer intersect into is isolation key last level load local max min ' +
|
37 |
+
'minute modify move name national nchar next no numeric of off on only ' +
|
38 |
+
'open option order out output partial password precision prepare primary ' +
|
39 |
+
'prior privileges procedure public read real references relative repeatable ' +
|
40 |
+
'restrict return returns revoke rollback rollup rows rule schema scroll ' +
|
41 |
+
'second section select sequence serializable set size smallint static ' +
|
42 |
+
'statistics table temp temporary then time timestamp to top transaction ' +
|
43 |
+
'translation trigger true truncate uncommitted union unique update values ' +
|
44 |
+
'varchar varying view when where with work';
|
45 |
+
|
46 |
+
var operators = 'all and any between cross in join like not null or outer some';
|
47 |
+
|
48 |
+
this.regexList = [
|
49 |
+
{ regex: /--(.*)$/gm, css: 'comments' }, // one line and multiline comments
|
50 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
|
51 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
|
52 |
+
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'color2' }, // functions
|
53 |
+
{ regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
|
54 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
|
55 |
+
];
|
56 |
+
};
|
57 |
+
|
58 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
59 |
+
Brush.aliases = ['sql'];
|
60 |
+
|
61 |
+
SyntaxHighlighter.brushes.Sql = Brush;
|
62 |
+
|
63 |
+
// CommonJS
|
64 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
65 |
+
})();
|
66 |
+
|
syntaxhighlighter3/scripts/shBrushVb.js
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
var keywords = 'AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto ' +
|
25 |
+
'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate ' +
|
26 |
+
'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType ' +
|
27 |
+
'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each ' +
|
28 |
+
'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend ' +
|
29 |
+
'Function Get GetType GoSub GoTo Handles If Implements Imports In ' +
|
30 |
+
'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module ' +
|
31 |
+
'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing ' +
|
32 |
+
'NotInheritable NotOverridable Object On Option Optional Or OrElse ' +
|
33 |
+
'Overloads Overridable Overrides ParamArray Preserve Private Property ' +
|
34 |
+
'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume ' +
|
35 |
+
'Return Select Set Shadows Shared Short Single Static Step Stop String ' +
|
36 |
+
'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until ' +
|
37 |
+
'Variant When While With WithEvents WriteOnly Xor';
|
38 |
+
|
39 |
+
this.regexList = [
|
40 |
+
{ regex: /'.*$/gm, css: 'comments' }, // one line comments
|
41 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
42 |
+
{ regex: /^\s*#.*$/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
|
43 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // vb keyword
|
44 |
+
];
|
45 |
+
|
46 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
47 |
+
};
|
48 |
+
|
49 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
50 |
+
Brush.aliases = ['vb', 'vbnet'];
|
51 |
+
|
52 |
+
SyntaxHighlighter.brushes.Vb = Brush;
|
53 |
+
|
54 |
+
// CommonJS
|
55 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
56 |
+
})();
|
syntaxhighlighter3/scripts/shBrushXml.js
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
;(function()
|
18 |
+
{
|
19 |
+
// CommonJS
|
20 |
+
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
21 |
+
|
22 |
+
function Brush()
|
23 |
+
{
|
24 |
+
function process(match, regexInfo)
|
25 |
+
{
|
26 |
+
var constructor = SyntaxHighlighter.Match,
|
27 |
+
code = match[0],
|
28 |
+
tag = new XRegExp('(<|<)[\\s\\/\\?]*(?<name>[:\\w-\\.]+)', 'xg').exec(code),
|
29 |
+
result = []
|
30 |
+
;
|
31 |
+
|
32 |
+
if (match.attributes != null)
|
33 |
+
{
|
34 |
+
var attributes,
|
35 |
+
regex = new XRegExp('(?<name> [\\w:\\-\\.]+)' +
|
36 |
+
'\\s*=\\s*' +
|
37 |
+
'(?<value> ".*?"|\'.*?\'|\\w+)',
|
38 |
+
'xg');
|
39 |
+
|
40 |
+
while ((attributes = regex.exec(code)) != null)
|
41 |
+
{
|
42 |
+
result.push(new constructor(attributes.name, match.index + attributes.index, 'color1'));
|
43 |
+
result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string'));
|
44 |
+
}
|
45 |
+
}
|
46 |
+
|
47 |
+
if (tag != null)
|
48 |
+
result.push(
|
49 |
+
new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword')
|
50 |
+
);
|
51 |
+
|
52 |
+
return result;
|
53 |
+
}
|
54 |
+
|
55 |
+
this.regexList = [
|
56 |
+
{ regex: new XRegExp('(\\<|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\>|>)', 'gm'), css: 'color2' }, // <![ ... [ ... ]]>
|
57 |
+
{ regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // <!-- ... -->
|
58 |
+
{ regex: new XRegExp('(<|<)[\\s\\/\\?]*(\\w+)(?<attributes>.*?)[\\s\\/\\?]*(>|>)', 'sg'), func: process }
|
59 |
+
];
|
60 |
+
};
|
61 |
+
|
62 |
+
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
63 |
+
Brush.aliases = ['xml', 'xhtml', 'xslt', 'html'];
|
64 |
+
|
65 |
+
SyntaxHighlighter.brushes.Xml = Brush;
|
66 |
+
|
67 |
+
// CommonJS
|
68 |
+
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
69 |
+
})();
|
syntaxhighlighter3/scripts/shCore.js
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('K M;I(M)1S 2U("2a\'t 4k M 4K 2g 3l 4G 4H");(6(){6 r(f,e){I(!M.1R(f))1S 3m("3s 15 4R");K a=f.1w;f=M(f.1m,t(f)+(e||""));I(a)f.1w={1m:a.1m,19:a.19?a.19.1a(0):N};H f}6 t(f){H(f.1J?"g":"")+(f.4s?"i":"")+(f.4p?"m":"")+(f.4v?"x":"")+(f.3n?"y":"")}6 B(f,e,a,b){K c=u.L,d,h,g;v=R;5K{O(;c--;){g=u[c];I(a&g.3r&&(!g.2p||g.2p.W(b))){g.2q.12=e;I((h=g.2q.X(f))&&h.P===e){d={3k:g.2b.W(b,h,a),1C:h};1N}}}}5v(i){1S i}5q{v=11}H d}6 p(f,e,a){I(3b.Z.1i)H f.1i(e,a);O(a=a||0;a<f.L;a++)I(f[a]===e)H a;H-1}M=6(f,e){K a=[],b=M.1B,c=0,d,h;I(M.1R(f)){I(e!==1d)1S 3m("2a\'t 5r 5I 5F 5B 5C 15 5E 5p");H r(f)}I(v)1S 2U("2a\'t W 3l M 59 5m 5g 5x 5i");e=e||"";O(d={2N:11,19:[],2K:6(g){H e.1i(g)>-1},3d:6(g){e+=g}};c<f.L;)I(h=B(f,c,b,d)){a.U(h.3k);c+=h.1C[0].L||1}Y I(h=n.X.W(z[b],f.1a(c))){a.U(h[0]);c+=h[0].L}Y{h=f.3a(c);I(h==="[")b=M.2I;Y I(h==="]")b=M.1B;a.U(h);c++}a=15(a.1K(""),n.Q.W(e,w,""));a.1w={1m:f,19:d.2N?d.19:N};H a};M.3v="1.5.0";M.2I=1;M.1B=2;K C=/\\$(?:(\\d\\d?|[$&`\'])|{([$\\w]+)})/g,w=/[^5h]+|([\\s\\S])(?=[\\s\\S]*\\1)/g,A=/^(?:[?*+]|{\\d+(?:,\\d*)?})\\??/,v=11,u=[],n={X:15.Z.X,1A:15.Z.1A,1C:1r.Z.1C,Q:1r.Z.Q,1e:1r.Z.1e},x=n.X.W(/()??/,"")[1]===1d,D=6(){K f=/^/g;n.1A.W(f,"");H!f.12}(),y=6(){K f=/x/g;n.Q.W("x",f,"");H!f.12}(),E=15.Z.3n!==1d,z={};z[M.2I]=/^(?:\\\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\\29-26-f]{2}|u[\\29-26-f]{4}|c[A-3o-z]|[\\s\\S]))/;z[M.1B]=/^(?:\\\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\\d*|x[\\29-26-f]{2}|u[\\29-26-f]{4}|c[A-3o-z]|[\\s\\S])|\\(\\?[:=!]|[?*+]\\?|{\\d+(?:,\\d*)?}\\??)/;M.1h=6(f,e,a,b){u.U({2q:r(f,"g"+(E?"y":"")),2b:e,3r:a||M.1B,2p:b||N})};M.2n=6(f,e){K a=f+"/"+(e||"");H M.2n[a]||(M.2n[a]=M(f,e))};M.3c=6(f){H r(f,"g")};M.5l=6(f){H f.Q(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g,"\\\\$&")};M.5e=6(f,e,a,b){e=r(e,"g"+(b&&E?"y":""));e.12=a=a||0;f=e.X(f);H b?f&&f.P===a?f:N:f};M.3q=6(){M.1h=6(){1S 2U("2a\'t 55 1h 54 3q")}};M.1R=6(f){H 53.Z.1q.W(f)==="[2m 15]"};M.3p=6(f,e,a,b){O(K c=r(e,"g"),d=-1,h;h=c.X(f);){a.W(b,h,++d,f,c);c.12===h.P&&c.12++}I(e.1J)e.12=0};M.57=6(f,e){H 6 a(b,c){K d=e[c].1I?e[c]:{1I:e[c]},h=r(d.1I,"g"),g=[],i;O(i=0;i<b.L;i++)M.3p(b[i],h,6(k){g.U(d.3j?k[d.3j]||"":k[0])});H c===e.L-1||!g.L?g:a(g,c+1)}([f],0)};15.Z.1p=6(f,e){H J.X(e[0])};15.Z.W=6(f,e){H J.X(e)};15.Z.X=6(f){K e=n.X.1p(J,14),a;I(e){I(!x&&e.L>1&&p(e,"")>-1){a=15(J.1m,n.Q.W(t(J),"g",""));n.Q.W(f.1a(e.P),a,6(){O(K c=1;c<14.L-2;c++)I(14[c]===1d)e[c]=1d})}I(J.1w&&J.1w.19)O(K b=1;b<e.L;b++)I(a=J.1w.19[b-1])e[a]=e[b];!D&&J.1J&&!e[0].L&&J.12>e.P&&J.12--}H e};I(!D)15.Z.1A=6(f){(f=n.X.W(J,f))&&J.1J&&!f[0].L&&J.12>f.P&&J.12--;H!!f};1r.Z.1C=6(f){M.1R(f)||(f=15(f));I(f.1J){K e=n.1C.1p(J,14);f.12=0;H e}H f.X(J)};1r.Z.Q=6(f,e){K a=M.1R(f),b,c;I(a&&1j e.58()==="3f"&&e.1i("${")===-1&&y)H n.Q.1p(J,14);I(a){I(f.1w)b=f.1w.19}Y f+="";I(1j e==="6")c=n.Q.W(J,f,6(){I(b){14[0]=1f 1r(14[0]);O(K d=0;d<b.L;d++)I(b[d])14[0][b[d]]=14[d+1]}I(a&&f.1J)f.12=14[14.L-2]+14[0].L;H e.1p(N,14)});Y{c=J+"";c=n.Q.W(c,f,6(){K d=14;H n.Q.W(e,C,6(h,g,i){I(g)5b(g){24"$":H"$";24"&":H d[0];24"`":H d[d.L-1].1a(0,d[d.L-2]);24"\'":H d[d.L-1].1a(d[d.L-2]+d[0].L);5a:i="";g=+g;I(!g)H h;O(;g>d.L-3;){i=1r.Z.1a.W(g,-1)+i;g=1Q.3i(g/10)}H(g?d[g]||"":"$")+i}Y{g=+i;I(g<=d.L-3)H d[g];g=b?p(b,i):-1;H g>-1?d[g+1]:h}})})}I(a&&f.1J)f.12=0;H c};1r.Z.1e=6(f,e){I(!M.1R(f))H n.1e.1p(J,14);K a=J+"",b=[],c=0,d,h;I(e===1d||+e<0)e=5D;Y{e=1Q.3i(+e);I(!e)H[]}O(f=M.3c(f);d=f.X(a);){I(f.12>c){b.U(a.1a(c,d.P));d.L>1&&d.P<a.L&&3b.Z.U.1p(b,d.1a(1));h=d[0].L;c=f.12;I(b.L>=e)1N}f.12===d.P&&f.12++}I(c===a.L){I(!n.1A.W(f,"")||h)b.U("")}Y b.U(a.1a(c));H b.L>e?b.1a(0,e):b};M.1h(/\\(\\?#[^)]*\\)/,6(f){H n.1A.W(A,f.2S.1a(f.P+f[0].L))?"":"(?:)"});M.1h(/\\((?!\\?)/,6(){J.19.U(N);H"("});M.1h(/\\(\\?<([$\\w]+)>/,6(f){J.19.U(f[1]);J.2N=R;H"("});M.1h(/\\\\k<([\\w$]+)>/,6(f){K e=p(J.19,f[1]);H e>-1?"\\\\"+(e+1)+(3R(f.2S.3a(f.P+f[0].L))?"":"(?:)"):f[0]});M.1h(/\\[\\^?]/,6(f){H f[0]==="[]"?"\\\\b\\\\B":"[\\\\s\\\\S]"});M.1h(/^\\(\\?([5A]+)\\)/,6(f){J.3d(f[1]);H""});M.1h(/(?:\\s+|#.*)+/,6(f){H n.1A.W(A,f.2S.1a(f.P+f[0].L))?"":"(?:)"},M.1B,6(){H J.2K("x")});M.1h(/\\./,6(){H"[\\\\s\\\\S]"},M.1B,6(){H J.2K("s")})})();1j 2e!="1d"&&(2e.M=M);K 1v=6(){6 r(a,b){a.1l.1i(b)!=-1||(a.1l+=" "+b)}6 t(a){H a.1i("3e")==0?a:"3e"+a}6 B(a){H e.1Y.2A[t(a)]}6 p(a,b,c){I(a==N)H N;K d=c!=R?a.3G:[a.2G],h={"#":"1c",".":"1l"}[b.1o(0,1)]||"3h",g,i;g=h!="3h"?b.1o(1):b.5u();I((a[h]||"").1i(g)!=-1)H a;O(a=0;d&&a<d.L&&i==N;a++)i=p(d[a],b,c);H i}6 C(a,b){K c={},d;O(d 2g a)c[d]=a[d];O(d 2g b)c[d]=b[d];H c}6 w(a,b,c,d){6 h(g){g=g||1P.5y;I(!g.1F){g.1F=g.52;g.3N=6(){J.5w=11}}c.W(d||1P,g)}a.3g?a.3g("4U"+b,h):a.4y(b,h,11)}6 A(a,b){K c=e.1Y.2j,d=N;I(c==N){c={};O(K h 2g e.1U){K g=e.1U[h];d=g.4x;I(d!=N){g.1V=h.4w();O(g=0;g<d.L;g++)c[d[g]]=h}}e.1Y.2j=c}d=e.1U[c[a]];d==N&&b!=11&&1P.1X(e.13.1x.1X+(e.13.1x.3E+a));H d}6 v(a,b){O(K c=a.1e("\\n"),d=0;d<c.L;d++)c[d]=b(c[d],d);H c.1K("\\n")}6 u(a,b){I(a==N||a.L==0||a=="\\n")H a;a=a.Q(/</g,"&1y;");a=a.Q(/ {2,}/g,6(c){O(K d="",h=0;h<c.L-1;h++)d+=e.13.1W;H d+" "});I(b!=N)a=v(a,6(c){I(c.L==0)H"";K d="";c=c.Q(/^(&2s;| )+/,6(h){d=h;H""});I(c.L==0)H d;H d+\'<17 1g="\'+b+\'">\'+c+"</17>"});H a}6 n(a,b){a.1e("\\n");O(K c="",d=0;d<50;d++)c+=" ";H a=v(a,6(h){I(h.1i("\\t")==-1)H h;O(K g=0;(g=h.1i("\\t"))!=-1;)h=h.1o(0,g)+c.1o(0,b-g%b)+h.1o(g+1,h.L);H h})}6 x(a){H a.Q(/^\\s+|\\s+$/g,"")}6 D(a,b){I(a.P<b.P)H-1;Y I(a.P>b.P)H 1;Y I(a.L<b.L)H-1;Y I(a.L>b.L)H 1;H 0}6 y(a,b){6 c(k){H k[0]}O(K d=N,h=[],g=b.2D?b.2D:c;(d=b.1I.X(a))!=N;){K i=g(d,b);I(1j i=="3f")i=[1f e.2L(i,d.P,b.23)];h=h.1O(i)}H h}6 E(a){K b=/(.*)((&1G;|&1y;).*)/;H a.Q(e.3A.3M,6(c){K d="",h=N;I(h=b.X(c)){c=h[1];d=h[2]}H\'<a 2h="\'+c+\'">\'+c+"</a>"+d})}6 z(){O(K a=1E.36("1k"),b=[],c=0;c<a.L;c++)a[c].3s=="20"&&b.U(a[c]);H b}6 f(a){a=a.1F;K b=p(a,".20",R);a=p(a,".3O",R);K c=1E.4i("3t");I(!(!a||!b||p(a,"3t"))){B(b.1c);r(b,"1m");O(K d=a.3G,h=[],g=0;g<d.L;g++)h.U(d[g].4z||d[g].4A);h=h.1K("\\r");c.39(1E.4D(h));a.39(c);c.2C();c.4C();w(c,"4u",6(){c.2G.4E(c);b.1l=b.1l.Q("1m","")})}}I(1j 3F!="1d"&&1j M=="1d")M=3F("M").M;K e={2v:{"1g-27":"","2i-1s":1,"2z-1s-2t":11,1M:N,1t:N,"42-45":R,"43-22":4,1u:R,16:R,"3V-17":R,2l:11,"41-40":R,2k:11,"1z-1k":11},13:{1W:"&2s;",2M:R,46:11,44:11,34:"4n",1x:{21:"4o 1m",2P:"?",1X:"1v\\n\\n",3E:"4r\'t 4t 1D O: ",4g:"4m 4B\'t 51 O 1z-1k 4F: ",37:\'<!4T 1z 4S "-//4V//3H 4W 1.0 4Z//4Y" "1Z://2y.3L.3K/4X/3I/3H/3I-4P.4J"><1z 4I="1Z://2y.3L.3K/4L/5L"><3J><4N 1Z-4M="5G-5M" 6K="2O/1z; 6J=6I-8" /><1t>6L 1v</1t></3J><3B 1L="25-6M:6Q,6P,6O,6N-6F;6y-2f:#6x;2f:#6w;25-22:6v;2O-3D:3C;"><T 1L="2O-3D:3C;3w-32:1.6z;"><T 1L="25-22:6A-6E;">1v</T><T 1L="25-22:.6C;3w-6B:6R;"><T>3v 3.0.76 (72 73 3x)</T><T><a 2h="1Z://3u.2w/1v" 1F="38" 1L="2f:#3y">1Z://3u.2w/1v</a></T><T>70 17 6U 71.</T><T>6T 6X-3x 6Y 6D.</T></T><T>6t 61 60 J 1k, 5Z <a 2h="6u://2y.62.2w/63-66/65?64=5X-5W&5P=5O" 1L="2f:#3y">5R</a> 5V <2R/>5U 5T 5S!</T></T></3B></1z>\'}},1Y:{2j:N,2A:{}},1U:{},3A:{6n:/\\/\\*[\\s\\S]*?\\*\\//2c,6m:/\\/\\/.*$/2c,6l:/#.*$/2c,6k:/"([^\\\\"\\n]|\\\\.)*"/g,6o:/\'([^\\\\\'\\n]|\\\\.)*\'/g,6p:1f M(\'"([^\\\\\\\\"]|\\\\\\\\.)*"\',"3z"),6s:1f M("\'([^\\\\\\\\\']|\\\\\\\\.)*\'","3z"),6q:/(&1y;|<)!--[\\s\\S]*?--(&1G;|>)/2c,3M:/\\w+:\\/\\/[\\w-.\\/?%&=:@;]*/g,6a:{18:/(&1y;|<)\\?=?/g,1b:/\\?(&1G;|>)/g},69:{18:/(&1y;|<)%=?/g,1b:/%(&1G;|>)/g},6d:{18:/(&1y;|<)\\s*1k.*?(&1G;|>)/2T,1b:/(&1y;|<)\\/\\s*1k\\s*(&1G;|>)/2T}},16:{1H:6(a){6 b(i,k){H e.16.2o(i,k,e.13.1x[k])}O(K c=\'<T 1g="16">\',d=e.16.2x,h=d.2X,g=0;g<h.L;g++)c+=(d[h[g]].1H||b)(a,h[g]);c+="</T>";H c},2o:6(a,b,c){H\'<2W><a 2h="#" 1g="6e 6h\'+b+" "+b+\'">\'+c+"</a></2W>"},2b:6(a){K b=a.1F,c=b.1l||"";b=B(p(b,".20",R).1c);K d=6(h){H(h=15(h+"6f(\\\\w+)").X(c))?h[1]:N}("6g");b&&d&&e.16.2x[d].2B(b);a.3N()},2x:{2X:["21","2P"],21:{1H:6(a){I(a.V("2l")!=R)H"";K b=a.V("1t");H e.16.2o(a,"21",b?b:e.13.1x.21)},2B:6(a){a=1E.6j(t(a.1c));a.1l=a.1l.Q("47","")}},2P:{2B:6(){K a="68=0";a+=", 18="+(31.30-33)/2+", 32="+(31.2Z-2Y)/2+", 30=33, 2Z=2Y";a=a.Q(/^,/,"");a=1P.6Z("","38",a);a.2C();K b=a.1E;b.6W(e.13.1x.37);b.6V();a.2C()}}}},35:6(a,b){K c;I(b)c=[b];Y{c=1E.36(e.13.34);O(K d=[],h=0;h<c.L;h++)d.U(c[h]);c=d}c=c;d=[];I(e.13.2M)c=c.1O(z());I(c.L===0)H d;O(h=0;h<c.L;h++){O(K g=c[h],i=a,k=c[h].1l,j=3W 0,l={},m=1f M("^\\\\[(?<2V>(.*?))\\\\]$"),s=1f M("(?<27>[\\\\w-]+)\\\\s*:\\\\s*(?<1T>[\\\\w-%#]+|\\\\[.*?\\\\]|\\".*?\\"|\'.*?\')\\\\s*;?","g");(j=s.X(k))!=N;){K o=j.1T.Q(/^[\'"]|[\'"]$/g,"");I(o!=N&&m.1A(o)){o=m.X(o);o=o.2V.L>0?o.2V.1e(/\\s*,\\s*/):[]}l[j.27]=o}g={1F:g,1n:C(i,l)};g.1n.1D!=N&&d.U(g)}H d},1M:6(a,b){K c=J.35(a,b),d=N,h=e.13;I(c.L!==0)O(K g=0;g<c.L;g++){b=c[g];K i=b.1F,k=b.1n,j=k.1D,l;I(j!=N){I(k["1z-1k"]=="R"||e.2v["1z-1k"]==R){d=1f e.4l(j);j="4O"}Y I(d=A(j))d=1f d;Y 6H;l=i.3X;I(h.2M){l=l;K m=x(l),s=11;I(m.1i("<![6G[")==0){m=m.4h(9);s=R}K o=m.L;I(m.1i("]]\\>")==o-3){m=m.4h(0,o-3);s=R}l=s?m:l}I((i.1t||"")!="")k.1t=i.1t;k.1D=j;d.2Q(k);b=d.2F(l);I((i.1c||"")!="")b.1c=i.1c;i.2G.74(b,i)}}},2E:6(a){w(1P,"4k",6(){e.1M(a)})}};e.2E=e.2E;e.1M=e.1M;e.2L=6(a,b,c){J.1T=a;J.P=b;J.L=a.L;J.23=c;J.1V=N};e.2L.Z.1q=6(){H J.1T};e.4l=6(a){6 b(j,l){O(K m=0;m<j.L;m++)j[m].P+=l}K c=A(a),d,h=1f e.1U.5Y,g=J,i="2F 1H 2Q".1e(" ");I(c!=N){d=1f c;O(K k=0;k<i.L;k++)(6(){K j=i[k];g[j]=6(){H h[j].1p(h,14)}})();d.28==N?1P.1X(e.13.1x.1X+(e.13.1x.4g+a)):h.2J.U({1I:d.28.17,2D:6(j){O(K l=j.17,m=[],s=d.2J,o=j.P+j.18.L,F=d.28,q,G=0;G<s.L;G++){q=y(l,s[G]);b(q,o);m=m.1O(q)}I(F.18!=N&&j.18!=N){q=y(j.18,F.18);b(q,j.P);m=m.1O(q)}I(F.1b!=N&&j.1b!=N){q=y(j.1b,F.1b);b(q,j.P+j[0].5Q(j.1b));m=m.1O(q)}O(j=0;j<m.L;j++)m[j].1V=c.1V;H m}})}};e.4j=6(){};e.4j.Z={V:6(a,b){K c=J.1n[a];c=c==N?b:c;K d={"R":R,"11":11}[c];H d==N?c:d},3Y:6(a){H 1E.4i(a)},4c:6(a,b){K c=[];I(a!=N)O(K d=0;d<a.L;d++)I(1j a[d]=="2m")c=c.1O(y(b,a[d]));H J.4e(c.6b(D))},4e:6(a){O(K b=0;b<a.L;b++)I(a[b]!==N)O(K c=a[b],d=c.P+c.L,h=b+1;h<a.L&&a[b]!==N;h++){K g=a[h];I(g!==N)I(g.P>d)1N;Y I(g.P==c.P&&g.L>c.L)a[b]=N;Y I(g.P>=c.P&&g.P<d)a[h]=N}H a},4d:6(a){K b=[],c=2u(J.V("2i-1s"));v(a,6(d,h){b.U(h+c)});H b},3U:6(a){K b=J.V("1M",[]);I(1j b!="2m"&&b.U==N)b=[b];a:{a=a.1q();K c=3W 0;O(c=c=1Q.6c(c||0,0);c<b.L;c++)I(b[c]==a){b=c;1N a}b=-1}H b!=-1},2r:6(a,b,c){a=["1s","6i"+b,"P"+a,"6r"+(b%2==0?1:2).1q()];J.3U(b)&&a.U("67");b==0&&a.U("1N");H\'<T 1g="\'+a.1K(" ")+\'">\'+c+"</T>"},3Q:6(a,b){K c="",d=a.1e("\\n").L,h=2u(J.V("2i-1s")),g=J.V("2z-1s-2t");I(g==R)g=(h+d-1).1q().L;Y I(3R(g)==R)g=0;O(K i=0;i<d;i++){K k=b?b[i]:h+i,j;I(k==0)j=e.13.1W;Y{j=g;O(K l=k.1q();l.L<j;)l="0"+l;j=l}a=j;c+=J.2r(i,k,a)}H c},49:6(a,b){a=x(a);K c=a.1e("\\n");J.V("2z-1s-2t");K d=2u(J.V("2i-1s"));a="";O(K h=J.V("1D"),g=0;g<c.L;g++){K i=c[g],k=/^(&2s;|\\s)+/.X(i),j=N,l=b?b[g]:d+g;I(k!=N){j=k[0].1q();i=i.1o(j.L);j=j.Q(" ",e.13.1W)}i=x(i);I(i.L==0)i=e.13.1W;a+=J.2r(g,l,(j!=N?\'<17 1g="\'+h+\' 5N">\'+j+"</17>":"")+i)}H a},4f:6(a){H a?"<4a>"+a+"</4a>":""},4b:6(a,b){6 c(l){H(l=l?l.1V||g:g)?l+" ":""}O(K d=0,h="",g=J.V("1D",""),i=0;i<b.L;i++){K k=b[i],j;I(!(k===N||k.L===0)){j=c(k);h+=u(a.1o(d,k.P-d),j+"48")+u(k.1T,j+k.23);d=k.P+k.L+(k.75||0)}}h+=u(a.1o(d),c()+"48");H h},1H:6(a){K b="",c=["20"],d;I(J.V("2k")==R)J.1n.16=J.1n.1u=11;1l="20";J.V("2l")==R&&c.U("47");I((1u=J.V("1u"))==11)c.U("6S");c.U(J.V("1g-27"));c.U(J.V("1D"));a=a.Q(/^[ ]*[\\n]+|[\\n]*[ ]*$/g,"").Q(/\\r/g," ");b=J.V("43-22");I(J.V("42-45")==R)a=n(a,b);Y{O(K h="",g=0;g<b;g++)h+=" ";a=a.Q(/\\t/g,h)}a=a;a:{b=a=a;h=/<2R\\s*\\/?>|&1y;2R\\s*\\/?&1G;/2T;I(e.13.46==R)b=b.Q(h,"\\n");I(e.13.44==R)b=b.Q(h,"");b=b.1e("\\n");h=/^\\s*/;g=4Q;O(K i=0;i<b.L&&g>0;i++){K k=b[i];I(x(k).L!=0){k=h.X(k);I(k==N){a=a;1N a}g=1Q.4q(k[0].L,g)}}I(g>0)O(i=0;i<b.L;i++)b[i]=b[i].1o(g);a=b.1K("\\n")}I(1u)d=J.4d(a);b=J.4c(J.2J,a);b=J.4b(a,b);b=J.49(b,d);I(J.V("41-40"))b=E(b);1j 2H!="1d"&&2H.3S&&2H.3S.1C(/5s/)&&c.U("5t");H b=\'<T 1c="\'+t(J.1c)+\'" 1g="\'+c.1K(" ")+\'">\'+(J.V("16")?e.16.1H(J):"")+\'<3Z 5z="0" 5H="0" 5J="0">\'+J.4f(J.V("1t"))+"<3T><3P>"+(1u?\'<2d 1g="1u">\'+J.3Q(a)+"</2d>":"")+\'<2d 1g="17"><T 1g="3O">\'+b+"</T></2d></3P></3T></3Z></T>"},2F:6(a){I(a===N)a="";J.17=a;K b=J.3Y("T");b.3X=J.1H(a);J.V("16")&&w(p(b,".16"),"5c",e.16.2b);J.V("3V-17")&&w(p(b,".17"),"56",f);H b},2Q:6(a){J.1c=""+1Q.5d(1Q.5n()*5k).1q();e.1Y.2A[t(J.1c)]=J;J.1n=C(e.2v,a||{});I(J.V("2k")==R)J.1n.16=J.1n.1u=11},5j:6(a){a=a.Q(/^\\s+|\\s+$/g,"").Q(/\\s+/g,"|");H"\\\\b(?:"+a+")\\\\b"},5f:6(a){J.28={18:{1I:a.18,23:"1k"},1b:{1I:a.1b,23:"1k"},17:1f M("(?<18>"+a.18.1m+")(?<17>.*?)(?<1b>"+a.1b.1m+")","5o")}}};H e}();1j 2e!="1d"&&(2e.1v=1v);',62,441,'||||||function|||||||||||||||||||||||||||||||||||||return|if|this|var|length|XRegExp|null|for|index|replace|true||div|push|getParam|call|exec|else|prototype||false|lastIndex|config|arguments|RegExp|toolbar|code|left|captureNames|slice|right|id|undefined|split|new|class|addToken|indexOf|typeof|script|className|source|params|substr|apply|toString|String|line|title|gutter|SyntaxHighlighter|_xregexp|strings|lt|html|test|OUTSIDE_CLASS|match|brush|document|target|gt|getHtml|regex|global|join|style|highlight|break|concat|window|Math|isRegExp|throw|value|brushes|brushName|space|alert|vars|http|syntaxhighlighter|expandSource|size|css|case|font|Fa|name|htmlScript|dA|can|handler|gm|td|exports|color|in|href|first|discoveredBrushes|light|collapse|object|cache|getButtonHtml|trigger|pattern|getLineHtml|nbsp|numbers|parseInt|defaults|com|items|www|pad|highlighters|execute|focus|func|all|getDiv|parentNode|navigator|INSIDE_CLASS|regexList|hasFlag|Match|useScriptTags|hasNamedCapture|text|help|init|br|input|gi|Error|values|span|list|250|height|width|screen|top|500|tagName|findElements|getElementsByTagName|aboutDialog|_blank|appendChild|charAt|Array|copyAsGlobal|setFlag|highlighter_|string|attachEvent|nodeName|floor|backref|output|the|TypeError|sticky|Za|iterate|freezeTokens|scope|type|textarea|alexgorbatchev|version|margin|2010|005896|gs|regexLib|body|center|align|noBrush|require|childNodes|DTD|xhtml1|head|org|w3|url|preventDefault|container|tr|getLineNumbersHtml|isNaN|userAgent|tbody|isLineHighlighted|quick|void|innerHTML|create|table|links|auto|smart|tab|stripBrs|tabs|bloggerMode|collapsed|plain|getCodeLinesHtml|caption|getMatchesHtml|findMatches|figureOutLineNumbers|removeNestedMatches|getTitleHtml|brushNotHtmlScript|substring|createElement|Highlighter|load|HtmlScript|Brush|pre|expand|multiline|min|Can|ignoreCase|find|blur|extended|toLowerCase|aliases|addEventListener|innerText|textContent|wasn|select|createTextNode|removeChild|option|same|frame|xmlns|dtd|twice|1999|equiv|meta|htmlscript|transitional|1E3|expected|PUBLIC|DOCTYPE|on|W3C|XHTML|TR|EN|Transitional||configured|srcElement|Object|after|run|dblclick|matchChain|valueOf|constructor|default|switch|click|round|execAt|forHtmlScript|token|gimy|functions|getKeywords|1E6|escape|within|random|sgi|another|finally|supply|MSIE|ie|toUpperCase|catch|returnValue|definition|event|border|imsx|constructing|one|Infinity|from|when|Content|cellpadding|flags|cellspacing|try|xhtml|Type|spaces|2930402|hosted_button_id|lastIndexOf|donate|active|development|keep|to|xclick|_s|Xml|please|like|you|paypal|cgi|cmd|webscr|bin|highlighted|scrollbars|aspScriptTags|phpScriptTags|sort|max|scriptScriptTags|toolbar_item|_|command|command_|number|getElementById|doubleQuotedString|singleLinePerlComments|singleLineCComments|multiLineCComments|singleQuotedString|multiLineDoubleQuotedString|xmlComments|alt|multiLineSingleQuotedString|If|https|1em|000|fff|background|5em|xx|bottom|75em|Gorbatchev|large|serif|CDATA|continue|utf|charset|content|About|family|sans|Helvetica|Arial|Geneva|3em|nogutter|Copyright|syntax|close|write|2004|Alex|open|JavaScript|highlighter|July|02|replaceChild|offset|83'.split('|'),0,{}))
|
syntaxhighlighter3/scripts/shLegacy.js
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('3 u={8:{}};u.8={A:4(c,k,l,m,n,o){4 d(a,b){2 a!=1?a:b}4 f(a){2 a!=1?a.E():1}c=c.I(":");3 g=c[0],e={};t={"r":K};M=1;5=8.5;9(3 j R c)e[c[j]]="r";k=f(d(k,5.C));l=f(d(l,5.D));m=f(d(m,5.s));o=f(d(o,5.Q));n=f(d(n,5["x-y"]));2{P:g,C:d(t[e.O],k),D:d(t[e.N],l),s:d({"r":r}[e.s],m),"x-y":d(4(a,b){9(3 h=T S("^"+b+"\\\\[(?<q>\\\\w+)\\\\]$","U"),i=1,p=0;p<a.7;p++)6((i=h.J(a[p]))!=1)2 i.q;2 1}(c,"G"),n)}},F:4(c,k,l,m,n,o){4 d(){9(3 a=H,b=0;b<a.7;b++)6(a[b]!==1){6(z a[b]=="L"&&a[b]!="")2 a[b]+"";6(z a[b]=="X"&&a[b].q!="")2 a[b].q+""}2 1}4 f(a,b,h){h=12.13(h);9(3 i=0;i<h.7;i++)h[i].V("15")==b&&a.Y(h[i])}3 g=[];f(g,c,"Z");f(g,c,"W");6(g.7!==0)9(c=0;c<g.7;c++){3 e=g[c],j=d(e.B["14"],e.10,e.B.v,e.v);6(j!==1){j=u.8.A(j,k,l,m,n,o);8.11(j,e)}}}};',62,68,'|null|return|var|function|defaults|if|length|SyntaxHighlighter|for|||||||||||||||||value|true|collapse|reverse|dp|language||first|line|typeof|parseParams|attributes|gutter|toolbar|toString|HighlightAll|firstline|arguments|split|exec|false|string|result|nocontrols|nogutter|brush|ruler|in|XRegExp|new|gi|getAttribute|textarea|object|push|pre|className|highlight|document|getElementsByTagName|class|name'.split('|'),0,{}))
|
syntaxhighlighter3/styles/shCore.css
ADDED
@@ -0,0 +1,226 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
syntaxhighlighter3/styles/shCoreDefault.css
ADDED
@@ -0,0 +1,328 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.syntaxhighlighter {
|
229 |
+
background-color: white !important;
|
230 |
+
}
|
231 |
+
.syntaxhighlighter .line.alt1 {
|
232 |
+
background-color: white !important;
|
233 |
+
}
|
234 |
+
.syntaxhighlighter .line.alt2 {
|
235 |
+
background-color: white !important;
|
236 |
+
}
|
237 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
238 |
+
background-color: #e0e0e0 !important;
|
239 |
+
}
|
240 |
+
.syntaxhighlighter .line.highlighted.number {
|
241 |
+
color: black !important;
|
242 |
+
}
|
243 |
+
.syntaxhighlighter table caption {
|
244 |
+
color: black !important;
|
245 |
+
}
|
246 |
+
.syntaxhighlighter .gutter {
|
247 |
+
color: #afafaf !important;
|
248 |
+
}
|
249 |
+
.syntaxhighlighter .gutter .line {
|
250 |
+
border-right: 3px solid #6ce26c !important;
|
251 |
+
}
|
252 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
253 |
+
background-color: #6ce26c !important;
|
254 |
+
color: white !important;
|
255 |
+
}
|
256 |
+
.syntaxhighlighter.printing .line .content {
|
257 |
+
border: none !important;
|
258 |
+
}
|
259 |
+
.syntaxhighlighter.collapsed {
|
260 |
+
overflow: visible !important;
|
261 |
+
}
|
262 |
+
.syntaxhighlighter.collapsed .toolbar {
|
263 |
+
color: blue !important;
|
264 |
+
background: white !important;
|
265 |
+
border: 1px solid #6ce26c !important;
|
266 |
+
}
|
267 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
268 |
+
color: blue !important;
|
269 |
+
}
|
270 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
271 |
+
color: red !important;
|
272 |
+
}
|
273 |
+
.syntaxhighlighter .toolbar {
|
274 |
+
color: white !important;
|
275 |
+
background: #6ce26c !important;
|
276 |
+
border: none !important;
|
277 |
+
}
|
278 |
+
.syntaxhighlighter .toolbar a {
|
279 |
+
color: white !important;
|
280 |
+
}
|
281 |
+
.syntaxhighlighter .toolbar a:hover {
|
282 |
+
color: black !important;
|
283 |
+
}
|
284 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
285 |
+
color: black !important;
|
286 |
+
}
|
287 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
288 |
+
color: #008200 !important;
|
289 |
+
}
|
290 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
291 |
+
color: blue !important;
|
292 |
+
}
|
293 |
+
.syntaxhighlighter .keyword {
|
294 |
+
color: #006699 !important;
|
295 |
+
}
|
296 |
+
.syntaxhighlighter .preprocessor {
|
297 |
+
color: gray !important;
|
298 |
+
}
|
299 |
+
.syntaxhighlighter .variable {
|
300 |
+
color: #aa7700 !important;
|
301 |
+
}
|
302 |
+
.syntaxhighlighter .value {
|
303 |
+
color: #009900 !important;
|
304 |
+
}
|
305 |
+
.syntaxhighlighter .functions {
|
306 |
+
color: #ff1493 !important;
|
307 |
+
}
|
308 |
+
.syntaxhighlighter .constants {
|
309 |
+
color: #0066cc !important;
|
310 |
+
}
|
311 |
+
.syntaxhighlighter .script {
|
312 |
+
font-weight: bold !important;
|
313 |
+
color: #006699 !important;
|
314 |
+
background-color: none !important;
|
315 |
+
}
|
316 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
317 |
+
color: gray !important;
|
318 |
+
}
|
319 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
320 |
+
color: #ff1493 !important;
|
321 |
+
}
|
322 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
323 |
+
color: red !important;
|
324 |
+
}
|
325 |
+
|
326 |
+
.syntaxhighlighter .keyword {
|
327 |
+
font-weight: bold !important;
|
328 |
+
}
|
syntaxhighlighter3/styles/shCoreDjango.css
ADDED
@@ -0,0 +1,331 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.syntaxhighlighter {
|
229 |
+
background-color: #0a2b1d !important;
|
230 |
+
}
|
231 |
+
.syntaxhighlighter .line.alt1 {
|
232 |
+
background-color: #0a2b1d !important;
|
233 |
+
}
|
234 |
+
.syntaxhighlighter .line.alt2 {
|
235 |
+
background-color: #0a2b1d !important;
|
236 |
+
}
|
237 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
238 |
+
background-color: #233729 !important;
|
239 |
+
}
|
240 |
+
.syntaxhighlighter .line.highlighted.number {
|
241 |
+
color: white !important;
|
242 |
+
}
|
243 |
+
.syntaxhighlighter table caption {
|
244 |
+
color: #f8f8f8 !important;
|
245 |
+
}
|
246 |
+
.syntaxhighlighter .gutter {
|
247 |
+
color: #497958 !important;
|
248 |
+
}
|
249 |
+
.syntaxhighlighter .gutter .line {
|
250 |
+
border-right: 3px solid #41a83e !important;
|
251 |
+
}
|
252 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
253 |
+
background-color: #41a83e !important;
|
254 |
+
color: #0a2b1d !important;
|
255 |
+
}
|
256 |
+
.syntaxhighlighter.printing .line .content {
|
257 |
+
border: none !important;
|
258 |
+
}
|
259 |
+
.syntaxhighlighter.collapsed {
|
260 |
+
overflow: visible !important;
|
261 |
+
}
|
262 |
+
.syntaxhighlighter.collapsed .toolbar {
|
263 |
+
color: #96dd3b !important;
|
264 |
+
background: black !important;
|
265 |
+
border: 1px solid #41a83e !important;
|
266 |
+
}
|
267 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
268 |
+
color: #96dd3b !important;
|
269 |
+
}
|
270 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
271 |
+
color: white !important;
|
272 |
+
}
|
273 |
+
.syntaxhighlighter .toolbar {
|
274 |
+
color: white !important;
|
275 |
+
background: #41a83e !important;
|
276 |
+
border: none !important;
|
277 |
+
}
|
278 |
+
.syntaxhighlighter .toolbar a {
|
279 |
+
color: white !important;
|
280 |
+
}
|
281 |
+
.syntaxhighlighter .toolbar a:hover {
|
282 |
+
color: #ffe862 !important;
|
283 |
+
}
|
284 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
285 |
+
color: #f8f8f8 !important;
|
286 |
+
}
|
287 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
288 |
+
color: #336442 !important;
|
289 |
+
}
|
290 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
291 |
+
color: #9df39f !important;
|
292 |
+
}
|
293 |
+
.syntaxhighlighter .keyword {
|
294 |
+
color: #96dd3b !important;
|
295 |
+
}
|
296 |
+
.syntaxhighlighter .preprocessor {
|
297 |
+
color: #91bb9e !important;
|
298 |
+
}
|
299 |
+
.syntaxhighlighter .variable {
|
300 |
+
color: #ffaa3e !important;
|
301 |
+
}
|
302 |
+
.syntaxhighlighter .value {
|
303 |
+
color: #f7e741 !important;
|
304 |
+
}
|
305 |
+
.syntaxhighlighter .functions {
|
306 |
+
color: #ffaa3e !important;
|
307 |
+
}
|
308 |
+
.syntaxhighlighter .constants {
|
309 |
+
color: #e0e8ff !important;
|
310 |
+
}
|
311 |
+
.syntaxhighlighter .script {
|
312 |
+
font-weight: bold !important;
|
313 |
+
color: #96dd3b !important;
|
314 |
+
background-color: none !important;
|
315 |
+
}
|
316 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
317 |
+
color: #eb939a !important;
|
318 |
+
}
|
319 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
320 |
+
color: #91bb9e !important;
|
321 |
+
}
|
322 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
323 |
+
color: #edef7d !important;
|
324 |
+
}
|
325 |
+
|
326 |
+
.syntaxhighlighter .comments {
|
327 |
+
font-style: italic !important;
|
328 |
+
}
|
329 |
+
.syntaxhighlighter .keyword {
|
330 |
+
font-weight: bold !important;
|
331 |
+
}
|
syntaxhighlighter3/styles/shCoreEclipse.css
ADDED
@@ -0,0 +1,339 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.syntaxhighlighter {
|
229 |
+
background-color: white !important;
|
230 |
+
}
|
231 |
+
.syntaxhighlighter .line.alt1 {
|
232 |
+
background-color: white !important;
|
233 |
+
}
|
234 |
+
.syntaxhighlighter .line.alt2 {
|
235 |
+
background-color: white !important;
|
236 |
+
}
|
237 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
238 |
+
background-color: #c3defe !important;
|
239 |
+
}
|
240 |
+
.syntaxhighlighter .line.highlighted.number {
|
241 |
+
color: white !important;
|
242 |
+
}
|
243 |
+
.syntaxhighlighter table caption {
|
244 |
+
color: black !important;
|
245 |
+
}
|
246 |
+
.syntaxhighlighter .gutter {
|
247 |
+
color: #787878 !important;
|
248 |
+
}
|
249 |
+
.syntaxhighlighter .gutter .line {
|
250 |
+
border-right: 3px solid #d4d0c8 !important;
|
251 |
+
}
|
252 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
253 |
+
background-color: #d4d0c8 !important;
|
254 |
+
color: white !important;
|
255 |
+
}
|
256 |
+
.syntaxhighlighter.printing .line .content {
|
257 |
+
border: none !important;
|
258 |
+
}
|
259 |
+
.syntaxhighlighter.collapsed {
|
260 |
+
overflow: visible !important;
|
261 |
+
}
|
262 |
+
.syntaxhighlighter.collapsed .toolbar {
|
263 |
+
color: #3f5fbf !important;
|
264 |
+
background: white !important;
|
265 |
+
border: 1px solid #d4d0c8 !important;
|
266 |
+
}
|
267 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
268 |
+
color: #3f5fbf !important;
|
269 |
+
}
|
270 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
271 |
+
color: #aa7700 !important;
|
272 |
+
}
|
273 |
+
.syntaxhighlighter .toolbar {
|
274 |
+
color: #a0a0a0 !important;
|
275 |
+
background: #d4d0c8 !important;
|
276 |
+
border: none !important;
|
277 |
+
}
|
278 |
+
.syntaxhighlighter .toolbar a {
|
279 |
+
color: #a0a0a0 !important;
|
280 |
+
}
|
281 |
+
.syntaxhighlighter .toolbar a:hover {
|
282 |
+
color: red !important;
|
283 |
+
}
|
284 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
285 |
+
color: black !important;
|
286 |
+
}
|
287 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
288 |
+
color: #3f5fbf !important;
|
289 |
+
}
|
290 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
291 |
+
color: #2a00ff !important;
|
292 |
+
}
|
293 |
+
.syntaxhighlighter .keyword {
|
294 |
+
color: #7f0055 !important;
|
295 |
+
}
|
296 |
+
.syntaxhighlighter .preprocessor {
|
297 |
+
color: #646464 !important;
|
298 |
+
}
|
299 |
+
.syntaxhighlighter .variable {
|
300 |
+
color: #aa7700 !important;
|
301 |
+
}
|
302 |
+
.syntaxhighlighter .value {
|
303 |
+
color: #009900 !important;
|
304 |
+
}
|
305 |
+
.syntaxhighlighter .functions {
|
306 |
+
color: #ff1493 !important;
|
307 |
+
}
|
308 |
+
.syntaxhighlighter .constants {
|
309 |
+
color: #0066cc !important;
|
310 |
+
}
|
311 |
+
.syntaxhighlighter .script {
|
312 |
+
font-weight: bold !important;
|
313 |
+
color: #7f0055 !important;
|
314 |
+
background-color: none !important;
|
315 |
+
}
|
316 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
317 |
+
color: gray !important;
|
318 |
+
}
|
319 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
320 |
+
color: #ff1493 !important;
|
321 |
+
}
|
322 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
323 |
+
color: red !important;
|
324 |
+
}
|
325 |
+
|
326 |
+
.syntaxhighlighter .keyword {
|
327 |
+
font-weight: bold !important;
|
328 |
+
}
|
329 |
+
.syntaxhighlighter .xml .keyword {
|
330 |
+
color: #3f7f7f !important;
|
331 |
+
font-weight: normal !important;
|
332 |
+
}
|
333 |
+
.syntaxhighlighter .xml .color1, .syntaxhighlighter .xml .color1 a {
|
334 |
+
color: #7f007f !important;
|
335 |
+
}
|
336 |
+
.syntaxhighlighter .xml .string {
|
337 |
+
font-style: italic !important;
|
338 |
+
color: #2a00ff !important;
|
339 |
+
}
|
syntaxhighlighter3/styles/shCoreEmacs.css
ADDED
@@ -0,0 +1,324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.syntaxhighlighter {
|
229 |
+
background-color: black !important;
|
230 |
+
}
|
231 |
+
.syntaxhighlighter .line.alt1 {
|
232 |
+
background-color: black !important;
|
233 |
+
}
|
234 |
+
.syntaxhighlighter .line.alt2 {
|
235 |
+
background-color: black !important;
|
236 |
+
}
|
237 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
238 |
+
background-color: #2a3133 !important;
|
239 |
+
}
|
240 |
+
.syntaxhighlighter .line.highlighted.number {
|
241 |
+
color: white !important;
|
242 |
+
}
|
243 |
+
.syntaxhighlighter table caption {
|
244 |
+
color: #d3d3d3 !important;
|
245 |
+
}
|
246 |
+
.syntaxhighlighter .gutter {
|
247 |
+
color: #d3d3d3 !important;
|
248 |
+
}
|
249 |
+
.syntaxhighlighter .gutter .line {
|
250 |
+
border-right: 3px solid #990000 !important;
|
251 |
+
}
|
252 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
253 |
+
background-color: #990000 !important;
|
254 |
+
color: black !important;
|
255 |
+
}
|
256 |
+
.syntaxhighlighter.printing .line .content {
|
257 |
+
border: none !important;
|
258 |
+
}
|
259 |
+
.syntaxhighlighter.collapsed {
|
260 |
+
overflow: visible !important;
|
261 |
+
}
|
262 |
+
.syntaxhighlighter.collapsed .toolbar {
|
263 |
+
color: #ebdb8d !important;
|
264 |
+
background: black !important;
|
265 |
+
border: 1px solid #990000 !important;
|
266 |
+
}
|
267 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
268 |
+
color: #ebdb8d !important;
|
269 |
+
}
|
270 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
271 |
+
color: #ff7d27 !important;
|
272 |
+
}
|
273 |
+
.syntaxhighlighter .toolbar {
|
274 |
+
color: white !important;
|
275 |
+
background: #990000 !important;
|
276 |
+
border: none !important;
|
277 |
+
}
|
278 |
+
.syntaxhighlighter .toolbar a {
|
279 |
+
color: white !important;
|
280 |
+
}
|
281 |
+
.syntaxhighlighter .toolbar a:hover {
|
282 |
+
color: #9ccff4 !important;
|
283 |
+
}
|
284 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
285 |
+
color: #d3d3d3 !important;
|
286 |
+
}
|
287 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
288 |
+
color: #ff7d27 !important;
|
289 |
+
}
|
290 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
291 |
+
color: #ff9e7b !important;
|
292 |
+
}
|
293 |
+
.syntaxhighlighter .keyword {
|
294 |
+
color: aqua !important;
|
295 |
+
}
|
296 |
+
.syntaxhighlighter .preprocessor {
|
297 |
+
color: #aec4de !important;
|
298 |
+
}
|
299 |
+
.syntaxhighlighter .variable {
|
300 |
+
color: #ffaa3e !important;
|
301 |
+
}
|
302 |
+
.syntaxhighlighter .value {
|
303 |
+
color: #009900 !important;
|
304 |
+
}
|
305 |
+
.syntaxhighlighter .functions {
|
306 |
+
color: #81cef9 !important;
|
307 |
+
}
|
308 |
+
.syntaxhighlighter .constants {
|
309 |
+
color: #ff9e7b !important;
|
310 |
+
}
|
311 |
+
.syntaxhighlighter .script {
|
312 |
+
font-weight: bold !important;
|
313 |
+
color: aqua !important;
|
314 |
+
background-color: none !important;
|
315 |
+
}
|
316 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
317 |
+
color: #ebdb8d !important;
|
318 |
+
}
|
319 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
320 |
+
color: #ff7d27 !important;
|
321 |
+
}
|
322 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
323 |
+
color: #aec4de !important;
|
324 |
+
}
|
syntaxhighlighter3/styles/shCoreFadeToGrey.css
ADDED
@@ -0,0 +1,328 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.syntaxhighlighter {
|
229 |
+
background-color: #121212 !important;
|
230 |
+
}
|
231 |
+
.syntaxhighlighter .line.alt1 {
|
232 |
+
background-color: #121212 !important;
|
233 |
+
}
|
234 |
+
.syntaxhighlighter .line.alt2 {
|
235 |
+
background-color: #121212 !important;
|
236 |
+
}
|
237 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
238 |
+
background-color: #2c2c29 !important;
|
239 |
+
}
|
240 |
+
.syntaxhighlighter .line.highlighted.number {
|
241 |
+
color: white !important;
|
242 |
+
}
|
243 |
+
.syntaxhighlighter table caption {
|
244 |
+
color: white !important;
|
245 |
+
}
|
246 |
+
.syntaxhighlighter .gutter {
|
247 |
+
color: #afafaf !important;
|
248 |
+
}
|
249 |
+
.syntaxhighlighter .gutter .line {
|
250 |
+
border-right: 3px solid #3185b9 !important;
|
251 |
+
}
|
252 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
253 |
+
background-color: #3185b9 !important;
|
254 |
+
color: #121212 !important;
|
255 |
+
}
|
256 |
+
.syntaxhighlighter.printing .line .content {
|
257 |
+
border: none !important;
|
258 |
+
}
|
259 |
+
.syntaxhighlighter.collapsed {
|
260 |
+
overflow: visible !important;
|
261 |
+
}
|
262 |
+
.syntaxhighlighter.collapsed .toolbar {
|
263 |
+
color: #3185b9 !important;
|
264 |
+
background: black !important;
|
265 |
+
border: 1px solid #3185b9 !important;
|
266 |
+
}
|
267 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
268 |
+
color: #3185b9 !important;
|
269 |
+
}
|
270 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
271 |
+
color: #d01d33 !important;
|
272 |
+
}
|
273 |
+
.syntaxhighlighter .toolbar {
|
274 |
+
color: white !important;
|
275 |
+
background: #3185b9 !important;
|
276 |
+
border: none !important;
|
277 |
+
}
|
278 |
+
.syntaxhighlighter .toolbar a {
|
279 |
+
color: white !important;
|
280 |
+
}
|
281 |
+
.syntaxhighlighter .toolbar a:hover {
|
282 |
+
color: #96daff !important;
|
283 |
+
}
|
284 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
285 |
+
color: white !important;
|
286 |
+
}
|
287 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
288 |
+
color: #696854 !important;
|
289 |
+
}
|
290 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
291 |
+
color: #e3e658 !important;
|
292 |
+
}
|
293 |
+
.syntaxhighlighter .keyword {
|
294 |
+
color: #d01d33 !important;
|
295 |
+
}
|
296 |
+
.syntaxhighlighter .preprocessor {
|
297 |
+
color: #435a5f !important;
|
298 |
+
}
|
299 |
+
.syntaxhighlighter .variable {
|
300 |
+
color: #898989 !important;
|
301 |
+
}
|
302 |
+
.syntaxhighlighter .value {
|
303 |
+
color: #009900 !important;
|
304 |
+
}
|
305 |
+
.syntaxhighlighter .functions {
|
306 |
+
color: #aaaaaa !important;
|
307 |
+
}
|
308 |
+
.syntaxhighlighter .constants {
|
309 |
+
color: #96daff !important;
|
310 |
+
}
|
311 |
+
.syntaxhighlighter .script {
|
312 |
+
font-weight: bold !important;
|
313 |
+
color: #d01d33 !important;
|
314 |
+
background-color: none !important;
|
315 |
+
}
|
316 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
317 |
+
color: #ffc074 !important;
|
318 |
+
}
|
319 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
320 |
+
color: #4a8cdb !important;
|
321 |
+
}
|
322 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
323 |
+
color: #96daff !important;
|
324 |
+
}
|
325 |
+
|
326 |
+
.syntaxhighlighter .functions {
|
327 |
+
font-weight: bold !important;
|
328 |
+
}
|
syntaxhighlighter3/styles/shCoreMDUltra.css
ADDED
@@ -0,0 +1,324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.syntaxhighlighter {
|
229 |
+
background-color: #222222 !important;
|
230 |
+
}
|
231 |
+
.syntaxhighlighter .line.alt1 {
|
232 |
+
background-color: #222222 !important;
|
233 |
+
}
|
234 |
+
.syntaxhighlighter .line.alt2 {
|
235 |
+
background-color: #222222 !important;
|
236 |
+
}
|
237 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
238 |
+
background-color: #253e5a !important;
|
239 |
+
}
|
240 |
+
.syntaxhighlighter .line.highlighted.number {
|
241 |
+
color: white !important;
|
242 |
+
}
|
243 |
+
.syntaxhighlighter table caption {
|
244 |
+
color: lime !important;
|
245 |
+
}
|
246 |
+
.syntaxhighlighter .gutter {
|
247 |
+
color: #38566f !important;
|
248 |
+
}
|
249 |
+
.syntaxhighlighter .gutter .line {
|
250 |
+
border-right: 3px solid #435a5f !important;
|
251 |
+
}
|
252 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
253 |
+
background-color: #435a5f !important;
|
254 |
+
color: #222222 !important;
|
255 |
+
}
|
256 |
+
.syntaxhighlighter.printing .line .content {
|
257 |
+
border: none !important;
|
258 |
+
}
|
259 |
+
.syntaxhighlighter.collapsed {
|
260 |
+
overflow: visible !important;
|
261 |
+
}
|
262 |
+
.syntaxhighlighter.collapsed .toolbar {
|
263 |
+
color: #428bdd !important;
|
264 |
+
background: black !important;
|
265 |
+
border: 1px solid #435a5f !important;
|
266 |
+
}
|
267 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
268 |
+
color: #428bdd !important;
|
269 |
+
}
|
270 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
271 |
+
color: lime !important;
|
272 |
+
}
|
273 |
+
.syntaxhighlighter .toolbar {
|
274 |
+
color: #aaaaff !important;
|
275 |
+
background: #435a5f !important;
|
276 |
+
border: none !important;
|
277 |
+
}
|
278 |
+
.syntaxhighlighter .toolbar a {
|
279 |
+
color: #aaaaff !important;
|
280 |
+
}
|
281 |
+
.syntaxhighlighter .toolbar a:hover {
|
282 |
+
color: #9ccff4 !important;
|
283 |
+
}
|
284 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
285 |
+
color: lime !important;
|
286 |
+
}
|
287 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
288 |
+
color: #428bdd !important;
|
289 |
+
}
|
290 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
291 |
+
color: lime !important;
|
292 |
+
}
|
293 |
+
.syntaxhighlighter .keyword {
|
294 |
+
color: #aaaaff !important;
|
295 |
+
}
|
296 |
+
.syntaxhighlighter .preprocessor {
|
297 |
+
color: #8aa6c1 !important;
|
298 |
+
}
|
299 |
+
.syntaxhighlighter .variable {
|
300 |
+
color: aqua !important;
|
301 |
+
}
|
302 |
+
.syntaxhighlighter .value {
|
303 |
+
color: #f7e741 !important;
|
304 |
+
}
|
305 |
+
.syntaxhighlighter .functions {
|
306 |
+
color: #ff8000 !important;
|
307 |
+
}
|
308 |
+
.syntaxhighlighter .constants {
|
309 |
+
color: yellow !important;
|
310 |
+
}
|
311 |
+
.syntaxhighlighter .script {
|
312 |
+
font-weight: bold !important;
|
313 |
+
color: #aaaaff !important;
|
314 |
+
background-color: none !important;
|
315 |
+
}
|
316 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
317 |
+
color: red !important;
|
318 |
+
}
|
319 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
320 |
+
color: yellow !important;
|
321 |
+
}
|
322 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
323 |
+
color: #ffaa3e !important;
|
324 |
+
}
|
syntaxhighlighter3/styles/shCoreMidnight.css
ADDED
@@ -0,0 +1,324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.syntaxhighlighter {
|
229 |
+
background-color: #0f192a !important;
|
230 |
+
}
|
231 |
+
.syntaxhighlighter .line.alt1 {
|
232 |
+
background-color: #0f192a !important;
|
233 |
+
}
|
234 |
+
.syntaxhighlighter .line.alt2 {
|
235 |
+
background-color: #0f192a !important;
|
236 |
+
}
|
237 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
238 |
+
background-color: #253e5a !important;
|
239 |
+
}
|
240 |
+
.syntaxhighlighter .line.highlighted.number {
|
241 |
+
color: #38566f !important;
|
242 |
+
}
|
243 |
+
.syntaxhighlighter table caption {
|
244 |
+
color: #d1edff !important;
|
245 |
+
}
|
246 |
+
.syntaxhighlighter .gutter {
|
247 |
+
color: #afafaf !important;
|
248 |
+
}
|
249 |
+
.syntaxhighlighter .gutter .line {
|
250 |
+
border-right: 3px solid #435a5f !important;
|
251 |
+
}
|
252 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
253 |
+
background-color: #435a5f !important;
|
254 |
+
color: #0f192a !important;
|
255 |
+
}
|
256 |
+
.syntaxhighlighter.printing .line .content {
|
257 |
+
border: none !important;
|
258 |
+
}
|
259 |
+
.syntaxhighlighter.collapsed {
|
260 |
+
overflow: visible !important;
|
261 |
+
}
|
262 |
+
.syntaxhighlighter.collapsed .toolbar {
|
263 |
+
color: #428bdd !important;
|
264 |
+
background: black !important;
|
265 |
+
border: 1px solid #435a5f !important;
|
266 |
+
}
|
267 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
268 |
+
color: #428bdd !important;
|
269 |
+
}
|
270 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
271 |
+
color: #1dc116 !important;
|
272 |
+
}
|
273 |
+
.syntaxhighlighter .toolbar {
|
274 |
+
color: #d1edff !important;
|
275 |
+
background: #435a5f !important;
|
276 |
+
border: none !important;
|
277 |
+
}
|
278 |
+
.syntaxhighlighter .toolbar a {
|
279 |
+
color: #d1edff !important;
|
280 |
+
}
|
281 |
+
.syntaxhighlighter .toolbar a:hover {
|
282 |
+
color: #8aa6c1 !important;
|
283 |
+
}
|
284 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
285 |
+
color: #d1edff !important;
|
286 |
+
}
|
287 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
288 |
+
color: #428bdd !important;
|
289 |
+
}
|
290 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
291 |
+
color: #1dc116 !important;
|
292 |
+
}
|
293 |
+
.syntaxhighlighter .keyword {
|
294 |
+
color: #b43d3d !important;
|
295 |
+
}
|
296 |
+
.syntaxhighlighter .preprocessor {
|
297 |
+
color: #8aa6c1 !important;
|
298 |
+
}
|
299 |
+
.syntaxhighlighter .variable {
|
300 |
+
color: #ffaa3e !important;
|
301 |
+
}
|
302 |
+
.syntaxhighlighter .value {
|
303 |
+
color: #f7e741 !important;
|
304 |
+
}
|
305 |
+
.syntaxhighlighter .functions {
|
306 |
+
color: #ffaa3e !important;
|
307 |
+
}
|
308 |
+
.syntaxhighlighter .constants {
|
309 |
+
color: #e0e8ff !important;
|
310 |
+
}
|
311 |
+
.syntaxhighlighter .script {
|
312 |
+
font-weight: bold !important;
|
313 |
+
color: #b43d3d !important;
|
314 |
+
background-color: none !important;
|
315 |
+
}
|
316 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
317 |
+
color: #f8bb00 !important;
|
318 |
+
}
|
319 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
320 |
+
color: white !important;
|
321 |
+
}
|
322 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
323 |
+
color: #ffaa3e !important;
|
324 |
+
}
|
syntaxhighlighter3/styles/shCoreRDark.css
ADDED
@@ -0,0 +1,324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter a,
|
18 |
+
.syntaxhighlighter div,
|
19 |
+
.syntaxhighlighter code,
|
20 |
+
.syntaxhighlighter table,
|
21 |
+
.syntaxhighlighter table td,
|
22 |
+
.syntaxhighlighter table tr,
|
23 |
+
.syntaxhighlighter table tbody,
|
24 |
+
.syntaxhighlighter table thead,
|
25 |
+
.syntaxhighlighter table caption,
|
26 |
+
.syntaxhighlighter textarea {
|
27 |
+
-moz-border-radius: 0 0 0 0 !important;
|
28 |
+
-webkit-border-radius: 0 0 0 0 !important;
|
29 |
+
background: none !important;
|
30 |
+
border: 0 !important;
|
31 |
+
bottom: auto !important;
|
32 |
+
float: none !important;
|
33 |
+
height: auto !important;
|
34 |
+
left: auto !important;
|
35 |
+
line-height: 1.1em !important;
|
36 |
+
margin: 0 !important;
|
37 |
+
outline: 0 !important;
|
38 |
+
overflow: visible !important;
|
39 |
+
padding: 0 !important;
|
40 |
+
position: static !important;
|
41 |
+
right: auto !important;
|
42 |
+
text-align: left !important;
|
43 |
+
top: auto !important;
|
44 |
+
vertical-align: baseline !important;
|
45 |
+
width: auto !important;
|
46 |
+
box-sizing: content-box !important;
|
47 |
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
48 |
+
font-weight: normal !important;
|
49 |
+
font-style: normal !important;
|
50 |
+
font-size: 1em !important;
|
51 |
+
min-height: inherit !important;
|
52 |
+
min-height: auto !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
.syntaxhighlighter {
|
56 |
+
width: 100% !important;
|
57 |
+
margin: 1em 0 1em 0 !important;
|
58 |
+
position: relative !important;
|
59 |
+
overflow: auto !important;
|
60 |
+
font-size: 1em !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter.source {
|
63 |
+
overflow: hidden !important;
|
64 |
+
}
|
65 |
+
.syntaxhighlighter .bold {
|
66 |
+
font-weight: bold !important;
|
67 |
+
}
|
68 |
+
.syntaxhighlighter .italic {
|
69 |
+
font-style: italic !important;
|
70 |
+
}
|
71 |
+
.syntaxhighlighter .line {
|
72 |
+
white-space: pre !important;
|
73 |
+
}
|
74 |
+
.syntaxhighlighter table {
|
75 |
+
width: 100% !important;
|
76 |
+
}
|
77 |
+
.syntaxhighlighter table caption {
|
78 |
+
text-align: left !important;
|
79 |
+
padding: .5em 0 0.5em 1em !important;
|
80 |
+
}
|
81 |
+
.syntaxhighlighter table td.code {
|
82 |
+
width: 100% !important;
|
83 |
+
}
|
84 |
+
.syntaxhighlighter table td.code .container {
|
85 |
+
position: relative !important;
|
86 |
+
}
|
87 |
+
.syntaxhighlighter table td.code .container textarea {
|
88 |
+
box-sizing: border-box !important;
|
89 |
+
position: absolute !important;
|
90 |
+
left: 0 !important;
|
91 |
+
top: 0 !important;
|
92 |
+
width: 100% !important;
|
93 |
+
height: 100% !important;
|
94 |
+
border: none !important;
|
95 |
+
background: white !important;
|
96 |
+
padding-left: 1em !important;
|
97 |
+
overflow: hidden !important;
|
98 |
+
white-space: pre !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter table td.gutter .line {
|
101 |
+
text-align: right !important;
|
102 |
+
padding: 0 0.5em 0 1em !important;
|
103 |
+
}
|
104 |
+
.syntaxhighlighter table td.code .line {
|
105 |
+
padding: 0 1em !important;
|
106 |
+
}
|
107 |
+
.syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
|
108 |
+
padding-left: 0em !important;
|
109 |
+
}
|
110 |
+
.syntaxhighlighter.show {
|
111 |
+
display: block !important;
|
112 |
+
}
|
113 |
+
.syntaxhighlighter.collapsed table {
|
114 |
+
display: none !important;
|
115 |
+
}
|
116 |
+
.syntaxhighlighter.collapsed .toolbar {
|
117 |
+
padding: 0.1em 0.8em 0em 0.8em !important;
|
118 |
+
font-size: 1em !important;
|
119 |
+
position: static !important;
|
120 |
+
width: auto !important;
|
121 |
+
height: auto !important;
|
122 |
+
}
|
123 |
+
.syntaxhighlighter.collapsed .toolbar span {
|
124 |
+
display: inline !important;
|
125 |
+
margin-right: 1em !important;
|
126 |
+
}
|
127 |
+
.syntaxhighlighter.collapsed .toolbar span a {
|
128 |
+
padding: 0 !important;
|
129 |
+
display: none !important;
|
130 |
+
}
|
131 |
+
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
|
132 |
+
display: inline !important;
|
133 |
+
}
|
134 |
+
.syntaxhighlighter .toolbar {
|
135 |
+
position: absolute !important;
|
136 |
+
right: 1px !important;
|
137 |
+
top: 1px !important;
|
138 |
+
width: 11px !important;
|
139 |
+
height: 11px !important;
|
140 |
+
font-size: 10px !important;
|
141 |
+
z-index: 10 !important;
|
142 |
+
}
|
143 |
+
.syntaxhighlighter .toolbar span.title {
|
144 |
+
display: inline !important;
|
145 |
+
}
|
146 |
+
.syntaxhighlighter .toolbar a {
|
147 |
+
display: block !important;
|
148 |
+
text-align: center !important;
|
149 |
+
text-decoration: none !important;
|
150 |
+
padding-top: 1px !important;
|
151 |
+
}
|
152 |
+
.syntaxhighlighter .toolbar a.expandSource {
|
153 |
+
display: none !important;
|
154 |
+
}
|
155 |
+
.syntaxhighlighter.ie {
|
156 |
+
font-size: .9em !important;
|
157 |
+
padding: 1px 0 1px 0 !important;
|
158 |
+
}
|
159 |
+
.syntaxhighlighter.ie .toolbar {
|
160 |
+
line-height: 8px !important;
|
161 |
+
}
|
162 |
+
.syntaxhighlighter.ie .toolbar a {
|
163 |
+
padding-top: 0px !important;
|
164 |
+
}
|
165 |
+
.syntaxhighlighter.printing .line.alt1 .content,
|
166 |
+
.syntaxhighlighter.printing .line.alt2 .content,
|
167 |
+
.syntaxhighlighter.printing .line.highlighted .number,
|
168 |
+
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
169 |
+
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
|
170 |
+
background: none !important;
|
171 |
+
}
|
172 |
+
.syntaxhighlighter.printing .line .number {
|
173 |
+
color: #bbbbbb !important;
|
174 |
+
}
|
175 |
+
.syntaxhighlighter.printing .line .content {
|
176 |
+
color: black !important;
|
177 |
+
}
|
178 |
+
.syntaxhighlighter.printing .toolbar {
|
179 |
+
display: none !important;
|
180 |
+
}
|
181 |
+
.syntaxhighlighter.printing a {
|
182 |
+
text-decoration: none !important;
|
183 |
+
}
|
184 |
+
.syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
|
185 |
+
color: black !important;
|
186 |
+
}
|
187 |
+
.syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
|
188 |
+
color: #008200 !important;
|
189 |
+
}
|
190 |
+
.syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
|
191 |
+
color: blue !important;
|
192 |
+
}
|
193 |
+
.syntaxhighlighter.printing .keyword {
|
194 |
+
color: #006699 !important;
|
195 |
+
font-weight: bold !important;
|
196 |
+
}
|
197 |
+
.syntaxhighlighter.printing .preprocessor {
|
198 |
+
color: gray !important;
|
199 |
+
}
|
200 |
+
.syntaxhighlighter.printing .variable {
|
201 |
+
color: #aa7700 !important;
|
202 |
+
}
|
203 |
+
.syntaxhighlighter.printing .value {
|
204 |
+
color: #009900 !important;
|
205 |
+
}
|
206 |
+
.syntaxhighlighter.printing .functions {
|
207 |
+
color: #ff1493 !important;
|
208 |
+
}
|
209 |
+
.syntaxhighlighter.printing .constants {
|
210 |
+
color: #0066cc !important;
|
211 |
+
}
|
212 |
+
.syntaxhighlighter.printing .script {
|
213 |
+
font-weight: bold !important;
|
214 |
+
}
|
215 |
+
.syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
|
216 |
+
color: gray !important;
|
217 |
+
}
|
218 |
+
.syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
|
219 |
+
color: #ff1493 !important;
|
220 |
+
}
|
221 |
+
.syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
|
222 |
+
color: red !important;
|
223 |
+
}
|
224 |
+
.syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
|
225 |
+
color: black !important;
|
226 |
+
}
|
227 |
+
|
228 |
+
.syntaxhighlighter {
|
229 |
+
background-color: #1b2426 !important;
|
230 |
+
}
|
231 |
+
.syntaxhighlighter .line.alt1 {
|
232 |
+
background-color: #1b2426 !important;
|
233 |
+
}
|
234 |
+
.syntaxhighlighter .line.alt2 {
|
235 |
+
background-color: #1b2426 !important;
|
236 |
+
}
|
237 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
238 |
+
background-color: #323e41 !important;
|
239 |
+
}
|
240 |
+
.syntaxhighlighter .line.highlighted.number {
|
241 |
+
color: #b9bdb6 !important;
|
242 |
+
}
|
243 |
+
.syntaxhighlighter table caption {
|
244 |
+
color: #b9bdb6 !important;
|
245 |
+
}
|
246 |
+
.syntaxhighlighter .gutter {
|
247 |
+
color: #afafaf !important;
|
248 |
+
}
|
249 |
+
.syntaxhighlighter .gutter .line {
|
250 |
+
border-right: 3px solid #435a5f !important;
|
251 |
+
}
|
252 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
253 |
+
background-color: #435a5f !important;
|
254 |
+
color: #1b2426 !important;
|
255 |
+
}
|
256 |
+
.syntaxhighlighter.printing .line .content {
|
257 |
+
border: none !important;
|
258 |
+
}
|
259 |
+
.syntaxhighlighter.collapsed {
|
260 |
+
overflow: visible !important;
|
261 |
+
}
|
262 |
+
.syntaxhighlighter.collapsed .toolbar {
|
263 |
+
color: #5ba1cf !important;
|
264 |
+
background: black !important;
|
265 |
+
border: 1px solid #435a5f !important;
|
266 |
+
}
|
267 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
268 |
+
color: #5ba1cf !important;
|
269 |
+
}
|
270 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
271 |
+
color: #5ce638 !important;
|
272 |
+
}
|
273 |
+
.syntaxhighlighter .toolbar {
|
274 |
+
color: white !important;
|
275 |
+
background: #435a5f !important;
|
276 |
+
border: none !important;
|
277 |
+
}
|
278 |
+
.syntaxhighlighter .toolbar a {
|
279 |
+
color: white !important;
|
280 |
+
}
|
281 |
+
.syntaxhighlighter .toolbar a:hover {
|
282 |
+
color: #e0e8ff !important;
|
283 |
+
}
|
284 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
285 |
+
color: #b9bdb6 !important;
|
286 |
+
}
|
287 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
288 |
+
color: #878a85 !important;
|
289 |
+
}
|
290 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
291 |
+
color: #5ce638 !important;
|
292 |
+
}
|
293 |
+
.syntaxhighlighter .keyword {
|
294 |
+
color: #5ba1cf !important;
|
295 |
+
}
|
296 |
+
.syntaxhighlighter .preprocessor {
|
297 |
+
color: #435a5f !important;
|
298 |
+
}
|
299 |
+
.syntaxhighlighter .variable {
|
300 |
+
color: #ffaa3e !important;
|
301 |
+
}
|
302 |
+
.syntaxhighlighter .value {
|
303 |
+
color: #009900 !important;
|
304 |
+
}
|
305 |
+
.syntaxhighlighter .functions {
|
306 |
+
color: #ffaa3e !important;
|
307 |
+
}
|
308 |
+
.syntaxhighlighter .constants {
|
309 |
+
color: #e0e8ff !important;
|
310 |
+
}
|
311 |
+
.syntaxhighlighter .script {
|
312 |
+
font-weight: bold !important;
|
313 |
+
color: #5ba1cf !important;
|
314 |
+
background-color: none !important;
|
315 |
+
}
|
316 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
317 |
+
color: #e0e8ff !important;
|
318 |
+
}
|
319 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
320 |
+
color: white !important;
|
321 |
+
}
|
322 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
323 |
+
color: #ffaa3e !important;
|
324 |
+
}
|
syntaxhighlighter3/styles/shThemeDefault.css
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter {
|
18 |
+
background-color: white !important;
|
19 |
+
}
|
20 |
+
.syntaxhighlighter .line.alt1 {
|
21 |
+
background-color: white !important;
|
22 |
+
}
|
23 |
+
.syntaxhighlighter .line.alt2 {
|
24 |
+
background-color: white !important;
|
25 |
+
}
|
26 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
27 |
+
background-color: #e0e0e0 !important;
|
28 |
+
}
|
29 |
+
.syntaxhighlighter .line.highlighted.number {
|
30 |
+
color: black !important;
|
31 |
+
}
|
32 |
+
.syntaxhighlighter table caption {
|
33 |
+
color: black !important;
|
34 |
+
}
|
35 |
+
.syntaxhighlighter .gutter {
|
36 |
+
color: #afafaf !important;
|
37 |
+
}
|
38 |
+
.syntaxhighlighter .gutter .line {
|
39 |
+
border-right: 3px solid #6ce26c !important;
|
40 |
+
}
|
41 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
42 |
+
background-color: #6ce26c !important;
|
43 |
+
color: white !important;
|
44 |
+
}
|
45 |
+
.syntaxhighlighter.printing .line .content {
|
46 |
+
border: none !important;
|
47 |
+
}
|
48 |
+
.syntaxhighlighter.collapsed {
|
49 |
+
overflow: visible !important;
|
50 |
+
}
|
51 |
+
.syntaxhighlighter.collapsed .toolbar {
|
52 |
+
color: blue !important;
|
53 |
+
background: white !important;
|
54 |
+
border: 1px solid #6ce26c !important;
|
55 |
+
}
|
56 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
57 |
+
color: blue !important;
|
58 |
+
}
|
59 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
60 |
+
color: red !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter .toolbar {
|
63 |
+
color: white !important;
|
64 |
+
background: #6ce26c !important;
|
65 |
+
border: none !important;
|
66 |
+
}
|
67 |
+
.syntaxhighlighter .toolbar a {
|
68 |
+
color: white !important;
|
69 |
+
}
|
70 |
+
.syntaxhighlighter .toolbar a:hover {
|
71 |
+
color: black !important;
|
72 |
+
}
|
73 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
74 |
+
color: black !important;
|
75 |
+
}
|
76 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
77 |
+
color: #008200 !important;
|
78 |
+
}
|
79 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
80 |
+
color: blue !important;
|
81 |
+
}
|
82 |
+
.syntaxhighlighter .keyword {
|
83 |
+
color: #006699 !important;
|
84 |
+
}
|
85 |
+
.syntaxhighlighter .preprocessor {
|
86 |
+
color: gray !important;
|
87 |
+
}
|
88 |
+
.syntaxhighlighter .variable {
|
89 |
+
color: #aa7700 !important;
|
90 |
+
}
|
91 |
+
.syntaxhighlighter .value {
|
92 |
+
color: #009900 !important;
|
93 |
+
}
|
94 |
+
.syntaxhighlighter .functions {
|
95 |
+
color: #ff1493 !important;
|
96 |
+
}
|
97 |
+
.syntaxhighlighter .constants {
|
98 |
+
color: #0066cc !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter .script {
|
101 |
+
font-weight: bold !important;
|
102 |
+
color: #006699 !important;
|
103 |
+
background-color: none !important;
|
104 |
+
}
|
105 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
106 |
+
color: gray !important;
|
107 |
+
}
|
108 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
109 |
+
color: #ff1493 !important;
|
110 |
+
}
|
111 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
112 |
+
color: red !important;
|
113 |
+
}
|
114 |
+
|
115 |
+
.syntaxhighlighter .keyword {
|
116 |
+
font-weight: bold !important;
|
117 |
+
}
|
syntaxhighlighter3/styles/shThemeDjango.css
ADDED
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter {
|
18 |
+
background-color: #0a2b1d !important;
|
19 |
+
}
|
20 |
+
.syntaxhighlighter .line.alt1 {
|
21 |
+
background-color: #0a2b1d !important;
|
22 |
+
}
|
23 |
+
.syntaxhighlighter .line.alt2 {
|
24 |
+
background-color: #0a2b1d !important;
|
25 |
+
}
|
26 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
27 |
+
background-color: #233729 !important;
|
28 |
+
}
|
29 |
+
.syntaxhighlighter .line.highlighted.number {
|
30 |
+
color: white !important;
|
31 |
+
}
|
32 |
+
.syntaxhighlighter table caption {
|
33 |
+
color: #f8f8f8 !important;
|
34 |
+
}
|
35 |
+
.syntaxhighlighter .gutter {
|
36 |
+
color: #497958 !important;
|
37 |
+
}
|
38 |
+
.syntaxhighlighter .gutter .line {
|
39 |
+
border-right: 3px solid #41a83e !important;
|
40 |
+
}
|
41 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
42 |
+
background-color: #41a83e !important;
|
43 |
+
color: #0a2b1d !important;
|
44 |
+
}
|
45 |
+
.syntaxhighlighter.printing .line .content {
|
46 |
+
border: none !important;
|
47 |
+
}
|
48 |
+
.syntaxhighlighter.collapsed {
|
49 |
+
overflow: visible !important;
|
50 |
+
}
|
51 |
+
.syntaxhighlighter.collapsed .toolbar {
|
52 |
+
color: #96dd3b !important;
|
53 |
+
background: black !important;
|
54 |
+
border: 1px solid #41a83e !important;
|
55 |
+
}
|
56 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
57 |
+
color: #96dd3b !important;
|
58 |
+
}
|
59 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
60 |
+
color: white !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter .toolbar {
|
63 |
+
color: white !important;
|
64 |
+
background: #41a83e !important;
|
65 |
+
border: none !important;
|
66 |
+
}
|
67 |
+
.syntaxhighlighter .toolbar a {
|
68 |
+
color: white !important;
|
69 |
+
}
|
70 |
+
.syntaxhighlighter .toolbar a:hover {
|
71 |
+
color: #ffe862 !important;
|
72 |
+
}
|
73 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
74 |
+
color: #f8f8f8 !important;
|
75 |
+
}
|
76 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
77 |
+
color: #336442 !important;
|
78 |
+
}
|
79 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
80 |
+
color: #9df39f !important;
|
81 |
+
}
|
82 |
+
.syntaxhighlighter .keyword {
|
83 |
+
color: #96dd3b !important;
|
84 |
+
}
|
85 |
+
.syntaxhighlighter .preprocessor {
|
86 |
+
color: #91bb9e !important;
|
87 |
+
}
|
88 |
+
.syntaxhighlighter .variable {
|
89 |
+
color: #ffaa3e !important;
|
90 |
+
}
|
91 |
+
.syntaxhighlighter .value {
|
92 |
+
color: #f7e741 !important;
|
93 |
+
}
|
94 |
+
.syntaxhighlighter .functions {
|
95 |
+
color: #ffaa3e !important;
|
96 |
+
}
|
97 |
+
.syntaxhighlighter .constants {
|
98 |
+
color: #e0e8ff !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter .script {
|
101 |
+
font-weight: bold !important;
|
102 |
+
color: #96dd3b !important;
|
103 |
+
background-color: none !important;
|
104 |
+
}
|
105 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
106 |
+
color: #eb939a !important;
|
107 |
+
}
|
108 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
109 |
+
color: #91bb9e !important;
|
110 |
+
}
|
111 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
112 |
+
color: #edef7d !important;
|
113 |
+
}
|
114 |
+
|
115 |
+
.syntaxhighlighter .comments {
|
116 |
+
font-style: italic !important;
|
117 |
+
}
|
118 |
+
.syntaxhighlighter .keyword {
|
119 |
+
font-weight: bold !important;
|
120 |
+
}
|
syntaxhighlighter3/styles/shThemeEclipse.css
ADDED
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter {
|
18 |
+
background-color: white !important;
|
19 |
+
}
|
20 |
+
.syntaxhighlighter .line.alt1 {
|
21 |
+
background-color: white !important;
|
22 |
+
}
|
23 |
+
.syntaxhighlighter .line.alt2 {
|
24 |
+
background-color: white !important;
|
25 |
+
}
|
26 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
27 |
+
background-color: #c3defe !important;
|
28 |
+
}
|
29 |
+
.syntaxhighlighter .line.highlighted.number {
|
30 |
+
color: white !important;
|
31 |
+
}
|
32 |
+
.syntaxhighlighter table caption {
|
33 |
+
color: black !important;
|
34 |
+
}
|
35 |
+
.syntaxhighlighter .gutter {
|
36 |
+
color: #787878 !important;
|
37 |
+
}
|
38 |
+
.syntaxhighlighter .gutter .line {
|
39 |
+
border-right: 3px solid #d4d0c8 !important;
|
40 |
+
}
|
41 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
42 |
+
background-color: #d4d0c8 !important;
|
43 |
+
color: white !important;
|
44 |
+
}
|
45 |
+
.syntaxhighlighter.printing .line .content {
|
46 |
+
border: none !important;
|
47 |
+
}
|
48 |
+
.syntaxhighlighter.collapsed {
|
49 |
+
overflow: visible !important;
|
50 |
+
}
|
51 |
+
.syntaxhighlighter.collapsed .toolbar {
|
52 |
+
color: #3f5fbf !important;
|
53 |
+
background: white !important;
|
54 |
+
border: 1px solid #d4d0c8 !important;
|
55 |
+
}
|
56 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
57 |
+
color: #3f5fbf !important;
|
58 |
+
}
|
59 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
60 |
+
color: #aa7700 !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter .toolbar {
|
63 |
+
color: #a0a0a0 !important;
|
64 |
+
background: #d4d0c8 !important;
|
65 |
+
border: none !important;
|
66 |
+
}
|
67 |
+
.syntaxhighlighter .toolbar a {
|
68 |
+
color: #a0a0a0 !important;
|
69 |
+
}
|
70 |
+
.syntaxhighlighter .toolbar a:hover {
|
71 |
+
color: red !important;
|
72 |
+
}
|
73 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
74 |
+
color: black !important;
|
75 |
+
}
|
76 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
77 |
+
color: #3f5fbf !important;
|
78 |
+
}
|
79 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
80 |
+
color: #2a00ff !important;
|
81 |
+
}
|
82 |
+
.syntaxhighlighter .keyword {
|
83 |
+
color: #7f0055 !important;
|
84 |
+
}
|
85 |
+
.syntaxhighlighter .preprocessor {
|
86 |
+
color: #646464 !important;
|
87 |
+
}
|
88 |
+
.syntaxhighlighter .variable {
|
89 |
+
color: #aa7700 !important;
|
90 |
+
}
|
91 |
+
.syntaxhighlighter .value {
|
92 |
+
color: #009900 !important;
|
93 |
+
}
|
94 |
+
.syntaxhighlighter .functions {
|
95 |
+
color: #ff1493 !important;
|
96 |
+
}
|
97 |
+
.syntaxhighlighter .constants {
|
98 |
+
color: #0066cc !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter .script {
|
101 |
+
font-weight: bold !important;
|
102 |
+
color: #7f0055 !important;
|
103 |
+
background-color: none !important;
|
104 |
+
}
|
105 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
106 |
+
color: gray !important;
|
107 |
+
}
|
108 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
109 |
+
color: #ff1493 !important;
|
110 |
+
}
|
111 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
112 |
+
color: red !important;
|
113 |
+
}
|
114 |
+
|
115 |
+
.syntaxhighlighter .keyword {
|
116 |
+
font-weight: bold !important;
|
117 |
+
}
|
118 |
+
.syntaxhighlighter .xml .keyword {
|
119 |
+
color: #3f7f7f !important;
|
120 |
+
font-weight: normal !important;
|
121 |
+
}
|
122 |
+
.syntaxhighlighter .xml .color1, .syntaxhighlighter .xml .color1 a {
|
123 |
+
color: #7f007f !important;
|
124 |
+
}
|
125 |
+
.syntaxhighlighter .xml .string {
|
126 |
+
font-style: italic !important;
|
127 |
+
color: #2a00ff !important;
|
128 |
+
}
|
syntaxhighlighter3/styles/shThemeEmacs.css
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter {
|
18 |
+
background-color: black !important;
|
19 |
+
}
|
20 |
+
.syntaxhighlighter .line.alt1 {
|
21 |
+
background-color: black !important;
|
22 |
+
}
|
23 |
+
.syntaxhighlighter .line.alt2 {
|
24 |
+
background-color: black !important;
|
25 |
+
}
|
26 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
27 |
+
background-color: #2a3133 !important;
|
28 |
+
}
|
29 |
+
.syntaxhighlighter .line.highlighted.number {
|
30 |
+
color: white !important;
|
31 |
+
}
|
32 |
+
.syntaxhighlighter table caption {
|
33 |
+
color: #d3d3d3 !important;
|
34 |
+
}
|
35 |
+
.syntaxhighlighter .gutter {
|
36 |
+
color: #d3d3d3 !important;
|
37 |
+
}
|
38 |
+
.syntaxhighlighter .gutter .line {
|
39 |
+
border-right: 3px solid #990000 !important;
|
40 |
+
}
|
41 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
42 |
+
background-color: #990000 !important;
|
43 |
+
color: black !important;
|
44 |
+
}
|
45 |
+
.syntaxhighlighter.printing .line .content {
|
46 |
+
border: none !important;
|
47 |
+
}
|
48 |
+
.syntaxhighlighter.collapsed {
|
49 |
+
overflow: visible !important;
|
50 |
+
}
|
51 |
+
.syntaxhighlighter.collapsed .toolbar {
|
52 |
+
color: #ebdb8d !important;
|
53 |
+
background: black !important;
|
54 |
+
border: 1px solid #990000 !important;
|
55 |
+
}
|
56 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
57 |
+
color: #ebdb8d !important;
|
58 |
+
}
|
59 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
60 |
+
color: #ff7d27 !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter .toolbar {
|
63 |
+
color: white !important;
|
64 |
+
background: #990000 !important;
|
65 |
+
border: none !important;
|
66 |
+
}
|
67 |
+
.syntaxhighlighter .toolbar a {
|
68 |
+
color: white !important;
|
69 |
+
}
|
70 |
+
.syntaxhighlighter .toolbar a:hover {
|
71 |
+
color: #9ccff4 !important;
|
72 |
+
}
|
73 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
74 |
+
color: #d3d3d3 !important;
|
75 |
+
}
|
76 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
77 |
+
color: #ff7d27 !important;
|
78 |
+
}
|
79 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
80 |
+
color: #ff9e7b !important;
|
81 |
+
}
|
82 |
+
.syntaxhighlighter .keyword {
|
83 |
+
color: aqua !important;
|
84 |
+
}
|
85 |
+
.syntaxhighlighter .preprocessor {
|
86 |
+
color: #aec4de !important;
|
87 |
+
}
|
88 |
+
.syntaxhighlighter .variable {
|
89 |
+
color: #ffaa3e !important;
|
90 |
+
}
|
91 |
+
.syntaxhighlighter .value {
|
92 |
+
color: #009900 !important;
|
93 |
+
}
|
94 |
+
.syntaxhighlighter .functions {
|
95 |
+
color: #81cef9 !important;
|
96 |
+
}
|
97 |
+
.syntaxhighlighter .constants {
|
98 |
+
color: #ff9e7b !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter .script {
|
101 |
+
font-weight: bold !important;
|
102 |
+
color: aqua !important;
|
103 |
+
background-color: none !important;
|
104 |
+
}
|
105 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
106 |
+
color: #ebdb8d !important;
|
107 |
+
}
|
108 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
109 |
+
color: #ff7d27 !important;
|
110 |
+
}
|
111 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
112 |
+
color: #aec4de !important;
|
113 |
+
}
|
syntaxhighlighter3/styles/shThemeFadeToGrey.css
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter {
|
18 |
+
background-color: #121212 !important;
|
19 |
+
}
|
20 |
+
.syntaxhighlighter .line.alt1 {
|
21 |
+
background-color: #121212 !important;
|
22 |
+
}
|
23 |
+
.syntaxhighlighter .line.alt2 {
|
24 |
+
background-color: #121212 !important;
|
25 |
+
}
|
26 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
27 |
+
background-color: #2c2c29 !important;
|
28 |
+
}
|
29 |
+
.syntaxhighlighter .line.highlighted.number {
|
30 |
+
color: white !important;
|
31 |
+
}
|
32 |
+
.syntaxhighlighter table caption {
|
33 |
+
color: white !important;
|
34 |
+
}
|
35 |
+
.syntaxhighlighter .gutter {
|
36 |
+
color: #afafaf !important;
|
37 |
+
}
|
38 |
+
.syntaxhighlighter .gutter .line {
|
39 |
+
border-right: 3px solid #3185b9 !important;
|
40 |
+
}
|
41 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
42 |
+
background-color: #3185b9 !important;
|
43 |
+
color: #121212 !important;
|
44 |
+
}
|
45 |
+
.syntaxhighlighter.printing .line .content {
|
46 |
+
border: none !important;
|
47 |
+
}
|
48 |
+
.syntaxhighlighter.collapsed {
|
49 |
+
overflow: visible !important;
|
50 |
+
}
|
51 |
+
.syntaxhighlighter.collapsed .toolbar {
|
52 |
+
color: #3185b9 !important;
|
53 |
+
background: black !important;
|
54 |
+
border: 1px solid #3185b9 !important;
|
55 |
+
}
|
56 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
57 |
+
color: #3185b9 !important;
|
58 |
+
}
|
59 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
60 |
+
color: #d01d33 !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter .toolbar {
|
63 |
+
color: white !important;
|
64 |
+
background: #3185b9 !important;
|
65 |
+
border: none !important;
|
66 |
+
}
|
67 |
+
.syntaxhighlighter .toolbar a {
|
68 |
+
color: white !important;
|
69 |
+
}
|
70 |
+
.syntaxhighlighter .toolbar a:hover {
|
71 |
+
color: #96daff !important;
|
72 |
+
}
|
73 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
74 |
+
color: white !important;
|
75 |
+
}
|
76 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
77 |
+
color: #696854 !important;
|
78 |
+
}
|
79 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
80 |
+
color: #e3e658 !important;
|
81 |
+
}
|
82 |
+
.syntaxhighlighter .keyword {
|
83 |
+
color: #d01d33 !important;
|
84 |
+
}
|
85 |
+
.syntaxhighlighter .preprocessor {
|
86 |
+
color: #435a5f !important;
|
87 |
+
}
|
88 |
+
.syntaxhighlighter .variable {
|
89 |
+
color: #898989 !important;
|
90 |
+
}
|
91 |
+
.syntaxhighlighter .value {
|
92 |
+
color: #009900 !important;
|
93 |
+
}
|
94 |
+
.syntaxhighlighter .functions {
|
95 |
+
color: #aaaaaa !important;
|
96 |
+
}
|
97 |
+
.syntaxhighlighter .constants {
|
98 |
+
color: #96daff !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter .script {
|
101 |
+
font-weight: bold !important;
|
102 |
+
color: #d01d33 !important;
|
103 |
+
background-color: none !important;
|
104 |
+
}
|
105 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
106 |
+
color: #ffc074 !important;
|
107 |
+
}
|
108 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
109 |
+
color: #4a8cdb !important;
|
110 |
+
}
|
111 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
112 |
+
color: #96daff !important;
|
113 |
+
}
|
114 |
+
|
115 |
+
.syntaxhighlighter .functions {
|
116 |
+
font-weight: bold !important;
|
117 |
+
}
|
syntaxhighlighter3/styles/shThemeMDUltra.css
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter {
|
18 |
+
background-color: #222222 !important;
|
19 |
+
}
|
20 |
+
.syntaxhighlighter .line.alt1 {
|
21 |
+
background-color: #222222 !important;
|
22 |
+
}
|
23 |
+
.syntaxhighlighter .line.alt2 {
|
24 |
+
background-color: #222222 !important;
|
25 |
+
}
|
26 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
27 |
+
background-color: #253e5a !important;
|
28 |
+
}
|
29 |
+
.syntaxhighlighter .line.highlighted.number {
|
30 |
+
color: white !important;
|
31 |
+
}
|
32 |
+
.syntaxhighlighter table caption {
|
33 |
+
color: lime !important;
|
34 |
+
}
|
35 |
+
.syntaxhighlighter .gutter {
|
36 |
+
color: #38566f !important;
|
37 |
+
}
|
38 |
+
.syntaxhighlighter .gutter .line {
|
39 |
+
border-right: 3px solid #435a5f !important;
|
40 |
+
}
|
41 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
42 |
+
background-color: #435a5f !important;
|
43 |
+
color: #222222 !important;
|
44 |
+
}
|
45 |
+
.syntaxhighlighter.printing .line .content {
|
46 |
+
border: none !important;
|
47 |
+
}
|
48 |
+
.syntaxhighlighter.collapsed {
|
49 |
+
overflow: visible !important;
|
50 |
+
}
|
51 |
+
.syntaxhighlighter.collapsed .toolbar {
|
52 |
+
color: #428bdd !important;
|
53 |
+
background: black !important;
|
54 |
+
border: 1px solid #435a5f !important;
|
55 |
+
}
|
56 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
57 |
+
color: #428bdd !important;
|
58 |
+
}
|
59 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
60 |
+
color: lime !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter .toolbar {
|
63 |
+
color: #aaaaff !important;
|
64 |
+
background: #435a5f !important;
|
65 |
+
border: none !important;
|
66 |
+
}
|
67 |
+
.syntaxhighlighter .toolbar a {
|
68 |
+
color: #aaaaff !important;
|
69 |
+
}
|
70 |
+
.syntaxhighlighter .toolbar a:hover {
|
71 |
+
color: #9ccff4 !important;
|
72 |
+
}
|
73 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
74 |
+
color: lime !important;
|
75 |
+
}
|
76 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
77 |
+
color: #428bdd !important;
|
78 |
+
}
|
79 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
80 |
+
color: lime !important;
|
81 |
+
}
|
82 |
+
.syntaxhighlighter .keyword {
|
83 |
+
color: #aaaaff !important;
|
84 |
+
}
|
85 |
+
.syntaxhighlighter .preprocessor {
|
86 |
+
color: #8aa6c1 !important;
|
87 |
+
}
|
88 |
+
.syntaxhighlighter .variable {
|
89 |
+
color: aqua !important;
|
90 |
+
}
|
91 |
+
.syntaxhighlighter .value {
|
92 |
+
color: #f7e741 !important;
|
93 |
+
}
|
94 |
+
.syntaxhighlighter .functions {
|
95 |
+
color: #ff8000 !important;
|
96 |
+
}
|
97 |
+
.syntaxhighlighter .constants {
|
98 |
+
color: yellow !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter .script {
|
101 |
+
font-weight: bold !important;
|
102 |
+
color: #aaaaff !important;
|
103 |
+
background-color: none !important;
|
104 |
+
}
|
105 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
106 |
+
color: red !important;
|
107 |
+
}
|
108 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
109 |
+
color: yellow !important;
|
110 |
+
}
|
111 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
112 |
+
color: #ffaa3e !important;
|
113 |
+
}
|
syntaxhighlighter3/styles/shThemeMidnight.css
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter {
|
18 |
+
background-color: #0f192a !important;
|
19 |
+
}
|
20 |
+
.syntaxhighlighter .line.alt1 {
|
21 |
+
background-color: #0f192a !important;
|
22 |
+
}
|
23 |
+
.syntaxhighlighter .line.alt2 {
|
24 |
+
background-color: #0f192a !important;
|
25 |
+
}
|
26 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
27 |
+
background-color: #253e5a !important;
|
28 |
+
}
|
29 |
+
.syntaxhighlighter .line.highlighted.number {
|
30 |
+
color: #38566f !important;
|
31 |
+
}
|
32 |
+
.syntaxhighlighter table caption {
|
33 |
+
color: #d1edff !important;
|
34 |
+
}
|
35 |
+
.syntaxhighlighter .gutter {
|
36 |
+
color: #afafaf !important;
|
37 |
+
}
|
38 |
+
.syntaxhighlighter .gutter .line {
|
39 |
+
border-right: 3px solid #435a5f !important;
|
40 |
+
}
|
41 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
42 |
+
background-color: #435a5f !important;
|
43 |
+
color: #0f192a !important;
|
44 |
+
}
|
45 |
+
.syntaxhighlighter.printing .line .content {
|
46 |
+
border: none !important;
|
47 |
+
}
|
48 |
+
.syntaxhighlighter.collapsed {
|
49 |
+
overflow: visible !important;
|
50 |
+
}
|
51 |
+
.syntaxhighlighter.collapsed .toolbar {
|
52 |
+
color: #428bdd !important;
|
53 |
+
background: black !important;
|
54 |
+
border: 1px solid #435a5f !important;
|
55 |
+
}
|
56 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
57 |
+
color: #428bdd !important;
|
58 |
+
}
|
59 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
60 |
+
color: #1dc116 !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter .toolbar {
|
63 |
+
color: #d1edff !important;
|
64 |
+
background: #435a5f !important;
|
65 |
+
border: none !important;
|
66 |
+
}
|
67 |
+
.syntaxhighlighter .toolbar a {
|
68 |
+
color: #d1edff !important;
|
69 |
+
}
|
70 |
+
.syntaxhighlighter .toolbar a:hover {
|
71 |
+
color: #8aa6c1 !important;
|
72 |
+
}
|
73 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
74 |
+
color: #d1edff !important;
|
75 |
+
}
|
76 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
77 |
+
color: #428bdd !important;
|
78 |
+
}
|
79 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
80 |
+
color: #1dc116 !important;
|
81 |
+
}
|
82 |
+
.syntaxhighlighter .keyword {
|
83 |
+
color: #b43d3d !important;
|
84 |
+
}
|
85 |
+
.syntaxhighlighter .preprocessor {
|
86 |
+
color: #8aa6c1 !important;
|
87 |
+
}
|
88 |
+
.syntaxhighlighter .variable {
|
89 |
+
color: #ffaa3e !important;
|
90 |
+
}
|
91 |
+
.syntaxhighlighter .value {
|
92 |
+
color: #f7e741 !important;
|
93 |
+
}
|
94 |
+
.syntaxhighlighter .functions {
|
95 |
+
color: #ffaa3e !important;
|
96 |
+
}
|
97 |
+
.syntaxhighlighter .constants {
|
98 |
+
color: #e0e8ff !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter .script {
|
101 |
+
font-weight: bold !important;
|
102 |
+
color: #b43d3d !important;
|
103 |
+
background-color: none !important;
|
104 |
+
}
|
105 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
106 |
+
color: #f8bb00 !important;
|
107 |
+
}
|
108 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
109 |
+
color: white !important;
|
110 |
+
}
|
111 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
112 |
+
color: #ffaa3e !important;
|
113 |
+
}
|
syntaxhighlighter3/styles/shThemeRDark.css
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/SyntaxHighlighter
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 3.0.83 (July 02 2010)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2010 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* Dual licensed under the MIT and GPL licenses.
|
16 |
+
*/
|
17 |
+
.syntaxhighlighter {
|
18 |
+
background-color: #1b2426 !important;
|
19 |
+
}
|
20 |
+
.syntaxhighlighter .line.alt1 {
|
21 |
+
background-color: #1b2426 !important;
|
22 |
+
}
|
23 |
+
.syntaxhighlighter .line.alt2 {
|
24 |
+
background-color: #1b2426 !important;
|
25 |
+
}
|
26 |
+
.syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
|
27 |
+
background-color: #323e41 !important;
|
28 |
+
}
|
29 |
+
.syntaxhighlighter .line.highlighted.number {
|
30 |
+
color: #b9bdb6 !important;
|
31 |
+
}
|
32 |
+
.syntaxhighlighter table caption {
|
33 |
+
color: #b9bdb6 !important;
|
34 |
+
}
|
35 |
+
.syntaxhighlighter .gutter {
|
36 |
+
color: #afafaf !important;
|
37 |
+
}
|
38 |
+
.syntaxhighlighter .gutter .line {
|
39 |
+
border-right: 3px solid #435a5f !important;
|
40 |
+
}
|
41 |
+
.syntaxhighlighter .gutter .line.highlighted {
|
42 |
+
background-color: #435a5f !important;
|
43 |
+
color: #1b2426 !important;
|
44 |
+
}
|
45 |
+
.syntaxhighlighter.printing .line .content {
|
46 |
+
border: none !important;
|
47 |
+
}
|
48 |
+
.syntaxhighlighter.collapsed {
|
49 |
+
overflow: visible !important;
|
50 |
+
}
|
51 |
+
.syntaxhighlighter.collapsed .toolbar {
|
52 |
+
color: #5ba1cf !important;
|
53 |
+
background: black !important;
|
54 |
+
border: 1px solid #435a5f !important;
|
55 |
+
}
|
56 |
+
.syntaxhighlighter.collapsed .toolbar a {
|
57 |
+
color: #5ba1cf !important;
|
58 |
+
}
|
59 |
+
.syntaxhighlighter.collapsed .toolbar a:hover {
|
60 |
+
color: #5ce638 !important;
|
61 |
+
}
|
62 |
+
.syntaxhighlighter .toolbar {
|
63 |
+
color: white !important;
|
64 |
+
background: #435a5f !important;
|
65 |
+
border: none !important;
|
66 |
+
}
|
67 |
+
.syntaxhighlighter .toolbar a {
|
68 |
+
color: white !important;
|
69 |
+
}
|
70 |
+
.syntaxhighlighter .toolbar a:hover {
|
71 |
+
color: #e0e8ff !important;
|
72 |
+
}
|
73 |
+
.syntaxhighlighter .plain, .syntaxhighlighter .plain a {
|
74 |
+
color: #b9bdb6 !important;
|
75 |
+
}
|
76 |
+
.syntaxhighlighter .comments, .syntaxhighlighter .comments a {
|
77 |
+
color: #878a85 !important;
|
78 |
+
}
|
79 |
+
.syntaxhighlighter .string, .syntaxhighlighter .string a {
|
80 |
+
color: #5ce638 !important;
|
81 |
+
}
|
82 |
+
.syntaxhighlighter .keyword {
|
83 |
+
color: #5ba1cf !important;
|
84 |
+
}
|
85 |
+
.syntaxhighlighter .preprocessor {
|
86 |
+
color: #435a5f !important;
|
87 |
+
}
|
88 |
+
.syntaxhighlighter .variable {
|
89 |
+
color: #ffaa3e !important;
|
90 |
+
}
|
91 |
+
.syntaxhighlighter .value {
|
92 |
+
color: #009900 !important;
|
93 |
+
}
|
94 |
+
.syntaxhighlighter .functions {
|
95 |
+
color: #ffaa3e !important;
|
96 |
+
}
|
97 |
+
.syntaxhighlighter .constants {
|
98 |
+
color: #e0e8ff !important;
|
99 |
+
}
|
100 |
+
.syntaxhighlighter .script {
|
101 |
+
font-weight: bold !important;
|
102 |
+
color: #5ba1cf !important;
|
103 |
+
background-color: none !important;
|
104 |
+
}
|
105 |
+
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
|
106 |
+
color: #e0e8ff !important;
|
107 |
+
}
|
108 |
+
.syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
|
109 |
+
color: white !important;
|
110 |
+
}
|
111 |
+
.syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
|
112 |
+
color: #ffaa3e !important;
|
113 |
+
}
|
third-party-brushes/_readme.txt
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Hi.
|
2 |
+
|
3 |
+
If you're trying to add other brushes to this plugin, please don't store
|
4 |
+
them in this folder as they'll be deleted when you upgrade this plugin.
|
5 |
+
|
6 |
+
Instead check out this page on my blog:
|
7 |
+
|
8 |
+
http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-brush-language/
|
9 |
+
|
10 |
+
It explains how to hook into my plugin to add additional brushes.
|
11 |
+
If you follow those instructions, you can store your brush file anywhere
|
12 |
+
you want.
|
13 |
+
|
14 |
+
-Viper
|
third-party-brushes/shBrushClojure.js
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// Contributed by Travis Whitton
|
2 |
+
// http://travis-whitton.blogspot.com/2009/06/syntaxhighlighter-for-clojure.html
|
3 |
+
|
4 |
+
SyntaxHighlighter.brushes.Clojure = function()
|
5 |
+
{
|
6 |
+
var funcs = ':arglists :doc :file :line :macro :name :ns :private :tag :test new alias alter ' +
|
7 |
+
'and apply assert class cond conj count def defmacro defn defstruct deref do ' +
|
8 |
+
'doall dorun doseq dosync eval filter finally find first fn gen-class gensym if ' +
|
9 |
+
'import inc keys let list loop map ns or print println quote rand recur reduce ' +
|
10 |
+
'ref repeat require rest send seq set sort str struct sync take test throw ' +
|
11 |
+
'trampoline try type use var vec when while';
|
12 |
+
|
13 |
+
this.regexList = [
|
14 |
+
{ regex: new RegExp(';[^\]]+$', 'gm'), css: 'comments' },
|
15 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' },
|
16 |
+
{ regex: /\[|\]/g, css: 'keyword' },
|
17 |
+
{ regex: /'[a-z][A-Za-z0-9_]*/g, css: 'color1' }, // symbols
|
18 |
+
{ regex: /:[a-z][A-Za-z0-9_\-]*/g, css: 'color2' }, // keywords
|
19 |
+
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }
|
20 |
+
];
|
21 |
+
|
22 |
+
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
23 |
+
}
|
24 |
+
|
25 |
+
SyntaxHighlighter.brushes.Clojure.prototype = new SyntaxHighlighter.Highlighter();
|
26 |
+
SyntaxHighlighter.brushes.Clojure.aliases = ['clojure', 'Clojure', 'clj'];
|
third-party-brushes/shBrushFSharp.js
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// WTFPL licensed
|
2 |
+
// scratching the surface of research microsoft com/fsharp/manual/spec2.aspx#_Toc207785562
|
3 |
+
// omits reserved-ident-formats, reserved-symbolic-sequence, quote-op-*, symbolic-op, ...
|
4 |
+
SyntaxHighlighter.brushes.FSharp = function()
|
5 |
+
{
|
6 |
+
var keywords = 'abstract and as assert base begin class default delegate do done ' +
|
7 |
+
'downcast downto elif else end exception extern false finally for '+
|
8 |
+
'fun function if in inherit inline interface internal lazy let ' +
|
9 |
+
'match member module mutable namespace new null of open or '+
|
10 |
+
'override private public rec return static struct then to '+
|
11 |
+
'true try type upcast use val void when while with yield';
|
12 |
+
var ocaml = 'asr land lor lsl lsr lxor mod sig';
|
13 |
+
var reserved ='atomic break checked component const constraint constructor '+
|
14 |
+
'continue eager event external fixed functor global include '+
|
15 |
+
'method mixin object parallel process protected pure '+
|
16 |
+
'sealed tailcall trait virtual volatile';
|
17 |
+
var symbolic = 'let! use! do! yield! return! \\| -> <- \\. : \\( \\) \\[ \\] \\[< >\\] \\[\\| \\|\\] '+
|
18 |
+
'\\{ \\} \' # :\\?> :\\? ; ;; :> := _ \\.\\. ::';
|
19 |
+
|
20 |
+
this.regexList = [
|
21 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
22 |
+
{ regex: new RegExp('\\(\\*[\\s\\S]*?\\*\\)', 'gm'), css: 'comments' }, // multiline comments
|
23 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
24 |
+
{ regex: new RegExp('^\\s*#.*', 'gm'), css: 'preprocessor' }, // preprocessor tags like #light
|
25 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // f# keyword
|
26 |
+
//{ regex: new RegExp(this.getKeywords(ocaml), 'gm'), css: 'color1' }, // caml keyword
|
27 |
+
//{ regex: new RegExp(this.getKeywords(reserved), 'gm'), css: 'color2' }, // reserved keyword
|
28 |
+
//{ regex: new RegExp(this.getKeywords(symbolic), 'gm'), css: 'color3' } // symbolic keyword
|
29 |
+
];
|
30 |
+
}
|
31 |
+
|
32 |
+
SyntaxHighlighter.brushes.FSharp.prototype = new SyntaxHighlighter.Highlighter();
|
33 |
+
SyntaxHighlighter.brushes.FSharp.aliases = ['f#', 'f-sharp', 'fsharp'];
|
third-party-brushes/shBrushLatex.js
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* SyntaxHighlighter
|
3 |
+
* http://alexgorbatchev.com/
|
4 |
+
*
|
5 |
+
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
6 |
+
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
7 |
+
*
|
8 |
+
* @version
|
9 |
+
* 2.0.296 (March 01 2009)
|
10 |
+
*
|
11 |
+
* @copyright
|
12 |
+
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
13 |
+
*
|
14 |
+
* @license
|
15 |
+
* This file is part of SyntaxHighlighter.
|
16 |
+
*
|
17 |
+
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
18 |
+
* it under the terms of the GNU General Public License as published by
|
19 |
+
* the Free Software Foundation, either version 3 of the License, or
|
20 |
+
* (at your option) any later version.
|
21 |
+
*
|
22 |
+
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
23 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
+
* GNU General Public License for more details.
|
26 |
+
*
|
27 |
+
* You should have received a copy of the GNU General Public License
|
28 |
+
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/licenses/>.
|
29 |
+
*
|
30 |
+
*
|
31 |
+
* Very simple Latex brush
|
32 |
+
* http://www.jorgemarsal.com/blog/
|
33 |
+
*/
|
34 |
+
|
35 |
+
|
36 |
+
|
37 |
+
SyntaxHighlighter.brushes.Latex = function()
|
38 |
+
{
|
39 |
+
var keywords = 'if fi then elif else for do done until while break continue case function return in eq ne gt lt ge le';
|
40 |
+
//var commands = 'include usepackage begin end ref label includegraphics';
|
41 |
+
|
42 |
+
this.regexList = [
|
43 |
+
{ regex: new RegExp('%.*','gm'), css: 'comments' }, // one line comments
|
44 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
45 |
+
{ regex: new RegExp('\\\\\\w*','gm'), css: 'keyword' }, // commands
|
46 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'function' }, // keywords
|
47 |
+
];
|
48 |
+
}
|
49 |
+
|
50 |
+
SyntaxHighlighter.brushes.Latex.prototype = new SyntaxHighlighter.Highlighter();
|
51 |
+
SyntaxHighlighter.brushes.Latex.aliases = ['latex', 'tex'];
|
52 |
+
|
third-party-brushes/shBrushMatlabKey.js
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Author: Will Schleter
|
3 |
+
* based on: http://www.jamesrohal.com
|
4 |
+
*/
|
5 |
+
SyntaxHighlighter.brushes.MatlabKey = function()
|
6 |
+
{
|
7 |
+
var keywords = 'break case catch classdef continue else elseif end for function global if otherwise parfor persistent return spmd switch try while';
|
8 |
+
var functions = ' ';
|
9 |
+
|
10 |
+
this.regexList = [
|
11 |
+
{ regex: /%.*$/gm, css: 'comments' }, // one line comments
|
12 |
+
{ regex: /\%\{[\s\S]*?\%\}/gm, css: 'comments'}, // multiline comments
|
13 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
|
14 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string'},
|
15 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
|
16 |
+
];
|
17 |
+
}
|
18 |
+
|
19 |
+
SyntaxHighlighter.brushes.MatlabKey.prototype = new SyntaxHighlighter.Highlighter();
|
20 |
+
SyntaxHighlighter.brushes.MatlabKey.aliases = ['matlabkey', 'matlab'];
|
{syntaxhighlighter/scripts → third-party-brushes}/shBrushObjC.js
RENAMED
@@ -14,7 +14,7 @@
|
|
14 |
*
|
15 |
*/
|
16 |
|
17 |
-
|
18 |
|
19 |
var datatypes = 'char bool BOOL double float int long short id void';
|
20 |
|
@@ -31,13 +31,13 @@ dp.sh.Brushes.ObjC = function() {
|
|
31 |
keywords += 'using uuid virtual volatile whcar_t while';
|
32 |
|
33 |
this.regexList = [
|
34 |
-
{ regex:
|
35 |
-
{ regex:
|
36 |
-
{ regex:
|
37 |
-
{ regex:
|
38 |
{ regex: new RegExp('^ *#.*', 'gm'), css: 'preprocessor' }, // preprocessor
|
39 |
-
{ regex: new RegExp(this.
|
40 |
-
{ regex: new RegExp(this.
|
41 |
{ regex: new RegExp('\\bNS\\w+\\b', 'g'), css: 'keyword' }, // keyword
|
42 |
{ regex: new RegExp('@\\w+\\b', 'g'), css: 'keyword' }, // keyword
|
43 |
{ regex: new RegExp('@"(?:\\.|(\\\\\\")|[^\\""\\n])*"', 'g'), css: 'string' } // objc string
|
@@ -45,5 +45,5 @@ dp.sh.Brushes.ObjC = function() {
|
|
45 |
|
46 |
}
|
47 |
|
48 |
-
|
49 |
-
|
14 |
*
|
15 |
*/
|
16 |
|
17 |
+
SyntaxHighlighter.brushes.ObjC = function() {
|
18 |
|
19 |
var datatypes = 'char bool BOOL double float int long short id void';
|
20 |
|
31 |
keywords += 'using uuid virtual volatile whcar_t while';
|
32 |
|
33 |
this.regexList = [
|
34 |
+
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comment' }, // one line comments
|
35 |
+
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comment' }, // multiline comments
|
36 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
37 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
38 |
{ regex: new RegExp('^ *#.*', 'gm'), css: 'preprocessor' }, // preprocessor
|
39 |
+
{ regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'datatypes' }, // datatypes
|
40 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keyword
|
41 |
{ regex: new RegExp('\\bNS\\w+\\b', 'g'), css: 'keyword' }, // keyword
|
42 |
{ regex: new RegExp('@\\w+\\b', 'g'), css: 'keyword' }, // keyword
|
43 |
{ regex: new RegExp('@"(?:\\.|(\\\\\\")|[^\\""\\n])*"', 'g'), css: 'string' } // objc string
|
45 |
|
46 |
}
|
47 |
|
48 |
+
SyntaxHighlighter.brushes.ObjC.prototype = new SyntaxHighlighter.Highlighter();
|
49 |
+
SyntaxHighlighter.brushes.ObjC.aliases = ['objc', 'obj-c'];
|
third-party-brushes/shBrushR.js
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Author: Yihui Xie <xie@yihui.name>
|
3 |
+
* URL: http://yihui.name/en/2010/09/syntaxhighlighter-brush-for-the-r-language
|
4 |
+
* License: GPL-2 | GPL-3
|
5 |
+
*/
|
6 |
+
SyntaxHighlighter.brushes.R = function()
|
7 |
+
{
|
8 |
+
var keywords = 'if else repeat while function for in next break TRUE FALSE NULL Inf NaN NA NA_integer_ NA_real_ NA_complex_ NA_character_';
|
9 |
+
var constants = 'LETTERS letters month.abb month.name pi';
|
10 |
+
this.regexList = [
|
11 |
+
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' },
|
12 |
+
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
|
13 |
+
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
|
14 |
+
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
|
15 |
+
{ regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' },
|
16 |
+
{ regex: /[\w._]+[ \t]*(?=\()/gm, css: 'functions' },
|
17 |
+
];
|
18 |
+
};
|
19 |
+
SyntaxHighlighter.brushes.R.prototype = new SyntaxHighlighter.Highlighter();
|
20 |
+
SyntaxHighlighter.brushes.R.aliases = ['r', 's', 'splus'];
|