SyntaxHighlighter Evolved - Version 3.3.2

Version Description

Download this release

Release Info

Developer Viper007Bond
Plugin Icon wp plugin SyntaxHighlighter Evolved
Version 3.3.2
Comparing to
See all releases

Code changes from version 3.2.1 to 3.3.2

Files changed (65) hide show
  1. blocks/index.min.js +1 -0
  2. localization/_syntaxhighlighter-template.po +510 -405
  3. localization/blocks.pot +36 -0
  4. localization/syntaxhighlighter-da_DK.po +312 -312
  5. localization/syntaxhighlighter-de_DE.po +455 -455
  6. localization/syntaxhighlighter-es_ES.mo +0 -0
  7. localization/syntaxhighlighter-es_ES.po +464 -0
  8. localization/syntaxhighlighter-it_IT.po +422 -422
  9. localization/syntaxhighlighter-ja.po +353 -353
  10. localization/syntaxhighlighter-tr_TR.po +276 -276
  11. localization/syntaxhighlighter-zh_CN.po +288 -288
  12. readme.txt +252 -263
  13. syntaxhighlighter.js +31 -31
  14. syntaxhighlighter.php +1440 -1328
  15. syntaxhighlighter3/LGPL-LICENSE +164 -164
  16. syntaxhighlighter3/MIT-LICENSE +20 -20
  17. syntaxhighlighter3/scripts/shAutoloader.js +138 -138
  18. syntaxhighlighter3/scripts/shBrushAS3.js +59 -59
  19. syntaxhighlighter3/scripts/shBrushAppleScript.js +99 -99
  20. syntaxhighlighter3/scripts/shBrushBash.js +75 -75
  21. syntaxhighlighter3/scripts/shBrushCSharp.js +65 -65
  22. syntaxhighlighter3/scripts/shBrushColdFusion.js +100 -100
  23. syntaxhighlighter3/scripts/shBrushCpp.js +97 -97
  24. syntaxhighlighter3/scripts/shBrushCss.js +91 -91
  25. syntaxhighlighter3/scripts/shBrushDelphi.js +55 -55
  26. syntaxhighlighter3/scripts/shBrushDiff.js +41 -41
  27. syntaxhighlighter3/scripts/shBrushErlang.js +52 -52
  28. syntaxhighlighter3/scripts/shBrushGroovy.js +67 -67
  29. syntaxhighlighter3/scripts/shBrushJScript.js +53 -52
  30. syntaxhighlighter3/scripts/shBrushJava.js +57 -57
  31. syntaxhighlighter3/scripts/shBrushJavaFX.js +58 -58
  32. syntaxhighlighter3/scripts/shBrushPerl.js +96 -96
  33. syntaxhighlighter3/scripts/shBrushPhp.js +88 -88
  34. syntaxhighlighter3/scripts/shBrushPlain.js +33 -33
  35. syntaxhighlighter3/scripts/shBrushPowerShell.js +75 -75
  36. syntaxhighlighter3/scripts/shBrushPython.js +64 -64
  37. syntaxhighlighter3/scripts/shBrushRuby.js +55 -55
  38. syntaxhighlighter3/scripts/shBrushSass.js +99 -99
  39. syntaxhighlighter3/scripts/shBrushScala.js +51 -51
  40. syntaxhighlighter3/scripts/shBrushSql.js +67 -67
  41. syntaxhighlighter3/scripts/shBrushVb.js +56 -56
  42. syntaxhighlighter3/scripts/shBrushXml.js +71 -71
  43. syntaxhighlighter3/scripts/shCore.js +16 -16
  44. syntaxhighlighter3/scripts/shLegacy.js +157 -157
  45. syntaxhighlighter3/styles/shCore.css +237 -237
  46. syntaxhighlighter3/styles/shCoreDefault.css +328 -328
  47. syntaxhighlighter3/styles/shCoreDjango.css +331 -331
  48. syntaxhighlighter3/styles/shCoreEclipse.css +339 -339
  49. syntaxhighlighter3/styles/shCoreEmacs.css +324 -324
  50. syntaxhighlighter3/styles/shCoreFadeToGrey.css +328 -328
  51. syntaxhighlighter3/styles/shCoreMDUltra.css +324 -324
  52. syntaxhighlighter3/styles/shCoreMidnight.css +324 -324
  53. syntaxhighlighter3/styles/shCoreRDark.css +324 -324
  54. syntaxhighlighter3/styles/shThemeDefault.css +117 -117
  55. syntaxhighlighter3/styles/shThemeDjango.css +120 -120
  56. syntaxhighlighter3/styles/shThemeEclipse.css +128 -128
  57. syntaxhighlighter3/styles/shThemeEmacs.css +113 -113
  58. syntaxhighlighter3/styles/shThemeFadeToGrey.css +117 -117
  59. syntaxhighlighter3/styles/shThemeMDUltra.css +113 -113
  60. syntaxhighlighter3/styles/shThemeMidnight.css +113 -113
  61. syntaxhighlighter3/styles/shThemeRDark.css +113 -113
  62. syntaxhighlighter_mce-4.js +23 -23
  63. syntaxhighlighter_mce.js +108 -108
  64. third-party-brushes/_readme.txt +13 -13
  65. third-party-brushes/shBrushObjC.js +49 -49
blocks/index.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"syntaxHighlighterCode",function(){return p});var r=wp.i18n,a=r.__,l=r.setLocaleData,i=wp.blocks.registerBlockType,o=wp.editor,s=o.InspectorControls,g=o.PlainText,h=wp.components,c=h.PanelBody,u=h.PanelRow;l(syntaxHighlighterData.localeData,"syntaxhighlighter");var p={title:a("SyntaxHighlighter Code","syntaxhighlighter"),description:a("Adds syntax highlighting to source code (front end only)","syntaxhighlighter"),icon:"editor-code",category:"formatting",keywords:[a("Source","syntaxhighlighter"),a("Program","syntaxhighlighter"),a("Develop","syntaxhighlighter")],attributes:{content:{type:"string",source:"text",selector:"pre"},language:{type:"string",default:"plain"}},supports:{html:!1},transforms:{from:[{type:"pattern",trigger:"enter",regExp:/^```$/,transform:function(){return createBlock("syntaxhighlighter/code")}},{type:"raw",isMatch:function(e){return"PRE"===e.nodeName&&1===e.children.length&&"CODE"===e.firstChild.nodeName},schema:{pre:{children:{code:{children:{"#text":{}}}}}}}]},edit:function(e){var t=e.className,n=e.setAttributes,r=e.attributes,l=r.content,i=r.language,o=[];for(var h in syntaxHighlighterData.brushes)o.push(wp.element.createElement("option",{key:h,value:h},syntaxHighlighterData.brushes[h]));return[wp.element.createElement(s,{key:"syntaxHighlighterInspectorControls"},wp.element.createElement(c,{title:"Settings"},wp.element.createElement(u,null,wp.element.createElement("label",{htmlFor:"syntaxhighlighter-language"},a("Language","syntaxhighlighter")),wp.element.createElement("select",{id:"syntaxhighlighter-language",value:i,onChange:function(e){n({language:e.target.value})}},o)))),wp.element.createElement("div",{className:t+" wp-block-code",key:"syntaxHighlighterEditView"},wp.element.createElement(g,{placeholder:a("$foo = new Foo( 'bar' );","syntaxhighlighter"),className:"editor-plain-text",value:l,"aria-label":a("SyntaxHighlighter Code","syntaxhighlighter"),onChange:function(e){return n({content:e})}}))]},save:function(e){var t=e.attributes,n=t.content,r=t.language;return wp.element.createElement("pre",{className:"brush: "+r+"; notranslate"},n)}};i("syntaxhighlighter/code",p)}]);
localization/_syntaxhighlighter-template.po CHANGED
@@ -1,405 +1,510 @@
1
- # Copyright (C) 2014 SyntaxHighlighter Evolved
2
- # This file is distributed under the same license as the SyntaxHighlighter Evolved package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: SyntaxHighlighter Evolved 3.1.9\n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/syntaxhighlighter\n"
7
- "POT-Creation-Date: 2014-03-20 19:20:58+00:00\n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
12
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
- "Language-Team: LANGUAGE <LL@li.org>\n"
14
-
15
- #: syntaxhighlighter.php:248
16
- msgid "Default"
17
- msgstr ""
18
-
19
- #: syntaxhighlighter.php:249
20
- msgid "Django"
21
- msgstr ""
22
-
23
- #: syntaxhighlighter.php:250
24
- msgid "Eclipse"
25
- msgstr ""
26
-
27
- #: syntaxhighlighter.php:251
28
- msgid "Emacs"
29
- msgstr ""
30
-
31
- #: syntaxhighlighter.php:252
32
- msgid "Fade to Grey"
33
- msgstr ""
34
-
35
- #: syntaxhighlighter.php:253
36
- msgid "Midnight"
37
- msgstr ""
38
-
39
- #: syntaxhighlighter.php:254
40
- msgid "RDark"
41
- msgstr ""
42
-
43
- #: syntaxhighlighter.php:255
44
- msgid "[None]"
45
- msgstr ""
46
-
47
- #: syntaxhighlighter.php:267 syntaxhighlighter.php:998
48
- msgid "SyntaxHighlighter Settings"
49
- msgstr ""
50
-
51
- #: syntaxhighlighter.php:267
52
- msgid "SyntaxHighlighter"
53
- msgstr ""
54
-
55
- #: syntaxhighlighter.php:308
56
- msgid "Settings"
57
- msgstr ""
58
-
59
- #: syntaxhighlighter.php:660
60
- msgid "show source"
61
- msgstr ""
62
-
63
- #: syntaxhighlighter.php:661
64
- msgid "view source"
65
- msgstr ""
66
-
67
- #: syntaxhighlighter.php:662
68
- msgid "copy to clipboard"
69
- msgstr ""
70
-
71
- #: syntaxhighlighter.php:663
72
- msgid "The code is in your clipboard now"
73
- msgstr ""
74
-
75
- #: syntaxhighlighter.php:664
76
- msgid "print"
77
- msgstr ""
78
-
79
- #: syntaxhighlighter.php:665 syntaxhighlighter.php:672
80
- msgid "?"
81
- msgstr ""
82
-
83
- #: syntaxhighlighter.php:666 syntaxhighlighter.php:673
84
- msgid "SyntaxHighlighter\\n\\n"
85
- msgstr ""
86
-
87
- #: syntaxhighlighter.php:667 syntaxhighlighter.php:674
88
- msgid "Can't find brush for: "
89
- msgstr ""
90
-
91
- #: syntaxhighlighter.php:668 syntaxhighlighter.php:675
92
- msgid "Brush wasn't configured for html-script option: "
93
- msgstr ""
94
-
95
- #: syntaxhighlighter.php:671
96
- msgid "+ expand source"
97
- msgstr ""
98
-
99
- #: syntaxhighlighter.php:986
100
- msgid "Are you sure you want to reset your settings to the defaults?"
101
- msgstr ""
102
-
103
- #: syntaxhighlighter.php:990
104
- msgid "Settings reset to defaults."
105
- msgstr ""
106
-
107
- #: syntaxhighlighter.php:1007
108
- msgid "Highlighter Version"
109
- msgstr ""
110
-
111
- #: syntaxhighlighter.php:1012
112
- msgid "Version 3.x"
113
- msgstr ""
114
-
115
- #: syntaxhighlighter.php:1013
116
- msgid "Version 2.x"
117
- msgstr ""
118
-
119
- #: syntaxhighlighter.php:1021
120
- msgid ""
121
- "Version 3 allows visitors to easily highlight portions of your code with "
122
- "their mouse (either by dragging or double-clicking) and copy it to their "
123
- "clipboard. No toolbar containing a Flash-based button is required."
124
- msgstr ""
125
-
126
- #: syntaxhighlighter.php:1022
127
- msgid ""
128
- "Version 2 allows for line wrapping, something that version 3 does not do at "
129
- "this time."
130
- msgstr ""
131
-
132
- #: syntaxhighlighter.php:1026
133
- msgid "Color Theme"
134
- msgstr ""
135
-
136
- #: syntaxhighlighter.php:1038 syntaxhighlighter.php:1041
137
- msgid "Load All Brushes"
138
- msgstr ""
139
-
140
- #: syntaxhighlighter.php:1042
141
- msgid ""
142
- "Always load all language files (for directly using <code>&lt;pre&gt;</code> "
143
- "tags rather than shortcodes)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If left "
144
- "unchecked (default), then language files will only be loaded when needed<br /"
145
- ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If unsure, leave this box unchecked"
146
- msgstr ""
147
-
148
- #: syntaxhighlighter.php:1048
149
- msgid "Defaults"
150
- msgstr ""
151
-
152
- #: syntaxhighlighter.php:1050
153
- msgid ""
154
- "All of the settings below can be configured on a per-code block basis, but "
155
- "you can control the defaults of all code blocks here."
156
- msgstr ""
157
-
158
- #: syntaxhighlighter.php:1054 syntaxhighlighter.php:1057
159
- msgid "Miscellaneous"
160
- msgstr ""
161
-
162
- #: syntaxhighlighter.php:1059
163
- msgid "Display line numbers"
164
- msgstr ""
165
-
166
- #: syntaxhighlighter.php:1060
167
- msgid "Display the toolbar"
168
- msgstr ""
169
-
170
- #: syntaxhighlighter.php:1061
171
- msgid "Automatically make URLs clickable"
172
- msgstr ""
173
-
174
- #: syntaxhighlighter.php:1062
175
- msgid "Collapse code boxes"
176
- msgstr ""
177
-
178
- #: syntaxhighlighter.php:1063
179
- msgid "Use the light display mode, best for single lines of code"
180
- msgstr ""
181
-
182
- #: syntaxhighlighter.php:1064
183
- msgid "Use smart tabs allowing tabs being used for alignment"
184
- msgstr ""
185
-
186
- #: syntaxhighlighter.php:1065
187
- msgid ""
188
- "Wrap long lines (v2.x only, disabling this will make a scrollbar show "
189
- "instead)"
190
- msgstr ""
191
-
192
- #: syntaxhighlighter.php:1066
193
- msgid ""
194
- "Enable &quot;HTML script&quot; mode by default (see the bottom of this page "
195
- "for details). Checking this box is not recommended as this mode only works "
196
- "with certain languages."
197
- msgstr ""
198
-
199
- #: syntaxhighlighter.php:1071
200
- msgid "Additional CSS Class(es)"
201
- msgstr ""
202
-
203
- #: syntaxhighlighter.php:1075
204
- msgid "Starting Line Number"
205
- msgstr ""
206
-
207
- #: syntaxhighlighter.php:1079
208
- msgid "Line Number Padding"
209
- msgstr ""
210
-
211
- #: syntaxhighlighter.php:1084
212
- msgid "Off"
213
- msgstr ""
214
-
215
- #: syntaxhighlighter.php:1085
216
- msgid "Automatic"
217
- msgstr ""
218
-
219
- #: syntaxhighlighter.php:1101
220
- msgid "Tab Size"
221
- msgstr ""
222
-
223
- #: syntaxhighlighter.php:1105
224
- msgid "Title"
225
- msgstr ""
226
-
227
- #: syntaxhighlighter.php:1108
228
- msgid ""
229
- "Some optional default text to display above each code block or as the "
230
- "clickable text for collapsed code blocks."
231
- msgstr ""
232
-
233
- #: syntaxhighlighter.php:1118 syntaxhighlighter.php:1121
234
- msgid "Reset to Defaults"
235
- msgstr ""
236
-
237
- #: syntaxhighlighter.php:1120
238
- msgid "Save Changes"
239
- msgstr ""
240
-
241
- #: syntaxhighlighter.php:1128
242
- msgid "Preview"
243
- msgstr ""
244
-
245
- #: syntaxhighlighter.php:1130
246
- msgid "Click &quot;Save Changes&quot; to update this preview."
247
- msgstr ""
248
-
249
- #: syntaxhighlighter.php:1149
250
- msgid "PHP Code Example"
251
- msgstr ""
252
-
253
- #: syntaxhighlighter.php:1151
254
- msgid "Hello World!"
255
- msgstr ""
256
-
257
- #: syntaxhighlighter.php:1153
258
- msgid "This line is highlighted."
259
- msgstr ""
260
-
261
- #: syntaxhighlighter.php:1156
262
- msgid ""
263
- "\t\tThis\tis\tan\r\n"
264
- "\t\texample\tof\tsmart\r\n"
265
- "\t\ttabs."
266
- msgstr ""
267
-
268
- #: syntaxhighlighter.php:1161
269
- msgid "WordPress"
270
- msgstr ""
271
-
272
- #: syntaxhighlighter.php:1172
273
- msgid "Shortcode Parameters"
274
- msgstr ""
275
-
276
- #: syntaxhighlighter.php:1174
277
- msgid ""
278
- "These are the parameters you can pass to the shortcode and what they do. For "
279
- "the booleans (i.e. on/off), pass %1$s/%2$s or %3$s/%4$s."
280
- msgstr ""
281
-
282
- #: syntaxhighlighter.php:1177
283
- msgctxt "language parameter"
284
- msgid ""
285
- "%1$s or %2$s &#8212; The language syntax to highlight with. You can "
286
- "alternately just use that as the tag, such as <code>[php]code[/php]</code>. "
287
- "<a href=\"%3$s\">Click here</a> for a list of valid tags (under &quot;"
288
- "aliases&quot;)."
289
- msgstr ""
290
-
291
- #: syntaxhighlighter.php:1178
292
- msgctxt "autolinks parameter"
293
- msgid "%s &#8212; Toggle automatic URL linking."
294
- msgstr ""
295
-
296
- #: syntaxhighlighter.php:1179
297
- msgctxt "classname parameter"
298
- msgid "%s &#8212; Add an additional CSS class to the code box."
299
- msgstr ""
300
-
301
- #: syntaxhighlighter.php:1180
302
- msgctxt "collapse parameter"
303
- msgid ""
304
- "%s &#8212; Toggle collapsing the code box by default, requiring a click to "
305
- "expand it. Good for large code posts."
306
- msgstr ""
307
-
308
- #: syntaxhighlighter.php:1181
309
- msgctxt "firstline parameter"
310
- msgid ""
311
- "%s &#8212; An interger specifying what number the first line should be (for "
312
- "the line numbering)."
313
- msgstr ""
314
-
315
- #: syntaxhighlighter.php:1182
316
- msgctxt "gutter parameter"
317
- msgid "%s &#8212; Toggle the left-side line numbering."
318
- msgstr ""
319
-
320
- #: syntaxhighlighter.php:1183
321
- msgctxt "highlight parameter"
322
- msgid ""
323
- "%1$s &#8212; A comma-separated list of line numbers to highlight. You can "
324
- "also specify a range. Example: %2$s"
325
- msgstr ""
326
-
327
- #: syntaxhighlighter.php:1184
328
- msgctxt "htmlscript parameter"
329
- msgid ""
330
- "%s &#8212; Toggle highlighting any extra HTML/XML. Good for when you're "
331
- "mixing HTML/XML with another language, such as having PHP inside an HTML web "
332
- "page. The above preview has it enabled for example. This only works with "
333
- "certain languages."
334
- msgstr ""
335
-
336
- #: syntaxhighlighter.php:1185
337
- msgctxt "light parameter"
338
- msgid ""
339
- "%s &#8212; Toggle light mode which disables the gutter and toolbar all at "
340
- "once."
341
- msgstr ""
342
-
343
- #: syntaxhighlighter.php:1186
344
- msgctxt "padlinenumbers parameter"
345
- msgid ""
346
- "%s &#8212; Controls line number padding. Valid values are <code>false</code> "
347
- "(no padding), <code>true</code> (automatic padding), or an integer (forced "
348
- "padding)."
349
- msgstr ""
350
-
351
- #: syntaxhighlighter.php:1187
352
- msgctxt "title parameter"
353
- msgid ""
354
- "%1$s (v3 only) &#8212; Sets some text to show up before the code. Very "
355
- "useful when combined with the %2$s parameter."
356
- msgstr ""
357
-
358
- #: syntaxhighlighter.php:1188
359
- msgctxt "toolbar parameter"
360
- msgid ""
361
- "%s &#8212; Toggle the toolbar (buttons in v2, the about question mark in v3)"
362
- msgstr ""
363
-
364
- #: syntaxhighlighter.php:1189
365
- msgctxt "wraplines parameter"
366
- msgid "%s (v2 only) &#8212; Toggle line wrapping."
367
- msgstr ""
368
-
369
- #: syntaxhighlighter.php:1192
370
- msgid "Some example shortcodes:"
371
- msgstr ""
372
-
373
- #: syntaxhighlighter.php:1195 syntaxhighlighter.php:1196
374
- #: syntaxhighlighter.php:1197 syntaxhighlighter.php:1198
375
- msgid "your code here"
376
- msgstr ""
377
-
378
- #: syntaxhighlighter.php:1196
379
- msgid "example-filename.php"
380
- msgstr ""
381
-
382
- #. Plugin Name of the plugin/theme
383
- msgid "SyntaxHighlighter Evolved"
384
- msgstr ""
385
-
386
- #. Plugin URI of the plugin/theme
387
- msgid "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
388
- msgstr ""
389
-
390
- #. Description of the plugin/theme
391
- msgid ""
392
- "Easily post syntax-highlighted code to your site without having to modify "
393
- "the code at all. Uses Alex Gorbatchev's <a href=\"http://alexgorbatchev.com/"
394
- "wiki/SyntaxHighlighter\">SyntaxHighlighter</a>. <strong>TIP:</strong> Don't "
395
- "use the Visual editor if you don't want your code mangled. TinyMCE will "
396
- "\"clean up\" your HTML."
397
- msgstr ""
398
-
399
- #. Author of the plugin/theme
400
- msgid "Alex Mills (Viper007Bond)"
401
- msgstr ""
402
-
403
- #. Author URI of the plugin/theme
404
- msgid "http://www.viper007bond.com/"
405
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2018 Alex Mills (Viper007Bond)
2
+ # This file is distributed under the same license as the SyntaxHighlighter Evolved plugin.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: SyntaxHighlighter Evolved 3.2.1\n"
6
+ "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/syntaxhighlighter\n"
7
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
+ "Language-Team: LANGUAGE <LL@li.org>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2018-11-13T16:30:40-08:00\n"
13
+ "PO-Revision-Date: 2018-11-13T16:30:40-08:00\n"
14
+ "X-Generator: WP-CLI 2.0.1\n"
15
+ "X-Domain: syntaxhighlighter\n"
16
+
17
+ #: blocks/code/index.js:125
18
+ msgid "Language"
19
+ msgstr ""
20
+
21
+ # Sample code used as a placeholder.
22
+ #: blocks/code/index.js:145
23
+ msgid "$foo = new Foo( 'bar' );"
24
+ msgstr ""
25
+
26
+ #: blocks/code/index.js:148
27
+ msgid "SyntaxHighlighter Code"
28
+ msgstr ""
29
+
30
+ #: blocks/code/index.js:26
31
+ msgid "Adds syntax highlighting to source code (front end only)"
32
+ msgstr ""
33
+
34
+ # Keyword that user might search for when trying to locate block.
35
+ #: blocks/code/index.js:32
36
+ msgid "Source"
37
+ msgstr ""
38
+
39
+ # Keyword that user might search for when trying to locate block.
40
+ #: blocks/code/index.js:34
41
+ msgid "Program"
42
+ msgstr ""
43
+
44
+ # Keyword that user might search for when trying to locate block.
45
+ #: blocks/code/index.js:36
46
+ msgid "Develop"
47
+ msgstr ""
48
+
49
+ #. Plugin Name of the plugin
50
+ msgid "SyntaxHighlighter Evolved"
51
+ msgstr ""
52
+
53
+ #. Plugin URI of the plugin
54
+ msgid "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
55
+ msgstr ""
56
+
57
+ #. Description of the plugin
58
+ 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>. <strong>TIP:</strong> Don't use the Visual editor if you don't want your code mangled. TinyMCE will \"clean up\" your HTML."
59
+ msgstr ""
60
+
61
+ #. Author of the plugin
62
+ msgid "Alex Mills (Viper007Bond)"
63
+ msgstr ""
64
+
65
+ #. Author URI of the plugin
66
+ msgid "http://www.viper007bond.com/"
67
+ msgstr ""
68
+
69
+ #: syntaxhighlighter.php:226
70
+ msgid "ActionScript"
71
+ msgstr ""
72
+
73
+ #: syntaxhighlighter.php:227
74
+ msgid "BASH / Shell"
75
+ msgstr ""
76
+
77
+ #: syntaxhighlighter.php:228
78
+ msgid "ColdFusion"
79
+ msgstr ""
80
+
81
+ #: syntaxhighlighter.php:229
82
+ msgid "Clojure"
83
+ msgstr ""
84
+
85
+ #: syntaxhighlighter.php:230
86
+ msgid "C / C++"
87
+ msgstr ""
88
+
89
+ #: syntaxhighlighter.php:231
90
+ msgid "C#"
91
+ msgstr ""
92
+
93
+ #: syntaxhighlighter.php:232
94
+ msgid "CSS"
95
+ msgstr ""
96
+
97
+ #: syntaxhighlighter.php:233
98
+ msgid "Delphi / Pascal"
99
+ msgstr ""
100
+
101
+ #: syntaxhighlighter.php:234
102
+ msgid "diff / patch"
103
+ msgstr ""
104
+
105
+ #: syntaxhighlighter.php:235
106
+ msgid "Erlang"
107
+ msgstr ""
108
+
109
+ #: syntaxhighlighter.php:236
110
+ msgid "F#"
111
+ msgstr ""
112
+
113
+ #: syntaxhighlighter.php:237
114
+ msgid "Groovy"
115
+ msgstr ""
116
+
117
+ #: syntaxhighlighter.php:238
118
+ msgid "Java"
119
+ msgstr ""
120
+
121
+ #: syntaxhighlighter.php:239
122
+ msgid "JavaFX"
123
+ msgstr ""
124
+
125
+ #: syntaxhighlighter.php:240
126
+ msgid "JavaScript"
127
+ msgstr ""
128
+
129
+ #: syntaxhighlighter.php:241
130
+ msgid "LaTeX"
131
+ msgstr ""
132
+
133
+ #: syntaxhighlighter.php:242
134
+ msgid "MATLAB"
135
+ msgstr ""
136
+
137
+ #: syntaxhighlighter.php:243
138
+ msgid "Objective-C"
139
+ msgstr ""
140
+
141
+ #: syntaxhighlighter.php:244
142
+ msgid "Perl"
143
+ msgstr ""
144
+
145
+ #: syntaxhighlighter.php:245
146
+ msgid "PHP"
147
+ msgstr ""
148
+
149
+ #: syntaxhighlighter.php:246
150
+ msgid "Plain Text"
151
+ msgstr ""
152
+
153
+ #: syntaxhighlighter.php:247
154
+ msgid "PowerShell"
155
+ msgstr ""
156
+
157
+ #: syntaxhighlighter.php:248
158
+ msgid "Python"
159
+ msgstr ""
160
+
161
+ #: syntaxhighlighter.php:249
162
+ msgid "R"
163
+ msgstr ""
164
+
165
+ #: syntaxhighlighter.php:250
166
+ msgid "Ruby / Ruby on Rails"
167
+ msgstr ""
168
+
169
+ #: syntaxhighlighter.php:251
170
+ msgid "Scala"
171
+ msgstr ""
172
+
173
+ #: syntaxhighlighter.php:252
174
+ msgid "SQL"
175
+ msgstr ""
176
+
177
+ #: syntaxhighlighter.php:253
178
+ msgid "Visual Basic"
179
+ msgstr ""
180
+
181
+ #: syntaxhighlighter.php:254
182
+ msgid "HTML / XHTML / XML / XSLT"
183
+ msgstr ""
184
+
185
+ #: syntaxhighlighter.php:279
186
+ msgid "Default"
187
+ msgstr ""
188
+
189
+ #: syntaxhighlighter.php:280
190
+ msgid "Django"
191
+ msgstr ""
192
+
193
+ #: syntaxhighlighter.php:281
194
+ msgid "Eclipse"
195
+ msgstr ""
196
+
197
+ #: syntaxhighlighter.php:282
198
+ msgid "Emacs"
199
+ msgstr ""
200
+
201
+ #: syntaxhighlighter.php:283
202
+ msgid "Fade to Grey"
203
+ msgstr ""
204
+
205
+ #: syntaxhighlighter.php:284
206
+ msgid "Midnight"
207
+ msgstr ""
208
+
209
+ #: syntaxhighlighter.php:285
210
+ msgid "RDark"
211
+ msgstr ""
212
+
213
+ #: syntaxhighlighter.php:286
214
+ msgid "[None]"
215
+ msgstr ""
216
+
217
+ #: syntaxhighlighter.php:298
218
+ #: syntaxhighlighter.php:1165
219
+ msgid "SyntaxHighlighter Settings"
220
+ msgstr ""
221
+
222
+ #: syntaxhighlighter.php:298
223
+ msgid "SyntaxHighlighter"
224
+ msgstr ""
225
+
226
+ #: syntaxhighlighter.php:393
227
+ msgid "Settings"
228
+ msgstr ""
229
+
230
+ #: syntaxhighlighter.php:822
231
+ msgid "show source"
232
+ msgstr ""
233
+
234
+ #: syntaxhighlighter.php:823
235
+ msgid "view source"
236
+ msgstr ""
237
+
238
+ #: syntaxhighlighter.php:824
239
+ msgid "copy to clipboard"
240
+ msgstr ""
241
+
242
+ #: syntaxhighlighter.php:825
243
+ msgid "The code is in your clipboard now"
244
+ msgstr ""
245
+
246
+ #: syntaxhighlighter.php:826
247
+ msgid "print"
248
+ msgstr ""
249
+
250
+ #: syntaxhighlighter.php:827
251
+ #: syntaxhighlighter.php:834
252
+ msgid "?"
253
+ msgstr ""
254
+
255
+ #: syntaxhighlighter.php:828
256
+ #: syntaxhighlighter.php:835
257
+ msgid "SyntaxHighlighter\\n\\n"
258
+ msgstr ""
259
+
260
+ #: syntaxhighlighter.php:829
261
+ #: syntaxhighlighter.php:836
262
+ msgid "Can't find brush for: "
263
+ msgstr ""
264
+
265
+ #: syntaxhighlighter.php:830
266
+ #: syntaxhighlighter.php:837
267
+ msgid "Brush wasn't configured for html-script option: "
268
+ msgstr ""
269
+
270
+ #: syntaxhighlighter.php:833
271
+ msgid "+ expand source"
272
+ msgstr ""
273
+
274
+ #: syntaxhighlighter.php:1153
275
+ msgid "Are you sure you want to reset your settings to the defaults?"
276
+ msgstr ""
277
+
278
+ #: syntaxhighlighter.php:1157
279
+ msgid "Settings reset to defaults."
280
+ msgstr ""
281
+
282
+ #: syntaxhighlighter.php:1174
283
+ msgid "Highlighter Version"
284
+ msgstr ""
285
+
286
+ #: syntaxhighlighter.php:1179
287
+ msgid "Version 3.x"
288
+ msgstr ""
289
+
290
+ #: syntaxhighlighter.php:1180
291
+ msgid "Version 2.x"
292
+ msgstr ""
293
+
294
+ #: syntaxhighlighter.php:1188
295
+ msgid "Version 3 allows visitors to easily highlight portions of your code with their mouse (either by dragging or double-clicking) and copy it to their clipboard. No toolbar containing a Flash-based button is required."
296
+ msgstr ""
297
+
298
+ #: syntaxhighlighter.php:1189
299
+ msgid "Version 2 allows for line wrapping, something that version 3 does not do at this time."
300
+ msgstr ""
301
+
302
+ #: syntaxhighlighter.php:1193
303
+ msgid "Color Theme"
304
+ msgstr ""
305
+
306
+ #: syntaxhighlighter.php:1205
307
+ #: syntaxhighlighter.php:1208
308
+ msgid "Load All Brushes"
309
+ msgstr ""
310
+
311
+ #: syntaxhighlighter.php:1209
312
+ msgid "Always load all language files (for directly using <code>&lt;pre&gt;</code> tags rather than shortcodes)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If left unchecked (default), then language files will only be loaded when needed<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If unsure, leave this box unchecked"
313
+ msgstr ""
314
+
315
+ #: syntaxhighlighter.php:1215
316
+ msgid "Defaults"
317
+ msgstr ""
318
+
319
+ #: syntaxhighlighter.php:1217
320
+ msgid "All of the settings below can be configured on a per-code block basis, but you can control the defaults of all code blocks here."
321
+ msgstr ""
322
+
323
+ #: syntaxhighlighter.php:1221
324
+ #: syntaxhighlighter.php:1224
325
+ msgid "Miscellaneous"
326
+ msgstr ""
327
+
328
+ #: syntaxhighlighter.php:1226
329
+ msgid "Display line numbers"
330
+ msgstr ""
331
+
332
+ #: syntaxhighlighter.php:1227
333
+ msgid "Display the toolbar"
334
+ msgstr ""
335
+
336
+ #: syntaxhighlighter.php:1228
337
+ msgid "Automatically make URLs clickable"
338
+ msgstr ""
339
+
340
+ #: syntaxhighlighter.php:1229
341
+ msgid "Collapse code boxes"
342
+ msgstr ""
343
+
344
+ #: syntaxhighlighter.php:1230
345
+ msgid "Use the light display mode, best for single lines of code"
346
+ msgstr ""
347
+
348
+ #: syntaxhighlighter.php:1231
349
+ msgid "Use smart tabs allowing tabs being used for alignment"
350
+ msgstr ""
351
+
352
+ #: syntaxhighlighter.php:1232
353
+ msgid "Wrap long lines (v2.x only, disabling this will make a scrollbar show instead)"
354
+ msgstr ""
355
+
356
+ #: syntaxhighlighter.php:1233
357
+ msgid "Enable &quot;HTML script&quot; 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."
358
+ msgstr ""
359
+
360
+ #: syntaxhighlighter.php:1238
361
+ msgid "Additional CSS Class(es)"
362
+ msgstr ""
363
+
364
+ #: syntaxhighlighter.php:1242
365
+ msgid "Starting Line Number"
366
+ msgstr ""
367
+
368
+ #: syntaxhighlighter.php:1246
369
+ msgid "Line Number Padding"
370
+ msgstr ""
371
+
372
+ #: syntaxhighlighter.php:1251
373
+ msgid "Off"
374
+ msgstr ""
375
+
376
+ #: syntaxhighlighter.php:1252
377
+ msgid "Automatic"
378
+ msgstr ""
379
+
380
+ #: syntaxhighlighter.php:1268
381
+ msgid "Tab Size"
382
+ msgstr ""
383
+
384
+ #: syntaxhighlighter.php:1272
385
+ msgid "Title"
386
+ msgstr ""
387
+
388
+ #: syntaxhighlighter.php:1275
389
+ msgid "Some optional default text to display above each code block or as the clickable text for collapsed code blocks."
390
+ msgstr ""
391
+
392
+ #: syntaxhighlighter.php:1285
393
+ #: syntaxhighlighter.php:1288
394
+ msgid "Reset to Defaults"
395
+ msgstr ""
396
+
397
+ #: syntaxhighlighter.php:1295
398
+ msgid "Preview"
399
+ msgstr ""
400
+
401
+ #: syntaxhighlighter.php:1297
402
+ msgid "Click &quot;Save Changes&quot; to update this preview."
403
+ msgstr ""
404
+
405
+ #: syntaxhighlighter.php:1316
406
+ msgid "PHP Code Example"
407
+ msgstr ""
408
+
409
+ #: syntaxhighlighter.php:1318
410
+ msgid "Hello World!"
411
+ msgstr ""
412
+
413
+ #: syntaxhighlighter.php:1320
414
+ msgid "This line is highlighted."
415
+ msgstr ""
416
+
417
+ #: syntaxhighlighter.php:1323
418
+ msgid ""
419
+ "\t\tThis\tis\tan\n"
420
+ "\t\texample\tof\tsmart\n"
421
+ "\t\ttabs."
422
+ msgstr ""
423
+
424
+ #: syntaxhighlighter.php:1339
425
+ msgid "Shortcode Parameters"
426
+ msgstr ""
427
+
428
+ #: syntaxhighlighter.php:1341
429
+ 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."
430
+ msgstr ""
431
+
432
+ #: syntaxhighlighter.php:1344
433
+ msgctxt "language parameter"
434
+ msgid "%1$s or %2$s &#8212; 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 &quot;aliases&quot;)."
435
+ msgstr ""
436
+
437
+ #: syntaxhighlighter.php:1345
438
+ msgctxt "autolinks parameter"
439
+ msgid "%s &#8212; Toggle automatic URL linking."
440
+ msgstr ""
441
+
442
+ #: syntaxhighlighter.php:1346
443
+ msgctxt "classname parameter"
444
+ msgid "%s &#8212; Add an additional CSS class to the code box."
445
+ msgstr ""
446
+
447
+ #: syntaxhighlighter.php:1347
448
+ msgctxt "collapse parameter"
449
+ msgid "%s &#8212; Toggle collapsing the code box by default, requiring a click to expand it. Good for large code posts."
450
+ msgstr ""
451
+
452
+ #: syntaxhighlighter.php:1348
453
+ msgctxt "firstline parameter"
454
+ msgid "%s &#8212; An interger specifying what number the first line should be (for the line numbering)."
455
+ msgstr ""
456
+
457
+ #: syntaxhighlighter.php:1349
458
+ msgctxt "gutter parameter"
459
+ msgid "%s &#8212; Toggle the left-side line numbering."
460
+ msgstr ""
461
+
462
+ #: syntaxhighlighter.php:1350
463
+ msgctxt "highlight parameter"
464
+ msgid "%1$s &#8212; A comma-separated list of line numbers to highlight. You can also specify a range. Example: %2$s"
465
+ msgstr ""
466
+
467
+ #: syntaxhighlighter.php:1351
468
+ msgctxt "htmlscript parameter"
469
+ msgid "%s &#8212; 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."
470
+ msgstr ""
471
+
472
+ #: syntaxhighlighter.php:1352
473
+ msgctxt "light parameter"
474
+ msgid "%s &#8212; Toggle light mode which disables the gutter and toolbar all at once."
475
+ msgstr ""
476
+
477
+ #: syntaxhighlighter.php:1353
478
+ msgctxt "padlinenumbers parameter"
479
+ msgid "%s &#8212; Controls line number padding. Valid values are <code>false</code> (no padding), <code>true</code> (automatic padding), or an integer (forced padding)."
480
+ msgstr ""
481
+
482
+ #: syntaxhighlighter.php:1354
483
+ msgctxt "title parameter"
484
+ msgid "%1$s (v3 only) &#8212; Sets some text to show up before the code. Very useful when combined with the %2$s parameter."
485
+ msgstr ""
486
+
487
+ #: syntaxhighlighter.php:1355
488
+ msgctxt "toolbar parameter"
489
+ msgid "%s &#8212; Toggle the toolbar (buttons in v2, the about question mark in v3)"
490
+ msgstr ""
491
+
492
+ #: syntaxhighlighter.php:1356
493
+ msgctxt "wraplines parameter"
494
+ msgid "%s (v2 only) &#8212; Toggle line wrapping."
495
+ msgstr ""
496
+
497
+ #: syntaxhighlighter.php:1359
498
+ msgid "Some example shortcodes:"
499
+ msgstr ""
500
+
501
+ #: syntaxhighlighter.php:1362
502
+ #: syntaxhighlighter.php:1363
503
+ #: syntaxhighlighter.php:1364
504
+ #: syntaxhighlighter.php:1365
505
+ msgid "your code here"
506
+ msgstr ""
507
+
508
+ #: syntaxhighlighter.php:1363
509
+ msgid "example-filename.php"
510
+ msgstr ""
localization/blocks.pot ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Content-Type: text/plain; charset=utf-8\n"
4
+ "X-Generator: babel-plugin-makepot\n"
5
+
6
+ #: blocks/code/index.js:125
7
+ msgid "Language"
8
+ msgstr ""
9
+
10
+ # Sample code used as a placeholder.
11
+ #: blocks/code/index.js:145
12
+ msgid "$foo = new Foo( 'bar' );"
13
+ msgstr ""
14
+
15
+ #: blocks/code/index.js:148
16
+ msgid "SyntaxHighlighter Code"
17
+ msgstr ""
18
+
19
+ #: blocks/code/index.js:26
20
+ msgid "Adds syntax highlighting to source code (front end only)"
21
+ msgstr ""
22
+
23
+ # Keyword that user might search for when trying to locate block.
24
+ #: blocks/code/index.js:32
25
+ msgid "Source"
26
+ msgstr ""
27
+
28
+ # Keyword that user might search for when trying to locate block.
29
+ #: blocks/code/index.js:34
30
+ msgid "Program"
31
+ msgstr ""
32
+
33
+ # Keyword that user might search for when trying to locate block.
34
+ #: blocks/code/index.js:36
35
+ msgid "Develop"
36
+ msgstr ""
localization/syntaxhighlighter-da_DK.po CHANGED
@@ -1,312 +1,312 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Syntax Highlighter 2.3.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-11-09 08:02+0100\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Team Blogos <wordpress@blogos.dk>\n"
8
- "Language-Team: Team Blogos <wordpress@blogos.dk>\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "Plural-Forms: nplurals=2;plural=n != 1;\n"
13
- "X-Poedit-Language: Danish\n"
14
- "X-Poedit-Country: DENMARK\n"
15
- "X-Poedit-SourceCharset: utf-8\n"
16
- "X-Poedit-KeywordsList: __;_c;_e;__ngettext:1,2;__ngettext_noop:1,2;_n:1,2;_nc:1,2;_n_noop:1,2\n"
17
- "X-Poedit-Basepath: d:\\wordpress\\plugins\\syntaxhighlighter\n"
18
- "X-Poedit-SearchPath-0: d:\\wordpress\\plugins\\syntaxhighlighter\n"
19
-
20
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:206
21
- msgid "Default"
22
- msgstr "Standard"
23
-
24
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:207
25
- msgid "Django"
26
- msgstr "Django"
27
-
28
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:208
29
- msgid "Eclipse"
30
- msgstr "Eclipse"
31
-
32
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:209
33
- msgid "Emacs"
34
- msgstr "Emacs"
35
-
36
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:210
37
- msgid "Fade to Grey"
38
- msgstr "Fade til gråt"
39
-
40
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:211
41
- msgid "Midnight"
42
- msgstr "Midnight"
43
-
44
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:212
45
- msgid "RDark"
46
- msgstr "RDark"
47
-
48
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:213
49
- msgid "[None]"
50
- msgstr "[Ingen]"
51
-
52
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:220
53
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:842
54
- msgid "SyntaxHighlighter Settings"
55
- msgstr "SyntaxHighlighter-indstillinger"
56
-
57
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:220
58
- msgid "SyntaxHighlighter"
59
- msgstr "SyntaxHighlighter"
60
-
61
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:251
62
- msgid "Settings"
63
- msgstr "Indstillinger"
64
-
65
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:539
66
- msgid "show source"
67
- msgstr "vis kilde"
68
-
69
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:540
70
- msgid "view source"
71
- msgstr "Vis kilde"
72
-
73
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:541
74
- msgid "copy to clipboard"
75
- msgstr "Kopiér til clipboard"
76
-
77
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:542
78
- msgid "The code is in your clipboard now"
79
- msgstr "Koden er i dit clipboard nu"
80
-
81
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:543
82
- msgid "print"
83
- msgstr "udskriv"
84
-
85
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:544
86
- msgid "?"
87
- msgstr "?"
88
-
89
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:545
90
- msgid ""
91
- "SyntaxHighlighter\\n"
92
- "\\n"
93
- msgstr ""
94
- "SyntaxHighlighter\\n"
95
- "\\n"
96
-
97
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:546
98
- msgid "Can't find brush for: "
99
- msgstr "Kan ikke finde penslen (syntaks-definitioner) til: "
100
-
101
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:547
102
- msgid "Brush wasn't configured for html-script option: "
103
- msgstr "Pensel (syntaks-definitioner) er ikke konfigureret for html-script-indstillignen: "
104
-
105
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:830
106
- msgid "Are you sure you want to reset your settings to the defaults?"
107
- msgstr "Er du sikker på, at du ønsker at nulstille dine indstillinger standardværdierne?"
108
-
109
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:834
110
- msgid "Settings reset to defaults."
111
- msgstr "Indstillinger nulstillet til standardværdierne."
112
-
113
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:851
114
- msgid "Color Theme"
115
- msgstr "Farvetema"
116
-
117
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:866
118
- msgid "Defaults"
119
- msgstr "Standardværdier"
120
-
121
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:868
122
- 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."
123
- msgstr "Alle indstillinger nedenfor kan konfigureres for hver kode-boks for sig, men du kan kontrollere standardværdierne for alle kode-bokse her."
124
-
125
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:872
126
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:875
127
- msgid "Miscellaneous"
128
- msgstr "Forskelligt"
129
-
130
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:877
131
- msgid "Display line numbers"
132
- msgstr "Vis linjenumre"
133
-
134
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:878
135
- msgid "Display the toolbar"
136
- msgstr "Vis værktøjslinje"
137
-
138
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:879
139
- msgid "Automatically make URLs clickable"
140
- msgstr "Lav automatisk URL'er klikbare"
141
-
142
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:880
143
- msgid "Collapse code boxes"
144
- msgstr "Vis kodebokse med koden skjult"
145
-
146
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:881
147
- msgid "Use the light display mode, best for single lines of code"
148
- msgstr "Brug \"bar visning\" &ndash; bedst for enkelte linjer af kode"
149
-
150
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:882
151
- msgid "Use smart tabs allowing tabs being used for alignment"
152
- msgstr "Brug smarte tabs, så tabs kan bruges til opstilling"
153
-
154
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:883
155
- msgid "Wrap long lines, using an icon to show where line wraps occur (disabling this will make a scrollbar show instead)"
156
- msgstr "Del lange linjer med et ikon, der viser, hvor linjedeling forekommer (deaktiverer du dette, vises en scrollbar i stedet)"
157
-
158
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:884
159
- msgid "Enable &quot;HTML script&quot; 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."
160
- msgstr "Aktivér &quot;HTML-script&quot;-funktion som standard (se detaljerne nederst på denne side). Det anbefales ikke at krydse af her, da denne funktion kun fungerer med visse sprog."
161
-
162
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:889
163
- msgid "Additional CSS Class(es)"
164
- msgstr "Ekstra CSS-class(es)"
165
-
166
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:893
167
- msgid "Starting Line Number"
168
- msgstr "Første linjenummer:"
169
-
170
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:897
171
- msgid "Line Number Padding"
172
- msgstr "Padding omkring linjenumre"
173
-
174
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:902
175
- msgid "Off"
176
- msgstr "Fra"
177
-
178
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:903
179
- msgid "Automatic"
180
- msgstr "Automatisk"
181
-
182
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:921
183
- msgid "Tab Size"
184
- msgstr "Tabstørrelse:"
185
-
186
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:927
187
- msgid "Save Changes"
188
- msgstr "Gem ændringer"
189
-
190
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:928
191
- msgid "Reset to Defaults"
192
- msgstr "Gendan til standardværdier"
193
-
194
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:933
195
- msgid "Preview"
196
- msgstr "Forhåndsvisning"
197
-
198
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:935
199
- msgid "Click &quot;Save Changes&quot; to update this preview."
200
- msgstr "Klik &quot;Gem ændringer&quot; for at opdatere denne forhåndsvisning."
201
-
202
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:947
203
- msgid "PHP Code Example"
204
- msgstr "Eksempel på PHP-kode"
205
-
206
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:949
207
- msgid "Hello World!"
208
- msgstr "Hej verden!"
209
-
210
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:951
211
- msgid "This line is highlighted."
212
- msgstr "Denne linje er fremhævet."
213
-
214
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:954
215
- msgid ""
216
- "\t\tThis\tis\tan\n"
217
- "\t\texample\tof\tsmart\n"
218
- "\t\ttabs."
219
- msgstr ""
220
- "\t\tDette\ter\tet\n"
221
- "\t\teksempel\tpå\tsmarte\n"
222
- "\t\ttabs."
223
-
224
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:969
225
- msgid "Shortcode Parameters"
226
- msgstr "Kortkode-parametre."
227
-
228
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:971
229
- #, php-format
230
- 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."
231
- msgstr "Her er parametrene, du kan medtage i kortkoderne, samt hvad de gør. For de booleske (dvs. til/fra), brug %1$s/%2$s eller %3$s/%4$s"
232
-
233
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:974
234
- #, php-format
235
- msgid "%1$s or %2$s &#8212; 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 &quot;aliases&quot;)."
236
- msgstr "%1$s eller %2$s &#8212; Sprogsyntaksen til at fremhæve med. Alternativt kan du bruge dem som tags, så som <code>[php]code[/php]</code>. <a href=\"%3$s\">Klik her</a>, hvis du vil se en liste med gyldige tags (under &quot;aliasser&quot;)."
237
-
238
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:975
239
- #, php-format
240
- msgid "%s &#8212; Toggle automatic URL linking."
241
- msgstr "%s &#8212; Slår automatisk URL-linkning til/fra."
242
-
243
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:976
244
- #, php-format
245
- msgid "%s &#8212; Add an additional CSS class to the code box."
246
- msgstr "%s &#8212; Tilføjer en ekstra CSS-class til kode-boksen."
247
-
248
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:977
249
- #, php-format
250
- msgid "%s &#8212; Toggle collapsing the code box by default, requiring a click to expand it. Good for large code posts."
251
- msgstr "%s &#8212; Som standard skjules koden i kodeboksen, så der skal klikkes for at vise koden. Nyttigt til indlæg med megen kode."
252
-
253
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:978
254
- #, php-format
255
- msgid "%s &#8212; An interger specifying what number the first line should be (for the line numbering)."
256
- msgstr "%s &#8212; Et heltal, som angiver, hvilken nummer den første linje skal have (til brug for linjenummerering)."
257
-
258
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:979
259
- #, php-format
260
- msgid "%s &#8212; Toggle the left-side line numbering."
261
- msgstr "%s &#8212; Skifter mellem linjenummerering til venstre og til højre."
262
-
263
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:980
264
- #, php-format
265
- msgid "%s &#8212; A comma-sperated list of line numbers to highlight."
266
- msgstr "%s &#8212; En kommasepareret liste med linjenumre, der skal fremhæves."
267
-
268
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:981
269
- #, php-format
270
- msgid "%s &#8212; 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."
271
- msgstr "%s &#8212; Slår fremhævelse af ekstra HTML/XML til/fra. Det er nyttigt, når du bruger HTML/XML sammen med et andet sprog, som f.eks. hvis du har PHP på en HTML-webside. Eksempelvis har ovenstående forhåndsvisning det aktiveret. Funktionen virker kun med visse sprog."
272
-
273
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:982
274
- #, php-format
275
- msgid "%s &#8212; Toggle light mode which disables the gutter and toolbar all at once."
276
- msgstr "%s &#8212; Slår \"bar fremvisning\" til/fra, hvilket skjuler \"afløbsrenden\" og værktøjslinjen med det samme."
277
-
278
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:983
279
- #, php-format
280
- msgid "%s &#8212; Controls line number padding. Valid values are <code>false</code> (no padding), <code>true</code> (automatic padding), or an integer (forced padding)."
281
- msgstr "%s &#8212; Kontrollerer padding omkring linjenumre. Gyldige værdier er <code>false</code> (inge padding), <code>true</code> (automatisk padding) eller en integer (tvungen padding)."
282
-
283
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:984
284
- #, php-format
285
- msgid "%s &#8212; Toggle the toolbar containing the helpful buttons."
286
- msgstr "%s &#8212; Slår værktøjslinjen med nyttige knapper til/fra."
287
-
288
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:985
289
- #, php-format
290
- msgid "%s &#8212; Toggle line wrapping."
291
- msgstr "%s &#8212; Slår linjedeling til/fra."
292
-
293
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:988
294
- msgid "Some example shortcodes:"
295
- msgstr "Nogle eksempler på kortkoder:"
296
-
297
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:991
298
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:992
299
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:993
300
- #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:994
301
- msgid "your code here"
302
- msgstr "din kode her"
303
-
304
- #~ msgid "expand source"
305
- #~ msgstr "udvid kode"
306
- #~ msgid "Show a ruler column along the top of the code box"
307
- #~ msgstr "Vis en lineal for oven på kodeboksen"
308
- #~ msgid "%s &#8212; Toggle the column ruler at the top of the code box."
309
- #~ msgstr "%s &#8212; Slår kolonnelinealen til/fra i toppen af kodeboksen."
310
- #~ msgid "Cheatin&#8217; uh?"
311
- #~ msgstr "Snyder du, hva'?"
312
-
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Syntax Highlighter 2.3.0\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-11-09 08:02+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Team Blogos <wordpress@blogos.dk>\n"
8
+ "Language-Team: Team Blogos <wordpress@blogos.dk>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2;plural=n != 1;\n"
13
+ "X-Poedit-Language: Danish\n"
14
+ "X-Poedit-Country: DENMARK\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_c;_e;__ngettext:1,2;__ngettext_noop:1,2;_n:1,2;_nc:1,2;_n_noop:1,2\n"
17
+ "X-Poedit-Basepath: d:\\wordpress\\plugins\\syntaxhighlighter\n"
18
+ "X-Poedit-SearchPath-0: d:\\wordpress\\plugins\\syntaxhighlighter\n"
19
+
20
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:206
21
+ msgid "Default"
22
+ msgstr "Standard"
23
+
24
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:207
25
+ msgid "Django"
26
+ msgstr "Django"
27
+
28
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:208
29
+ msgid "Eclipse"
30
+ msgstr "Eclipse"
31
+
32
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:209
33
+ msgid "Emacs"
34
+ msgstr "Emacs"
35
+
36
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:210
37
+ msgid "Fade to Grey"
38
+ msgstr "Fade til gråt"
39
+
40
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:211
41
+ msgid "Midnight"
42
+ msgstr "Midnight"
43
+
44
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:212
45
+ msgid "RDark"
46
+ msgstr "RDark"
47
+
48
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:213
49
+ msgid "[None]"
50
+ msgstr "[Ingen]"
51
+
52
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:220
53
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:842
54
+ msgid "SyntaxHighlighter Settings"
55
+ msgstr "SyntaxHighlighter-indstillinger"
56
+
57
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:220
58
+ msgid "SyntaxHighlighter"
59
+ msgstr "SyntaxHighlighter"
60
+
61
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:251
62
+ msgid "Settings"
63
+ msgstr "Indstillinger"
64
+
65
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:539
66
+ msgid "show source"
67
+ msgstr "vis kilde"
68
+
69
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:540
70
+ msgid "view source"
71
+ msgstr "Vis kilde"
72
+
73
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:541
74
+ msgid "copy to clipboard"
75
+ msgstr "Kopiér til clipboard"
76
+
77
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:542
78
+ msgid "The code is in your clipboard now"
79
+ msgstr "Koden er i dit clipboard nu"
80
+
81
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:543
82
+ msgid "print"
83
+ msgstr "udskriv"
84
+
85
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:544
86
+ msgid "?"
87
+ msgstr "?"
88
+
89
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:545
90
+ msgid ""
91
+ "SyntaxHighlighter\\n"
92
+ "\\n"
93
+ msgstr ""
94
+ "SyntaxHighlighter\\n"
95
+ "\\n"
96
+
97
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:546
98
+ msgid "Can't find brush for: "
99
+ msgstr "Kan ikke finde penslen (syntaks-definitioner) til: "
100
+
101
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:547
102
+ msgid "Brush wasn't configured for html-script option: "
103
+ msgstr "Pensel (syntaks-definitioner) er ikke konfigureret for html-script-indstillignen: "
104
+
105
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:830
106
+ msgid "Are you sure you want to reset your settings to the defaults?"
107
+ msgstr "Er du sikker på, at du ønsker at nulstille dine indstillinger standardværdierne?"
108
+
109
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:834
110
+ msgid "Settings reset to defaults."
111
+ msgstr "Indstillinger nulstillet til standardværdierne."
112
+
113
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:851
114
+ msgid "Color Theme"
115
+ msgstr "Farvetema"
116
+
117
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:866
118
+ msgid "Defaults"
119
+ msgstr "Standardværdier"
120
+
121
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:868
122
+ 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."
123
+ msgstr "Alle indstillinger nedenfor kan konfigureres for hver kode-boks for sig, men du kan kontrollere standardværdierne for alle kode-bokse her."
124
+
125
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:872
126
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:875
127
+ msgid "Miscellaneous"
128
+ msgstr "Forskelligt"
129
+
130
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:877
131
+ msgid "Display line numbers"
132
+ msgstr "Vis linjenumre"
133
+
134
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:878
135
+ msgid "Display the toolbar"
136
+ msgstr "Vis værktøjslinje"
137
+
138
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:879
139
+ msgid "Automatically make URLs clickable"
140
+ msgstr "Lav automatisk URL'er klikbare"
141
+
142
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:880
143
+ msgid "Collapse code boxes"
144
+ msgstr "Vis kodebokse med koden skjult"
145
+
146
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:881
147
+ msgid "Use the light display mode, best for single lines of code"
148
+ msgstr "Brug \"bar visning\" &ndash; bedst for enkelte linjer af kode"
149
+
150
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:882
151
+ msgid "Use smart tabs allowing tabs being used for alignment"
152
+ msgstr "Brug smarte tabs, så tabs kan bruges til opstilling"
153
+
154
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:883
155
+ msgid "Wrap long lines, using an icon to show where line wraps occur (disabling this will make a scrollbar show instead)"
156
+ msgstr "Del lange linjer med et ikon, der viser, hvor linjedeling forekommer (deaktiverer du dette, vises en scrollbar i stedet)"
157
+
158
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:884
159
+ msgid "Enable &quot;HTML script&quot; 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."
160
+ msgstr "Aktivér &quot;HTML-script&quot;-funktion som standard (se detaljerne nederst på denne side). Det anbefales ikke at krydse af her, da denne funktion kun fungerer med visse sprog."
161
+
162
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:889
163
+ msgid "Additional CSS Class(es)"
164
+ msgstr "Ekstra CSS-class(es)"
165
+
166
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:893
167
+ msgid "Starting Line Number"
168
+ msgstr "Første linjenummer:"
169
+
170
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:897
171
+ msgid "Line Number Padding"
172
+ msgstr "Padding omkring linjenumre"
173
+
174
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:902
175
+ msgid "Off"
176
+ msgstr "Fra"
177
+
178
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:903
179
+ msgid "Automatic"
180
+ msgstr "Automatisk"
181
+
182
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:921
183
+ msgid "Tab Size"
184
+ msgstr "Tabstørrelse:"
185
+
186
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:927
187
+ msgid "Save Changes"
188
+ msgstr "Gem ændringer"
189
+
190
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:928
191
+ msgid "Reset to Defaults"
192
+ msgstr "Gendan til standardværdier"
193
+
194
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:933
195
+ msgid "Preview"
196
+ msgstr "Forhåndsvisning"
197
+
198
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:935
199
+ msgid "Click &quot;Save Changes&quot; to update this preview."
200
+ msgstr "Klik &quot;Gem ændringer&quot; for at opdatere denne forhåndsvisning."
201
+
202
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:947
203
+ msgid "PHP Code Example"
204
+ msgstr "Eksempel på PHP-kode"
205
+
206
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:949
207
+ msgid "Hello World!"
208
+ msgstr "Hej verden!"
209
+
210
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:951
211
+ msgid "This line is highlighted."
212
+ msgstr "Denne linje er fremhævet."
213
+
214
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:954
215
+ msgid ""
216
+ "\t\tThis\tis\tan\n"
217
+ "\t\texample\tof\tsmart\n"
218
+ "\t\ttabs."
219
+ msgstr ""
220
+ "\t\tDette\ter\tet\n"
221
+ "\t\teksempel\tpå\tsmarte\n"
222
+ "\t\ttabs."
223
+
224
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:969
225
+ msgid "Shortcode Parameters"
226
+ msgstr "Kortkode-parametre."
227
+
228
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:971
229
+ #, php-format
230
+ 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."
231
+ msgstr "Her er parametrene, du kan medtage i kortkoderne, samt hvad de gør. For de booleske (dvs. til/fra), brug %1$s/%2$s eller %3$s/%4$s"
232
+
233
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:974
234
+ #, php-format
235
+ msgid "%1$s or %2$s &#8212; 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 &quot;aliases&quot;)."
236
+ msgstr "%1$s eller %2$s &#8212; Sprogsyntaksen til at fremhæve med. Alternativt kan du bruge dem som tags, så som <code>[php]code[/php]</code>. <a href=\"%3$s\">Klik her</a>, hvis du vil se en liste med gyldige tags (under &quot;aliasser&quot;)."
237
+
238
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:975
239
+ #, php-format
240
+ msgid "%s &#8212; Toggle automatic URL linking."
241
+ msgstr "%s &#8212; Slår automatisk URL-linkning til/fra."
242
+
243
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:976
244
+ #, php-format
245
+ msgid "%s &#8212; Add an additional CSS class to the code box."
246
+ msgstr "%s &#8212; Tilføjer en ekstra CSS-class til kode-boksen."
247
+
248
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:977
249
+ #, php-format
250
+ msgid "%s &#8212; Toggle collapsing the code box by default, requiring a click to expand it. Good for large code posts."
251
+ msgstr "%s &#8212; Som standard skjules koden i kodeboksen, så der skal klikkes for at vise koden. Nyttigt til indlæg med megen kode."
252
+
253
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:978
254
+ #, php-format
255
+ msgid "%s &#8212; An interger specifying what number the first line should be (for the line numbering)."
256
+ msgstr "%s &#8212; Et heltal, som angiver, hvilken nummer den første linje skal have (til brug for linjenummerering)."
257
+
258
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:979
259
+ #, php-format
260
+ msgid "%s &#8212; Toggle the left-side line numbering."
261
+ msgstr "%s &#8212; Skifter mellem linjenummerering til venstre og til højre."
262
+
263
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:980
264
+ #, php-format
265
+ msgid "%s &#8212; A comma-sperated list of line numbers to highlight."
266
+ msgstr "%s &#8212; En kommasepareret liste med linjenumre, der skal fremhæves."
267
+
268
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:981
269
+ #, php-format
270
+ msgid "%s &#8212; 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."
271
+ msgstr "%s &#8212; Slår fremhævelse af ekstra HTML/XML til/fra. Det er nyttigt, når du bruger HTML/XML sammen med et andet sprog, som f.eks. hvis du har PHP på en HTML-webside. Eksempelvis har ovenstående forhåndsvisning det aktiveret. Funktionen virker kun med visse sprog."
272
+
273
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:982
274
+ #, php-format
275
+ msgid "%s &#8212; Toggle light mode which disables the gutter and toolbar all at once."
276
+ msgstr "%s &#8212; Slår \"bar fremvisning\" til/fra, hvilket skjuler \"afløbsrenden\" og værktøjslinjen med det samme."
277
+
278
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:983
279
+ #, php-format
280
+ msgid "%s &#8212; Controls line number padding. Valid values are <code>false</code> (no padding), <code>true</code> (automatic padding), or an integer (forced padding)."
281
+ msgstr "%s &#8212; Kontrollerer padding omkring linjenumre. Gyldige værdier er <code>false</code> (inge padding), <code>true</code> (automatisk padding) eller en integer (tvungen padding)."
282
+
283
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:984
284
+ #, php-format
285
+ msgid "%s &#8212; Toggle the toolbar containing the helpful buttons."
286
+ msgstr "%s &#8212; Slår værktøjslinjen med nyttige knapper til/fra."
287
+
288
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:985
289
+ #, php-format
290
+ msgid "%s &#8212; Toggle line wrapping."
291
+ msgstr "%s &#8212; Slår linjedeling til/fra."
292
+
293
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:988
294
+ msgid "Some example shortcodes:"
295
+ msgstr "Nogle eksempler på kortkoder:"
296
+
297
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:991
298
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:992
299
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:993
300
+ #: d:\wordpress\plugins\syntaxhighlighter/syntaxhighlighter/syntaxhighlighter.php:994
301
+ msgid "your code here"
302
+ msgstr "din kode her"
303
+
304
+ #~ msgid "expand source"
305
+ #~ msgstr "udvid kode"
306
+ #~ msgid "Show a ruler column along the top of the code box"
307
+ #~ msgstr "Vis en lineal for oven på kodeboksen"
308
+ #~ msgid "%s &#8212; Toggle the column ruler at the top of the code box."
309
+ #~ msgstr "%s &#8212; Slår kolonnelinealen til/fra i toppen af kodeboksen."
310
+ #~ msgid "Cheatin&#8217; uh?"
311
+ #~ msgstr "Snyder du, hva'?"
312
+
localization/syntaxhighlighter-de_DE.po CHANGED
@@ -1,455 +1,455 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR Viper007Bond
3
- # This file is distributed under the same license as the PACKAGE package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
6
- msgid ""
7
- msgstr ""
8
- "Project-Id-Version: SyntaxHighlighter Evolved\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2013-12-10 22:14+0100\n"
11
- "PO-Revision-Date: 2014-01-18 18:14+0100\n"
12
- "Last-Translator: Michael Berger <michael.berger@gmx.de>\n"
13
- "Language-Team: Michael Berger <michael.berger@gmx.de>\n"
14
- "Language: de_DE\n"
15
- "MIME-Version: 1.0\n"
16
- "Content-Type: text/plain; charset=UTF-8\n"
17
- "Content-Transfer-Encoding: 8bit\n"
18
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
19
- "_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;"
20
- "esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
21
- "X-Poedit-Basepath: ../\n"
22
- "X-Poedit-SourceCharset: UTF-8\n"
23
- "X-Generator: Poedit 1.5.7\n"
24
- "X-Poedit-SearchPath-0: .\n"
25
-
26
- #: syntaxhighlighter.php:250
27
- msgid "Default"
28
- msgstr "Standard"
29
-
30
- #: syntaxhighlighter.php:251
31
- msgid "Django"
32
- msgstr "Django"
33
-
34
- #: syntaxhighlighter.php:252
35
- msgid "Eclipse"
36
- msgstr "Eclipse"
37
-
38
- #: syntaxhighlighter.php:253
39
- msgid "Emacs"
40
- msgstr "Emacs"
41
-
42
- #: syntaxhighlighter.php:254
43
- msgid "Fade to Grey"
44
- msgstr "Fade to Grey"
45
-
46
- #: syntaxhighlighter.php:255
47
- msgid "Midnight"
48
- msgstr "Midnight"
49
-
50
- #: syntaxhighlighter.php:256
51
- msgid "RDark"
52
- msgstr "RDark"
53
-
54
- #: syntaxhighlighter.php:257
55
- msgid "[None]"
56
- msgstr "[ohne]"
57
-
58
- #: syntaxhighlighter.php:269 syntaxhighlighter.php:990
59
- msgid "SyntaxHighlighter Settings"
60
- msgstr "SyntaxHighlighter Einstellungen"
61
-
62
- #: syntaxhighlighter.php:269
63
- msgid "SyntaxHighlighter"
64
- msgstr "SyntaxHighlighter"
65
-
66
- #: syntaxhighlighter.php:300
67
- msgid "Settings"
68
- msgstr "Einstellungen"
69
-
70
- #: syntaxhighlighter.php:652
71
- msgid "show source"
72
- msgstr "Quelltext aufklappen"
73
-
74
- #: syntaxhighlighter.php:653
75
- msgid "view source"
76
- msgstr "Quelltext anzeigen"
77
-
78
- #: syntaxhighlighter.php:654
79
- msgid "copy to clipboard"
80
- msgstr "In die Zwischenablage kopieren"
81
-
82
- #: syntaxhighlighter.php:655
83
- msgid "The code is in your clipboard now"
84
- msgstr "Der Quelltext wurde in die Zwischenablage kopiert"
85
-
86
- #: syntaxhighlighter.php:656
87
- msgid "print"
88
- msgstr "Drucken"
89
-
90
- #: syntaxhighlighter.php:657 syntaxhighlighter.php:664
91
- msgid "?"
92
- msgstr "?"
93
-
94
- #: syntaxhighlighter.php:658 syntaxhighlighter.php:665
95
- msgid "SyntaxHighlighter\\n\\n"
96
- msgstr "SyntaxHighlighter\\n\\n"
97
-
98
- #: syntaxhighlighter.php:659 syntaxhighlighter.php:666
99
- msgid "Can't find brush for: "
100
- msgstr "Keine Syntax-Datei vorhanden für: "
101
-
102
- #: syntaxhighlighter.php:660 syntaxhighlighter.php:667
103
- msgid "Brush wasn't configured for html-script option: "
104
- msgstr "Die Syntax-Datei ist nicht für die „htmlscript” Option konfiguriert: "
105
-
106
- #: syntaxhighlighter.php:663
107
- msgid "+ expand source"
108
- msgstr "+ Quelltext aufklappen"
109
-
110
- #: syntaxhighlighter.php:978
111
- msgid "Are you sure you want to reset your settings to the defaults?"
112
- msgstr "Bist du sicher, dass du alle Einstellungen zurücksetzen willst?"
113
-
114
- #: syntaxhighlighter.php:982
115
- msgid "Settings reset to defaults."
116
- msgstr "Alle Einstellungen wurden zurückgesetzt."
117
-
118
- #: syntaxhighlighter.php:999
119
- msgid "Highlighter Version"
120
- msgstr "Highlighter Version"
121
-
122
- #: syntaxhighlighter.php:1004
123
- msgid "Version 3.x"
124
- msgstr "Version 3.x"
125
-
126
- #: syntaxhighlighter.php:1005
127
- msgid "Version 2.x"
128
- msgstr "Version 2.x"
129
-
130
- #: syntaxhighlighter.php:1013
131
- msgid ""
132
- "Version 3 allows visitors to easily highlight portions of your code with "
133
- "their mouse (either by dragging or double-clicking) and copy it to their "
134
- "clipboard. No toolbar containing a Flash-based button is required."
135
- msgstr ""
136
- "<p class=\"description\">In Version 3.x können Teile des Quelltextes mit der "
137
- "Maus markiert und in die Zwischenablage kopiert werden, ohne dass Adobe "
138
- "Flash benötigt wird.<br> In Version 2.x können lange Zeilen mittels "
139
- "Zeilenumbruch angezeigt werden.</p>"
140
-
141
- #: syntaxhighlighter.php:1014
142
- msgid ""
143
- "Version 2 allows for line wrapping, something that version 3 does not do at "
144
- "this time."
145
- msgstr " "
146
-
147
- #: syntaxhighlighter.php:1018
148
- msgid "Color Theme"
149
- msgstr "Farbschema"
150
-
151
- #: syntaxhighlighter.php:1030 syntaxhighlighter.php:1033
152
- msgid "Load All Brushes"
153
- msgstr "Alle Syntax-Dateien laden"
154
-
155
- #: syntaxhighlighter.php:1034
156
- msgid ""
157
- "Always load all language files (for directly using <code>&lt;pre&gt;</code> "
158
- "tags rather than shortcodes)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If left "
159
- "unchecked (default), then language files will only be loaded when needed<br /"
160
- ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If unsure, leave this box unchecked"
161
- msgstr ""
162
- "Immer alle Syntax-Dateien laden, um <code>&lt;pre&gt;</code> Tags anstelle "
163
- "von Shortcodes verwenden zu können.<p class=\"description\">Wenn diese "
164
- "Option deaktiviert ist, werden die Syntax-Dateien nur bei Bedarf geladen "
165
- "(Voreinstellung). Im Zweifel solltest du diese Option deaktiviert lassen.</p>"
166
-
167
- #: syntaxhighlighter.php:1040
168
- msgid "Defaults"
169
- msgstr "Voreinstellungen"
170
-
171
- #: syntaxhighlighter.php:1042
172
- msgid ""
173
- "All of the settings below can be configured on a per-code block basis, but "
174
- "you can control the defaults of all code blocks here."
175
- msgstr ""
176
- "Alle folgenden Einstellungen können mit den unten beschriebenen Shortcode "
177
- "Parametern pro Quelltext-Block festgelegt werden. Du kannst hier aber die "
178
- "Voreinstellungen für alle Quellcode-Blöcke festlegen."
179
-
180
- #: syntaxhighlighter.php:1046 syntaxhighlighter.php:1049
181
- msgid "Miscellaneous"
182
- msgstr "Allgemein"
183
-
184
- #: syntaxhighlighter.php:1051
185
- msgid "Display line numbers"
186
- msgstr "<code>gutter</code> &#8212; Zeilennummern anzeigen"
187
-
188
- #: syntaxhighlighter.php:1052
189
- msgid "Display the toolbar"
190
- msgstr "<code>toolbar</code> &#8212; Toolbar anzeigen"
191
-
192
- #: syntaxhighlighter.php:1053
193
- msgid "Automatically make URLs clickable"
194
- msgstr "<code>autolinks</code> &#8212; URLs im Quelltext als Link darstellen"
195
-
196
- #: syntaxhighlighter.php:1054
197
- msgid "Collapse code boxes"
198
- msgstr "<code>collapse</code> &#8212; Quelltext-Block zugeklappt anzeigen"
199
-
200
- #: syntaxhighlighter.php:1055
201
- msgid "Use the light display mode, best for single lines of code"
202
- msgstr ""
203
- "<code>light</code> &#8212; Keine Zeilennummern und kein Toolbar anzeigen"
204
-
205
- #: syntaxhighlighter.php:1056
206
- msgid "Use smart tabs allowing tabs being used for alignment"
207
- msgstr "<code>smarttabs</code> &#8212; Tabstopps zur Ausrichtung verwenden"
208
-
209
- #: syntaxhighlighter.php:1057
210
- msgid ""
211
- "Wrap long lines (v2.x only, disabling this will make a scrollbar show "
212
- "instead)"
213
- msgstr ""
214
- "<code>wraplines</code> &#8212; Zu lange Zeilen mittels Zeilenumbruch statt "
215
- "einer Bildlaufleiste darstellen (nur in Version 2.x möglich)"
216
-
217
- #: syntaxhighlighter.php:1058
218
- msgid ""
219
- "Enable &quot;HTML script&quot; mode by default (see the bottom of this page "
220
- "for details). Checking this box is not recommended as this mode only works "
221
- "with certain languages."
222
- msgstr ""
223
- "<code>htmlscript</code> &#8212; HTML/XML innerhalb des Quelltextes "
224
- "hervorheben. Es wird nicht empfohlen, diesen Modus als Voreinstellung zu "
225
- "verwenden, da er nur bei bestimmten Programmiersprachen verfügbar ist."
226
-
227
- #: syntaxhighlighter.php:1063
228
- msgid "Additional CSS Class(es)"
229
- msgstr "Zusätzliche CSS Klasse(n)"
230
-
231
- #: syntaxhighlighter.php:1067
232
- msgid "Starting Line Number"
233
- msgstr "Erste Zeilennummer"
234
-
235
- #: syntaxhighlighter.php:1071
236
- msgid "Line Number Padding"
237
- msgstr "Führende Nullen anzeigen"
238
-
239
- #: syntaxhighlighter.php:1076
240
- msgid "Off"
241
- msgstr "Keine"
242
-
243
- #: syntaxhighlighter.php:1077
244
- msgid "Automatic"
245
- msgstr "Automatisch"
246
-
247
- #: syntaxhighlighter.php:1093
248
- msgid "Tab Size"
249
- msgstr "Tabulatorbreite"
250
-
251
- #: syntaxhighlighter.php:1097
252
- msgid "Title"
253
- msgstr "Überschrift"
254
-
255
- #: syntaxhighlighter.php:1100
256
- msgid ""
257
- "Some optional default text to display above each code block or as the "
258
- "clickable text for collapsed code blocks."
259
- msgstr ""
260
- "<p class=\"description\">Überschrift für den Quelltext (nur in Version 3.x "
261
- "möglich)</p>"
262
-
263
- #: syntaxhighlighter.php:1110 syntaxhighlighter.php:1113
264
- msgid "Reset to Defaults"
265
- msgstr "Alle Einstellungen zurücksetzen"
266
-
267
- #: syntaxhighlighter.php:1112
268
- msgid "Save Changes"
269
- msgstr "Änderungen speichern"
270
-
271
- #: syntaxhighlighter.php:1120
272
- msgid "Preview"
273
- msgstr "Vorschau"
274
-
275
- #: syntaxhighlighter.php:1122
276
- msgid "Click &quot;Save Changes&quot; to update this preview."
277
- msgstr "Klicke „Änderungen speichern” zur Aktualisierung der Vorschau."
278
-
279
- #: syntaxhighlighter.php:1141
280
- msgid "PHP Code Example"
281
- msgstr "PHP Quelltext Beispiel"
282
-
283
- #: syntaxhighlighter.php:1143
284
- msgid "Hello World!"
285
- msgstr "Hallo Welt!"
286
-
287
- #: syntaxhighlighter.php:1145
288
- msgid "This line is highlighted."
289
- msgstr "Diese Zeile ist hervorgehoben."
290
-
291
- #: syntaxhighlighter.php:1148
292
- msgid ""
293
- "\t\tThis\tis\tan\n"
294
- "\t\texample\tof\tsmart\n"
295
- "\t\ttabs."
296
- msgstr ""
297
- "\t\tDies\tist\tein\n"
298
- "\t\tBeispiel\tfür\tSmart\n"
299
- "\t\tTabs."
300
-
301
- #: syntaxhighlighter.php:1153
302
- msgid "WordPress"
303
- msgstr "WordPress"
304
-
305
- #: syntaxhighlighter.php:1164
306
- msgid "Shortcode Parameters"
307
- msgstr "Shortcodes"
308
-
309
- #: syntaxhighlighter.php:1166
310
- #, php-format
311
- msgid ""
312
- "These are the parameters you can pass to the shortcode and what they do. For "
313
- "the booleans (i.e. on/off), pass %1$s/%2$s or %3$s/%4$s."
314
- msgstr ""
315
- "Liste der Shortcode Parameter und ihrer Funktion. Für boolesche Werte (d.h. "
316
- "an/aus), verwende %1$s/%2$s oder %3$s/%4$s."
317
-
318
- #: syntaxhighlighter.php:1169
319
- #, php-format
320
- msgctxt "language parameter"
321
- msgid ""
322
- "%1$s or %2$s &#8212; The language syntax to highlight with. You can "
323
- "alternately just use that as the tag, such as <code>[php]code[/php]</code>. "
324
- "<a href=\"%3$s\">Click here</a> for a list of valid tags (under &quot;"
325
- "aliases&quot;)."
326
- msgstr ""
327
- "%1$s oder %2$s &#8212; Programmiersprache des Quelltextes festlegen. Du "
328
- "kannst alternativ auch nur den Namen der Programmiersprache als Tag "
329
- "verwenden. Beispiel: <code>[php]code[/php]</code>. Eine Liste der gültigen "
330
- "Tags findest du auf <a href=\"%3$s\">dieser Seite</a> unter dem "
331
- "Navigationspunkt <a href=\"http://alexgorbatchev.com/SyntaxHighlighter/"
332
- "manual/brushes/\">syntaxes</a>."
333
-
334
- #: syntaxhighlighter.php:1170
335
- #, php-format
336
- msgctxt "autolinks parameter"
337
- msgid "%s &#8212; Toggle automatic URL linking."
338
- msgstr "%s &#8212; URLs im Quelltext als Link darstellen."
339
-
340
- #: syntaxhighlighter.php:1171
341
- #, php-format
342
- msgctxt "classname parameter"
343
- msgid "%s &#8212; Add an additional CSS class to the code box."
344
- msgstr ""
345
- "%s &#8212; Zusätzliche CSS Klasse(n) für den Quelltext-Block einbinden. "
346
- "Mehrere Klassen durch Leerzeichen voneinander trennen."
347
-
348
- #: syntaxhighlighter.php:1172
349
- #, php-format
350
- msgctxt "collapse parameter"
351
- msgid ""
352
- "%s &#8212; Toggle collapsing the code box by default, requiring a click to "
353
- "expand it. Good for large code posts."
354
- msgstr ""
355
- "%s &#8212; Quelltext-Block zugeklappt anzeigen. Zum Aufklappen ist dann ein "
356
- "Klick auf den Quelltext-Block notwendig. Diese Einstellung eignet sich "
357
- "insbesondere für längere Quelltexte."
358
-
359
- #: syntaxhighlighter.php:1173
360
- #, php-format
361
- msgctxt "firstline parameter"
362
- msgid ""
363
- "%s &#8212; An interger specifying what number the first line should be (for "
364
- "the line numbering)."
365
- msgstr ""
366
- "%s &#8212; Erste Zeilennummer für die Nummerierung der Quelltextzeilen "
367
- "festlegen."
368
-
369
- #: syntaxhighlighter.php:1174
370
- #, php-format
371
- msgctxt "gutter parameter"
372
- msgid "%s &#8212; Toggle the left-side line numbering."
373
- msgstr "%s &#8212; Zeilennummern anzeigen."
374
-
375
- #: syntaxhighlighter.php:1175
376
- #, php-format
377
- msgctxt "highlight parameter"
378
- msgid ""
379
- "%1$s &#8212; A comma-sperated list of line numbers to highlight. You can "
380
- "also specify a range. Example: %2$s"
381
- msgstr ""
382
- "%1$s &#8212; Quelltextzeilen hervorheben. Die Angabe erfolgt in Form einer "
383
- "kommaseparierten Liste oder eines Bereichs: %2$s"
384
-
385
- #: syntaxhighlighter.php:1176
386
- #, php-format
387
- msgctxt "htmlscript parameter"
388
- msgid ""
389
- "%s &#8212; Toggle highlighting any extra HTML/XML. Good for when you're "
390
- "mixing HTML/XML with another language, such as having PHP inside an HTML web "
391
- "page. The above preview has it enabled for example. This only works with "
392
- "certain languages."
393
- msgstr ""
394
- "%s &#8212; HTML/XML innerhalb des Quelltextes hervorheben. Diese Option ist "
395
- "geeignet, wenn HTML/XML und eine andere Sprache gemischt werden (z.B. PHP "
396
- "innerhalb einer HTML Webseite in der obigen Vorschau). Diese Option ist "
397
- "jedoch nur für bestimmte Programmiersprachen verfügbar."
398
-
399
- #: syntaxhighlighter.php:1177
400
- #, php-format
401
- msgctxt "light parameter"
402
- msgid ""
403
- "%s &#8212; Toggle light mode which disables the gutter and toolbar all at "
404
- "once."
405
- msgstr "%s &#8212; Keine Zeilennummern und kein Toolbar anzeigen."
406
-
407
- #: syntaxhighlighter.php:1178
408
- #, php-format
409
- msgctxt "padlinenumbers parameter"
410
- msgid ""
411
- "%s &#8212; Controls line number padding. Valid values are <code>false</code> "
412
- "(no padding), <code>true</code> (automatic padding), or an integer (forced "
413
- "padding)."
414
- msgstr ""
415
- "%s &#8212; Führenden Nullen anzeigen. Gültige Werte sind <code>false</code> "
416
- "(keine führenden Nullen), <code>true</code> (automatische Anzahl führender "
417
- "Nullen) oder ein Integer Wert (feste Anzahl von Stellen)."
418
-
419
- #: syntaxhighlighter.php:1179
420
- #, php-format
421
- msgctxt "title parameter"
422
- msgid ""
423
- "%1$s (v3 only) &#8212; Sets some text to show up before the code. Very "
424
- "useful when combined with the %2$s parameter."
425
- msgstr ""
426
- "%1$s (nur Version 3.x) &#8212; Überschrift für den Quelltext. Diese Option "
427
- "empfiehlt sich, wenn %2$s verwendet wird."
428
-
429
- #: syntaxhighlighter.php:1180
430
- #, php-format
431
- msgctxt "toolbar parameter"
432
- msgid ""
433
- "%s &#8212; Toggle the toolbar (buttons in v2, the about question mark in v3)"
434
- msgstr "%s &#8212; Toolbar anzeigen."
435
-
436
- #: syntaxhighlighter.php:1181
437
- #, php-format
438
- msgctxt "wraplines parameter"
439
- msgid "%s (v2 only) &#8212; Toggle line wrapping."
440
- msgstr ""
441
- "%s (nur Version 2.x) &#8212; Zu lange Zeilen mittels Zeilenumbruch statt "
442
- "einer Bildlaufleiste darstellen."
443
-
444
- #: syntaxhighlighter.php:1184
445
- msgid "Some example shortcodes:"
446
- msgstr "Einige Beispiele für Shortcodes:"
447
-
448
- #: syntaxhighlighter.php:1187 syntaxhighlighter.php:1188
449
- #: syntaxhighlighter.php:1189 syntaxhighlighter.php:1190
450
- msgid "your code here"
451
- msgstr "Hier steht der Quelltext"
452
-
453
- #: syntaxhighlighter.php:1188
454
- msgid "example-filename.php"
455
- msgstr "beispieldatei.php"
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR Viper007Bond
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: SyntaxHighlighter Evolved\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2013-12-10 22:14+0100\n"
11
+ "PO-Revision-Date: 2014-01-18 18:14+0100\n"
12
+ "Last-Translator: Michael Berger <michael.berger@gmx.de>\n"
13
+ "Language-Team: Michael Berger <michael.berger@gmx.de>\n"
14
+ "Language: de_DE\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
19
+ "_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;"
20
+ "esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
21
+ "X-Poedit-Basepath: ../\n"
22
+ "X-Poedit-SourceCharset: UTF-8\n"
23
+ "X-Generator: Poedit 1.5.7\n"
24
+ "X-Poedit-SearchPath-0: .\n"
25
+
26
+ #: syntaxhighlighter.php:250
27
+ msgid "Default"
28
+ msgstr "Standard"
29
+
30
+ #: syntaxhighlighter.php:251
31
+ msgid "Django"
32
+ msgstr "Django"
33
+
34
+ #: syntaxhighlighter.php:252
35
+ msgid "Eclipse"
36
+ msgstr "Eclipse"
37
+
38
+ #: syntaxhighlighter.php:253
39
+ msgid "Emacs"
40
+ msgstr "Emacs"
41
+
42
+ #: syntaxhighlighter.php:254
43
+ msgid "Fade to Grey"
44
+ msgstr "Fade to Grey"
45
+
46
+ #: syntaxhighlighter.php:255
47
+ msgid "Midnight"
48
+ msgstr "Midnight"
49
+
50
+ #: syntaxhighlighter.php:256
51
+ msgid "RDark"
52
+ msgstr "RDark"
53
+
54
+ #: syntaxhighlighter.php:257
55
+ msgid "[None]"
56
+ msgstr "[ohne]"
57
+
58
+ #: syntaxhighlighter.php:269 syntaxhighlighter.php:990
59
+ msgid "SyntaxHighlighter Settings"
60
+ msgstr "SyntaxHighlighter Einstellungen"
61
+
62
+ #: syntaxhighlighter.php:269
63
+ msgid "SyntaxHighlighter"
64
+ msgstr "SyntaxHighlighter"
65
+
66
+ #: syntaxhighlighter.php:300
67
+ msgid "Settings"
68
+ msgstr "Einstellungen"
69
+
70
+ #: syntaxhighlighter.php:652
71
+ msgid "show source"
72
+ msgstr "Quelltext aufklappen"
73
+
74
+ #: syntaxhighlighter.php:653
75
+ msgid "view source"
76
+ msgstr "Quelltext anzeigen"
77
+
78
+ #: syntaxhighlighter.php:654
79
+ msgid "copy to clipboard"
80
+ msgstr "In die Zwischenablage kopieren"
81
+
82
+ #: syntaxhighlighter.php:655
83
+ msgid "The code is in your clipboard now"
84
+ msgstr "Der Quelltext wurde in die Zwischenablage kopiert"
85
+
86
+ #: syntaxhighlighter.php:656
87
+ msgid "print"
88
+ msgstr "Drucken"
89
+
90
+ #: syntaxhighlighter.php:657 syntaxhighlighter.php:664
91
+ msgid "?"
92
+ msgstr "?"
93
+
94
+ #: syntaxhighlighter.php:658 syntaxhighlighter.php:665
95
+ msgid "SyntaxHighlighter\\n\\n"
96
+ msgstr "SyntaxHighlighter\\n\\n"
97
+
98
+ #: syntaxhighlighter.php:659 syntaxhighlighter.php:666
99
+ msgid "Can't find brush for: "
100
+ msgstr "Keine Syntax-Datei vorhanden für: "
101
+
102
+ #: syntaxhighlighter.php:660 syntaxhighlighter.php:667
103
+ msgid "Brush wasn't configured for html-script option: "
104
+ msgstr "Die Syntax-Datei ist nicht für die „htmlscript” Option konfiguriert: "
105
+
106
+ #: syntaxhighlighter.php:663
107
+ msgid "+ expand source"
108
+ msgstr "+ Quelltext aufklappen"
109
+
110
+ #: syntaxhighlighter.php:978
111
+ msgid "Are you sure you want to reset your settings to the defaults?"
112
+ msgstr "Bist du sicher, dass du alle Einstellungen zurücksetzen willst?"
113
+
114
+ #: syntaxhighlighter.php:982
115
+ msgid "Settings reset to defaults."
116
+ msgstr "Alle Einstellungen wurden zurückgesetzt."
117
+
118
+ #: syntaxhighlighter.php:999
119
+ msgid "Highlighter Version"
120
+ msgstr "Highlighter Version"
121
+
122
+ #: syntaxhighlighter.php:1004
123
+ msgid "Version 3.x"
124
+ msgstr "Version 3.x"
125
+
126
+ #: syntaxhighlighter.php:1005
127
+ msgid "Version 2.x"
128
+ msgstr "Version 2.x"
129
+
130
+ #: syntaxhighlighter.php:1013
131
+ msgid ""
132
+ "Version 3 allows visitors to easily highlight portions of your code with "
133
+ "their mouse (either by dragging or double-clicking) and copy it to their "
134
+ "clipboard. No toolbar containing a Flash-based button is required."
135
+ msgstr ""
136
+ "<p class=\"description\">In Version 3.x können Teile des Quelltextes mit der "
137
+ "Maus markiert und in die Zwischenablage kopiert werden, ohne dass Adobe "
138
+ "Flash benötigt wird.<br> In Version 2.x können lange Zeilen mittels "
139
+ "Zeilenumbruch angezeigt werden.</p>"
140
+
141
+ #: syntaxhighlighter.php:1014
142
+ msgid ""
143
+ "Version 2 allows for line wrapping, something that version 3 does not do at "
144
+ "this time."
145
+ msgstr " "
146
+
147
+ #: syntaxhighlighter.php:1018
148
+ msgid "Color Theme"
149
+ msgstr "Farbschema"
150
+
151
+ #: syntaxhighlighter.php:1030 syntaxhighlighter.php:1033
152
+ msgid "Load All Brushes"
153
+ msgstr "Alle Syntax-Dateien laden"
154
+
155
+ #: syntaxhighlighter.php:1034
156
+ msgid ""
157
+ "Always load all language files (for directly using <code>&lt;pre&gt;</code> "
158
+ "tags rather than shortcodes)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If left "
159
+ "unchecked (default), then language files will only be loaded when needed<br /"
160
+ ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If unsure, leave this box unchecked"
161
+ msgstr ""
162
+ "Immer alle Syntax-Dateien laden, um <code>&lt;pre&gt;</code> Tags anstelle "
163
+ "von Shortcodes verwenden zu können.<p class=\"description\">Wenn diese "
164
+ "Option deaktiviert ist, werden die Syntax-Dateien nur bei Bedarf geladen "
165
+ "(Voreinstellung). Im Zweifel solltest du diese Option deaktiviert lassen.</p>"
166
+
167
+ #: syntaxhighlighter.php:1040
168
+ msgid "Defaults"
169
+ msgstr "Voreinstellungen"
170
+
171
+ #: syntaxhighlighter.php:1042
172
+ msgid ""
173
+ "All of the settings below can be configured on a per-code block basis, but "
174
+ "you can control the defaults of all code blocks here."
175
+ msgstr ""
176
+ "Alle folgenden Einstellungen können mit den unten beschriebenen Shortcode "
177
+ "Parametern pro Quelltext-Block festgelegt werden. Du kannst hier aber die "
178
+ "Voreinstellungen für alle Quellcode-Blöcke festlegen."
179
+
180
+ #: syntaxhighlighter.php:1046 syntaxhighlighter.php:1049
181
+ msgid "Miscellaneous"
182
+ msgstr "Allgemein"
183
+
184
+ #: syntaxhighlighter.php:1051
185
+ msgid "Display line numbers"
186
+ msgstr "<code>gutter</code> &#8212; Zeilennummern anzeigen"
187
+
188
+ #: syntaxhighlighter.php:1052
189
+ msgid "Display the toolbar"
190
+ msgstr "<code>toolbar</code> &#8212; Toolbar anzeigen"
191
+
192
+ #: syntaxhighlighter.php:1053
193
+ msgid "Automatically make URLs clickable"
194
+ msgstr "<code>autolinks</code> &#8212; URLs im Quelltext als Link darstellen"
195
+
196
+ #: syntaxhighlighter.php:1054
197
+ msgid "Collapse code boxes"
198
+ msgstr "<code>collapse</code> &#8212; Quelltext-Block zugeklappt anzeigen"
199
+
200
+ #: syntaxhighlighter.php:1055
201
+ msgid "Use the light display mode, best for single lines of code"
202
+ msgstr ""
203
+ "<code>light</code> &#8212; Keine Zeilennummern und kein Toolbar anzeigen"
204
+
205
+ #: syntaxhighlighter.php:1056
206
+ msgid "Use smart tabs allowing tabs being used for alignment"
207
+ msgstr "<code>smarttabs</code> &#8212; Tabstopps zur Ausrichtung verwenden"
208
+
209
+ #: syntaxhighlighter.php:1057
210
+ msgid ""
211
+ "Wrap long lines (v2.x only, disabling this will make a scrollbar show "
212
+ "instead)"
213
+ msgstr ""
214
+ "<code>wraplines</code> &#8212; Zu lange Zeilen mittels Zeilenumbruch statt "
215
+ "einer Bildlaufleiste darstellen (nur in Version 2.x möglich)"
216
+
217
+ #: syntaxhighlighter.php:1058
218
+ msgid ""
219
+ "Enable &quot;HTML script&quot; mode by default (see the bottom of this page "
220
+ "for details). Checking this box is not recommended as this mode only works "
221
+ "with certain languages."
222
+ msgstr ""
223
+ "<code>htmlscript</code> &#8212; HTML/XML innerhalb des Quelltextes "
224
+ "hervorheben. Es wird nicht empfohlen, diesen Modus als Voreinstellung zu "
225
+ "verwenden, da er nur bei bestimmten Programmiersprachen verfügbar ist."
226
+
227
+ #: syntaxhighlighter.php:1063
228
+ msgid "Additional CSS Class(es)"
229
+ msgstr "Zusätzliche CSS Klasse(n)"
230
+
231
+ #: syntaxhighlighter.php:1067
232
+ msgid "Starting Line Number"
233
+ msgstr "Erste Zeilennummer"
234
+
235
+ #: syntaxhighlighter.php:1071
236
+ msgid "Line Number Padding"
237
+ msgstr "Führende Nullen anzeigen"
238
+
239
+ #: syntaxhighlighter.php:1076
240
+ msgid "Off"
241
+ msgstr "Keine"
242
+
243
+ #: syntaxhighlighter.php:1077
244
+ msgid "Automatic"
245
+ msgstr "Automatisch"
246
+
247
+ #: syntaxhighlighter.php:1093
248
+ msgid "Tab Size"
249
+ msgstr "Tabulatorbreite"
250
+
251
+ #: syntaxhighlighter.php:1097
252
+ msgid "Title"
253
+ msgstr "Überschrift"
254
+
255
+ #: syntaxhighlighter.php:1100
256
+ msgid ""
257
+ "Some optional default text to display above each code block or as the "
258
+ "clickable text for collapsed code blocks."
259
+ msgstr ""
260
+ "<p class=\"description\">Überschrift für den Quelltext (nur in Version 3.x "
261
+ "möglich)</p>"
262
+
263
+ #: syntaxhighlighter.php:1110 syntaxhighlighter.php:1113
264
+ msgid "Reset to Defaults"
265
+ msgstr "Alle Einstellungen zurücksetzen"
266
+
267
+ #: syntaxhighlighter.php:1112
268
+ msgid "Save Changes"
269
+ msgstr "Änderungen speichern"
270
+
271
+ #: syntaxhighlighter.php:1120
272
+ msgid "Preview"
273
+ msgstr "Vorschau"
274
+
275
+ #: syntaxhighlighter.php:1122
276
+ msgid "Click &quot;Save Changes&quot; to update this preview."
277
+ msgstr "Klicke „Änderungen speichern” zur Aktualisierung der Vorschau."
278
+
279
+ #: syntaxhighlighter.php:1141
280
+ msgid "PHP Code Example"
281
+ msgstr "PHP Quelltext Beispiel"
282
+
283
+ #: syntaxhighlighter.php:1143
284
+ msgid "Hello World!"
285
+ msgstr "Hallo Welt!"
286
+
287
+ #: syntaxhighlighter.php:1145
288
+ msgid "This line is highlighted."
289
+ msgstr "Diese Zeile ist hervorgehoben."
290
+
291
+ #: syntaxhighlighter.php:1148
292
+ msgid ""
293
+ "\t\tThis\tis\tan\n"
294
+ "\t\texample\tof\tsmart\n"
295
+ "\t\ttabs."
296
+ msgstr ""
297
+ "\t\tDies\tist\tein\n"
298
+ "\t\tBeispiel\tfür\tSmart\n"
299
+ "\t\tTabs."
300
+
301
+ #: syntaxhighlighter.php:1153
302
+ msgid "WordPress"
303
+ msgstr "WordPress"
304
+
305
+ #: syntaxhighlighter.php:1164
306
+ msgid "Shortcode Parameters"
307
+ msgstr "Shortcodes"
308
+
309
+ #: syntaxhighlighter.php:1166
310
+ #, php-format
311
+ msgid ""
312
+ "These are the parameters you can pass to the shortcode and what they do. For "
313
+ "the booleans (i.e. on/off), pass %1$s/%2$s or %3$s/%4$s."
314
+ msgstr ""
315
+ "Liste der Shortcode Parameter und ihrer Funktion. Für boolesche Werte (d.h. "
316
+ "an/aus), verwende %1$s/%2$s oder %3$s/%4$s."
317
+
318
+ #: syntaxhighlighter.php:1169
319
+ #, php-format
320
+ msgctxt "language parameter"
321
+ msgid ""
322
+ "%1$s or %2$s &#8212; The language syntax to highlight with. You can "
323
+ "alternately just use that as the tag, such as <code>[php]code[/php]</code>. "
324
+ "<a href=\"%3$s\">Click here</a> for a list of valid tags (under &quot;"
325
+ "aliases&quot;)."
326
+ msgstr ""
327
+ "%1$s oder %2$s &#8212; Programmiersprache des Quelltextes festlegen. Du "
328
+ "kannst alternativ auch nur den Namen der Programmiersprache als Tag "
329
+ "verwenden. Beispiel: <code>[php]code[/php]</code>. Eine Liste der gültigen "
330
+ "Tags findest du auf <a href=\"%3$s\">dieser Seite</a> unter dem "
331
+ "Navigationspunkt <a href=\"http://alexgorbatchev.com/SyntaxHighlighter/"
332
+ "manual/brushes/\">syntaxes</a>."
333
+
334
+ #: syntaxhighlighter.php:1170
335
+ #, php-format
336
+ msgctxt "autolinks parameter"
337
+ msgid "%s &#8212; Toggle automatic URL linking."
338
+ msgstr "%s &#8212; URLs im Quelltext als Link darstellen."
339
+
340
+ #: syntaxhighlighter.php:1171
341
+ #, php-format
342
+ msgctxt "classname parameter"
343
+ msgid "%s &#8212; Add an additional CSS class to the code box."
344
+ msgstr ""
345
+ "%s &#8212; Zusätzliche CSS Klasse(n) für den Quelltext-Block einbinden. "
346
+ "Mehrere Klassen durch Leerzeichen voneinander trennen."
347
+
348
+ #: syntaxhighlighter.php:1172
349
+ #, php-format
350
+ msgctxt "collapse parameter"
351
+ msgid ""
352
+ "%s &#8212; Toggle collapsing the code box by default, requiring a click to "
353
+ "expand it. Good for large code posts."
354
+ msgstr ""
355
+ "%s &#8212; Quelltext-Block zugeklappt anzeigen. Zum Aufklappen ist dann ein "
356
+ "Klick auf den Quelltext-Block notwendig. Diese Einstellung eignet sich "
357
+ "insbesondere für längere Quelltexte."
358
+
359
+ #: syntaxhighlighter.php:1173
360
+ #, php-format
361
+ msgctxt "firstline parameter"
362
+ msgid ""
363
+ "%s &#8212; An interger specifying what number the first line should be (for "
364
+ "the line numbering)."
365
+ msgstr ""
366
+ "%s &#8212; Erste Zeilennummer für die Nummerierung der Quelltextzeilen "
367
+ "festlegen."
368
+
369
+ #: syntaxhighlighter.php:1174
370
+ #, php-format
371
+ msgctxt "gutter parameter"
372
+ msgid "%s &#8212; Toggle the left-side line numbering."
373
+ msgstr "%s &#8212; Zeilennummern anzeigen."
374
+
375
+ #: syntaxhighlighter.php:1175
376
+ #, php-format
377
+ msgctxt "highlight parameter"
378
+ msgid ""
379
+ "%1$s &#8212; A comma-sperated list of line numbers to highlight. You can "
380
+ "also specify a range. Example: %2$s"
381
+ msgstr ""
382
+ "%1$s &#8212; Quelltextzeilen hervorheben. Die Angabe erfolgt in Form einer "
383
+ "kommaseparierten Liste oder eines Bereichs: %2$s"
384
+
385
+ #: syntaxhighlighter.php:1176
386
+ #, php-format
387
+ msgctxt "htmlscript parameter"
388
+ msgid ""
389
+ "%s &#8212; Toggle highlighting any extra HTML/XML. Good for when you're "
390
+ "mixing HTML/XML with another language, such as having PHP inside an HTML web "
391
+ "page. The above preview has it enabled for example. This only works with "
392
+ "certain languages."
393
+ msgstr ""
394
+ "%s &#8212; HTML/XML innerhalb des Quelltextes hervorheben. Diese Option ist "
395
+ "geeignet, wenn HTML/XML und eine andere Sprache gemischt werden (z.B. PHP "
396
+ "innerhalb einer HTML Webseite in der obigen Vorschau). Diese Option ist "
397
+ "jedoch nur für bestimmte Programmiersprachen verfügbar."
398
+
399
+ #: syntaxhighlighter.php:1177
400
+ #, php-format
401
+ msgctxt "light parameter"
402
+ msgid ""
403
+ "%s &#8212; Toggle light mode which disables the gutter and toolbar all at "
404
+ "once."
405
+ msgstr "%s &#8212; Keine Zeilennummern und kein Toolbar anzeigen."
406
+
407
+ #: syntaxhighlighter.php:1178
408
+ #, php-format
409
+ msgctxt "padlinenumbers parameter"
410
+ msgid ""
411
+ "%s &#8212; Controls line number padding. Valid values are <code>false</code> "
412
+ "(no padding), <code>true</code> (automatic padding), or an integer (forced "
413
+ "padding)."
414
+ msgstr ""
415
+ "%s &#8212; Führenden Nullen anzeigen. Gültige Werte sind <code>false</code> "
416
+ "(keine führenden Nullen), <code>true</code> (automatische Anzahl führender "
417
+ "Nullen) oder ein Integer Wert (feste Anzahl von Stellen)."
418
+
419
+ #: syntaxhighlighter.php:1179
420
+ #, php-format
421
+ msgctxt "title parameter"
422
+ msgid ""
423
+ "%1$s (v3 only) &#8212; Sets some text to show up before the code. Very "
424
+ "useful when combined with the %2$s parameter."
425
+ msgstr ""
426
+ "%1$s (nur Version 3.x) &#8212; Überschrift für den Quelltext. Diese Option "
427
+ "empfiehlt sich, wenn %2$s verwendet wird."
428
+
429
+ #: syntaxhighlighter.php:1180
430
+ #, php-format
431
+ msgctxt "toolbar parameter"
432
+ msgid ""
433
+ "%s &#8212; Toggle the toolbar (buttons in v2, the about question mark in v3)"
434
+ msgstr "%s &#8212; Toolbar anzeigen."
435
+
436
+ #: syntaxhighlighter.php:1181
437
+ #, php-format
438
+ msgctxt "wraplines parameter"
439
+ msgid "%s (v2 only) &#8212; Toggle line wrapping."
440
+ msgstr ""
441
+ "%s (nur Version 2.x) &#8212; Zu lange Zeilen mittels Zeilenumbruch statt "
442
+ "einer Bildlaufleiste darstellen."
443
+
444
+ #: syntaxhighlighter.php:1184
445
+ msgid "Some example shortcodes:"
446
+ msgstr "Einige Beispiele für Shortcodes:"
447
+
448
+ #: syntaxhighlighter.php:1187 syntaxhighlighter.php:1188
449
+ #: syntaxhighlighter.php:1189 syntaxhighlighter.php:1190
450
+ msgid "your code here"
451
+ msgstr "Hier steht der Quelltext"
452
+
453
+ #: syntaxhighlighter.php:1188
454
+ msgid "example-filename.php"
455
+ msgstr "beispieldatei.php"
localization/syntaxhighlighter-es_ES.mo ADDED
Binary file
localization/syntaxhighlighter-es_ES.po ADDED
@@ -0,0 +1,464 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2010 SyntaxHighlighter Evolved
2
+ # This file is distributed under the same license as the SyntaxHighlighter Evolved package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: SyntaxHighlighter Evolved 3.1.3\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/syntaxhighlighter\n"
7
+ "POT-Creation-Date: 2011-06-22 06:44:52+00:00\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2017-07-11 14:16+0200\n"
12
+ "Last-Translator: \n"
13
+ "Language-Team: mammutdeveloper ibijorge@gmail.com\n"
14
+ "Language: es_ES\n"
15
+ "X-Generator: Poedit 2.0.2\n"
16
+
17
+ #: syntaxhighlighter.php:250
18
+ msgid "Default"
19
+ msgstr "Defecto"
20
+
21
+ #: syntaxhighlighter.php:251
22
+ msgid "Django"
23
+ msgstr "Django"
24
+
25
+ #: syntaxhighlighter.php:252
26
+ msgid "Eclipse"
27
+ msgstr "Eclipse"
28
+
29
+ #: syntaxhighlighter.php:253
30
+ msgid "Emacs"
31
+ msgstr "Emacs"
32
+
33
+ #: syntaxhighlighter.php:254
34
+ msgid "Fade to Grey"
35
+ msgstr "Descolorar a gris"
36
+
37
+ #: syntaxhighlighter.php:255
38
+ msgid "Midnight"
39
+ msgstr "Midnight"
40
+
41
+ #: syntaxhighlighter.php:256
42
+ msgid "RDark"
43
+ msgstr "RDark"
44
+
45
+ #: syntaxhighlighter.php:257
46
+ msgid "[None]"
47
+ msgstr "[Ninguno]"
48
+
49
+ #: syntaxhighlighter.php:269 syntaxhighlighter.php:996
50
+ msgid "SyntaxHighlighter Settings"
51
+ msgstr "Ajustes de SyntaxHighlighter"
52
+
53
+ #: syntaxhighlighter.php:269
54
+ msgid "SyntaxHighlighter"
55
+ msgstr "SyntaxHighlighter"
56
+
57
+ #: syntaxhighlighter.php:300
58
+ msgid "Settings"
59
+ msgstr "Ajustes"
60
+
61
+ #: syntaxhighlighter.php:658
62
+ msgid "show source"
63
+ msgstr "mostrar fuente"
64
+
65
+ #: syntaxhighlighter.php:659
66
+ msgid "view source"
67
+ msgstr "ver fuente"
68
+
69
+ #: syntaxhighlighter.php:660
70
+ msgid "copy to clipboard"
71
+ msgstr "copiar al portapapeles"
72
+
73
+ #: syntaxhighlighter.php:661
74
+ msgid "The code is in your clipboard now"
75
+ msgstr "El código esta ahora en tu portapapeles"
76
+
77
+ #: syntaxhighlighter.php:662
78
+ msgid "print"
79
+ msgstr "imprimir"
80
+
81
+ #: syntaxhighlighter.php:663 syntaxhighlighter.php:670
82
+ msgid "?"
83
+ msgstr "?"
84
+
85
+ #: syntaxhighlighter.php:664 syntaxhighlighter.php:671
86
+ msgid "SyntaxHighlighter\\n\\n"
87
+ msgstr "SyntaxHighlighter\\n\\n"
88
+
89
+ #: syntaxhighlighter.php:665 syntaxhighlighter.php:672
90
+ msgid "Can't find brush for: "
91
+ msgstr "No se ha podido encontrar una definición de sintaxis para "
92
+
93
+ #: syntaxhighlighter.php:666 syntaxhighlighter.php:673
94
+ msgid "Brush wasn't configured for html-script option: "
95
+ msgstr "La definición de sintaxis para la opción html-script no se configuró "
96
+
97
+ #: syntaxhighlighter.php:669
98
+ msgid "+ expand source"
99
+ msgstr "+ ampliar fuente"
100
+
101
+ #: syntaxhighlighter.php:984
102
+ msgid "Are you sure you want to reset your settings to the defaults?"
103
+ msgstr ""
104
+ "¿Estas seguro de que quieres restablecer las opciones a las de por defecto?"
105
+
106
+ #: syntaxhighlighter.php:988
107
+ msgid "Settings reset to defaults."
108
+ msgstr "Opciones restablecidas a las de por defecto."
109
+
110
+ #: syntaxhighlighter.php:1005
111
+ msgid "Highlighter Version"
112
+ msgstr "Versión Highlighter"
113
+
114
+ #: syntaxhighlighter.php:1010
115
+ msgid "Version 3.x"
116
+ msgstr "Versión 3.x"
117
+
118
+ #: syntaxhighlighter.php:1011
119
+ msgid "Version 2.x"
120
+ msgstr "Versión 2.x"
121
+
122
+ #: syntaxhighlighter.php:1019
123
+ msgid ""
124
+ "Version 3 allows visitors to easily highlight portions of your code with "
125
+ "their mouse (either by dragging or double-clicking) and copy it to their "
126
+ "clipboard. No toolbar containing a Flash-based button is required."
127
+ msgstr ""
128
+ "La versión 3 permite a los visitantes arrastrar fácilmente porciones de sus "
129
+ "códigos con el ratón ( igualmente manteniendo o haciendo doble click) y "
130
+ "copiarlos a sus portapapeles. No requiere de una barra de herramientas con "
131
+ "un botón de Flash-based."
132
+
133
+ #: syntaxhighlighter.php:1020
134
+ msgid ""
135
+ "Version 2 allows for line wrapping, something that version 3 does not do at "
136
+ "this time."
137
+ msgstr ""
138
+ "La versión 2 permite el wrap por línea, algo que la versión 3 no hace en "
139
+ "este momento."
140
+
141
+ #: syntaxhighlighter.php:1024
142
+ msgid "Color Theme"
143
+ msgstr "Color del tema"
144
+
145
+ #: syntaxhighlighter.php:1036 syntaxhighlighter.php:1039
146
+ msgid "Load All Brushes"
147
+ msgstr "Cargar todas las opciones de sintaxis"
148
+
149
+ #: syntaxhighlighter.php:1040
150
+ msgid ""
151
+ "Always load all language files (for directly using <code>&lt;pre&gt;</code> "
152
+ "tags rather than shortcodes)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If left "
153
+ "unchecked (default), then language files will only be loaded when needed<br /"
154
+ ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If unsure, leave this box unchecked"
155
+ msgstr ""
156
+ "Carga siempre todos los archivos de lenguaje (usando directamente <code>&lt;"
157
+ "pre&gt;</code> etiquetas mejor que shortcodes)<br />&nbsp;&nbsp;&nbsp;&nbsp;"
158
+ "&nbsp;Si está sin marcar (por defecto), luego los archivos de lenguaje "
159
+ "solamente se cargarán cuando lo necesiten<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"
160
+ "Si no estas seguro deja la caja sin marcar"
161
+
162
+ #: syntaxhighlighter.php:1046
163
+ msgid "Defaults"
164
+ msgstr "Parámetros por defecto"
165
+
166
+ #: syntaxhighlighter.php:1048
167
+ msgid ""
168
+ "All of the settings below can be configured on a per-code block basis, but "
169
+ "you can control the defaults of all code blocks here."
170
+ msgstr ""
171
+ "Todas las opciones de abajo pueden ser configuradas como un bloque singular "
172
+ "común, pero puedes controlar los valores por defecto de todos los bloques de "
173
+ "código aquí."
174
+
175
+ #: syntaxhighlighter.php:1052 syntaxhighlighter.php:1055
176
+ msgid "Miscellaneous"
177
+ msgstr "Variado"
178
+
179
+ #: syntaxhighlighter.php:1057
180
+ msgid "Display line numbers"
181
+ msgstr "Mostrar los números de la línea"
182
+
183
+ #: syntaxhighlighter.php:1058
184
+ msgid "Display the toolbar"
185
+ msgstr "Mostrar la barra de herramientas"
186
+
187
+ #: syntaxhighlighter.php:1059
188
+ msgid "Automatically make URLs clickable"
189
+ msgstr "Automáticamente hace que las URLs sean marcables"
190
+
191
+ #: syntaxhighlighter.php:1060
192
+ msgid "Collapse code boxes"
193
+ msgstr "Colapsar las cajas de código"
194
+
195
+ #: syntaxhighlighter.php:1061
196
+ msgid "Use the light display mode, best for single lines of code"
197
+ msgstr "Utiliza mejor el modo de muestra claro para lineas de código simples"
198
+
199
+ #: syntaxhighlighter.php:1062
200
+ msgid "Use smart tabs allowing tabs being used for alignment"
201
+ msgstr ""
202
+ "Utiliza las smart tabs de modo que permitan las tabs ser utilizadas para el "
203
+ "alineamiento"
204
+
205
+ #: syntaxhighlighter.php:1063
206
+ msgid ""
207
+ "Wrap long lines (v2.x only, disabling this will make a scrollbar show "
208
+ "instead)"
209
+ msgstr ""
210
+ "Wrap líneas largas (únicamente en v2.x , deshabilitando esta se mostrará un "
211
+ "scrollbar en su lugar)"
212
+
213
+ #: syntaxhighlighter.php:1064
214
+ msgid ""
215
+ "Enable &quot;HTML script&quot; mode by default (see the bottom of this page "
216
+ "for details). Checking this box is not recommended as this mode only works "
217
+ "with certain languages."
218
+ msgstr ""
219
+ "Permitir &quot;HTML script&quot; modo por defecto (mirar el final de la "
220
+ "página para más detalles). Marcar esta opción no es recomendable ya que este "
221
+ "modo solo funciona con ciertos lenguajes."
222
+
223
+ #: syntaxhighlighter.php:1069
224
+ msgid "Additional CSS Class(es)"
225
+ msgstr "Clase(es) de Css adicional(es)"
226
+
227
+ #: syntaxhighlighter.php:1073
228
+ msgid "Starting Line Number"
229
+ msgstr "Número de inicio de la línea"
230
+
231
+ #: syntaxhighlighter.php:1077
232
+ msgid "Line Number Padding"
233
+ msgstr "Padding de la numeración de la línea"
234
+
235
+ #: syntaxhighlighter.php:1082
236
+ msgid "Off"
237
+ msgstr "Off"
238
+
239
+ #: syntaxhighlighter.php:1083
240
+ msgid "Automatic"
241
+ msgstr "Automático"
242
+
243
+ #: syntaxhighlighter.php:1099
244
+ msgid "Tab Size"
245
+ msgstr "Tamaño del Tab"
246
+
247
+ #: syntaxhighlighter.php:1103
248
+ msgid "Title"
249
+ msgstr "Título"
250
+
251
+ #: syntaxhighlighter.php:1106
252
+ msgid ""
253
+ "Some optional default text to display above each code block or as the "
254
+ "clickable text for collapsed code blocks."
255
+ msgstr ""
256
+ "Texto por defecto opcional para mostrar debajo de cada bloque de código o "
257
+ "como texto clickable para bloques de código colapsados."
258
+
259
+ #: syntaxhighlighter.php:1116 syntaxhighlighter.php:1119
260
+ msgid "Reset to Defaults"
261
+ msgstr "Restablecer a parámetros por defecto"
262
+
263
+ #: syntaxhighlighter.php:1118
264
+ msgid "Save Changes"
265
+ msgstr "Guardar cambios"
266
+
267
+ #: syntaxhighlighter.php:1126
268
+ msgid "Preview"
269
+ msgstr "Vista previa"
270
+
271
+ #: syntaxhighlighter.php:1128
272
+ msgid "Click &quot;Save Changes&quot; to update this preview."
273
+ msgstr "Clicar &quot;Save Changes&quot; para cargar esta vista previa."
274
+
275
+ #: syntaxhighlighter.php:1147
276
+ msgid "PHP Code Example"
277
+ msgstr "Ejemplo de código PHP"
278
+
279
+ #: syntaxhighlighter.php:1149
280
+ msgid "Hello World!"
281
+ msgstr "¡Hola mundo!"
282
+
283
+ #: syntaxhighlighter.php:1151
284
+ msgid "This line is highlighted."
285
+ msgstr "Esta línea esta destacada."
286
+
287
+ #: syntaxhighlighter.php:1154
288
+ msgid ""
289
+ "\t\tThis\tis\tan\r\n"
290
+ "\t\texample\tof\tsmart\r\n"
291
+ "\t\ttabs."
292
+ msgstr ""
293
+ "\t\tEste\tes\tun\n"
294
+ "\t\tejemplo\tde\tsmart\n"
295
+ "\t\ttabs."
296
+
297
+ #: syntaxhighlighter.php:1159
298
+ msgid "WordPress"
299
+ msgstr "WordPress"
300
+
301
+ #: syntaxhighlighter.php:1170
302
+ msgid "Shortcode Parameters"
303
+ msgstr "Parámetros de Shortcode"
304
+
305
+ #: syntaxhighlighter.php:1172
306
+ msgid ""
307
+ "These are the parameters you can pass to the shortcode and what they do. For "
308
+ "the booleans (i.e. on/off), pass %1$s/%2$s or %3$s/%4$s."
309
+ msgstr ""
310
+ "Estos son los parámetros que puedes pasar a los shortcode y los que puedes "
311
+ "utilizar. Para los boleanos(i.e. on/off), pasar %1$s/%2$s or %3$s/%4$s."
312
+
313
+ #: syntaxhighlighter.php:1175
314
+ msgctxt "language parameter"
315
+ msgid ""
316
+ "%1$s or %2$s &#8212; The language syntax to highlight with. You can "
317
+ "alternately just use that as the tag, such as <code>[php]code[/php]</code>. "
318
+ "<a href=\"%3$s\">Click here</a> for a list of valid tags (under &quot;"
319
+ "aliases&quot;)."
320
+ msgstr ""
321
+ "%1$s or %2$s &#8212; Este es el lenguaje para destacar. Solo puedes "
322
+ "utilizar esta alternativamente como etiquéta, como ejemplo <code>[php]code[/"
323
+ "php]</code>. <a href=\"%3$s\">Clica aquí</a> para una lista de etiquetas "
324
+ "validas (under &quot;aliases&quot;)."
325
+
326
+ #: syntaxhighlighter.php:1176
327
+ msgctxt "autolinks parameter"
328
+ msgid "%s &#8212; Toggle automatic URL linking."
329
+ msgstr "%s &#8212; Conmutación automática del enlace de URL."
330
+
331
+ #: syntaxhighlighter.php:1177
332
+ msgctxt "classname parameter"
333
+ msgid "%s &#8212; Add an additional CSS class to the code box."
334
+ msgstr "%s &#8212; Añade una clase de CSS adicional para la caja de código."
335
+
336
+ #: syntaxhighlighter.php:1178
337
+ msgctxt "collapse parameter"
338
+ msgid ""
339
+ "%s &#8212; Toggle collapsing the code box by default, requiring a click to "
340
+ "expand it. Good for large code posts."
341
+ msgstr ""
342
+ "%s &#8212; Conmutación del colapso de la caja de código por defecto, "
343
+ "requiriendo de un clic para ampliarse. Bueno para posts con mucho código."
344
+
345
+ #: syntaxhighlighter.php:1179
346
+ msgctxt "firstline parameter"
347
+ msgid ""
348
+ "%s &#8212; An interger specifying what number the first line should be (for "
349
+ "the line numbering)."
350
+ msgstr ""
351
+ "%s &#8212; Un número entero para definir con que número debería iniciar la "
352
+ "primera línea (para la numeración de la línea)."
353
+
354
+ #: syntaxhighlighter.php:1180
355
+ msgctxt "gutter parameter"
356
+ msgid "%s &#8212; Toggle the left-side line numbering."
357
+ msgstr "%s &#8212; Conmutar el numerado de la línea del lado izquierdo."
358
+
359
+ #: syntaxhighlighter.php:1181
360
+ msgctxt "highlight parameter"
361
+ msgid ""
362
+ "%1$s &#8212; A comma-sperated list of line numbers to highlight. You can "
363
+ "also specify a range. Example: %2$s"
364
+ msgstr ""
365
+ "%1$s &#8212; Una lista (comma-sperated) de números en línea para destacar. "
366
+ "Puedes además especificar un rango. Ejemplo: %2$s"
367
+
368
+ #: syntaxhighlighter.php:1182
369
+ msgctxt "htmlscript parameter"
370
+ msgid ""
371
+ "%s &#8212; Toggle highlighting any extra HTML/XML. Good for when you're "
372
+ "mixing HTML/XML with another language, such as having PHP inside an HTML web "
373
+ "page. The above preview has it enabled for example. This only works with "
374
+ "certain languages."
375
+ msgstr ""
376
+ "%s &#8212; Conmutar destacado para cualquier HTML/XML. Bueno para cuando "
377
+ "estas mezclando HTML/XML con cualquier otro lenguaje, como tener PHP dentro "
378
+ "de una página web HTML. La vista previa de abajo la tiene activada como "
379
+ "ejemplo. Esto solo funciona con ciertos lenguajes."
380
+
381
+ #: syntaxhighlighter.php:1183
382
+ msgctxt "light parameter"
383
+ msgid ""
384
+ "%s &#8212; Toggle light mode which disables the gutter and toolbar all at "
385
+ "once."
386
+ msgstr ""
387
+ "%s &#8212; Conmutar el modo claro el cual deshabilita a la vez el gutter y "
388
+ "la barra de herramientas."
389
+
390
+ #: syntaxhighlighter.php:1184
391
+ msgctxt "padlinenumbers parameter"
392
+ msgid ""
393
+ "%s &#8212; Controls line number padding. Valid values are <code>false</code> "
394
+ "(no padding), <code>true</code> (automatic padding), or an integer (forced "
395
+ "padding)."
396
+ msgstr ""
397
+ "%s &#8212; Controla el padding de los números en línea. Los valores válidos "
398
+ "son <code>false</code> (sin padding), <code>true</code> (padding "
399
+ "automatico), o un entero (fuerza el padding)."
400
+
401
+ #: syntaxhighlighter.php:1185
402
+ msgctxt "title parameter"
403
+ msgid ""
404
+ "%1$s (v3 only) &#8212; Sets some text to show up before the code. Very "
405
+ "useful when combined with the %2$s parameter."
406
+ msgstr ""
407
+ "%1$s (solo en v3) &#8212; Selecciona algún texto para mostrar antes del "
408
+ "código. Muy útil cuando se combina con el parámetro %2$s."
409
+
410
+ #: syntaxhighlighter.php:1186
411
+ msgctxt "toolbar parameter"
412
+ msgid ""
413
+ "%s &#8212; Toggle the toolbar (buttons in v2, the about question mark in v3)"
414
+ msgstr ""
415
+ "%s &#8212; Conmuta la barra de herramientas (los botones en v2, la opción de "
416
+ "la pregunta about en v3)"
417
+
418
+ #: syntaxhighlighter.php:1187
419
+ msgctxt "wraplines parameter"
420
+ msgid "%s (v2 only) &#8212; Toggle line wrapping."
421
+ msgstr "%s (solo en v2) &#8212; Conmuta el wrapping de línea."
422
+
423
+ #: syntaxhighlighter.php:1190
424
+ msgid "Some example shortcodes:"
425
+ msgstr "Algunos ejemplos de shortcodes:"
426
+
427
+ #: syntaxhighlighter.php:1193 syntaxhighlighter.php:1194
428
+ #: syntaxhighlighter.php:1195 syntaxhighlighter.php:1196
429
+ msgid "your code here"
430
+ msgstr "introduce tu código aquí"
431
+
432
+ #: syntaxhighlighter.php:1194
433
+ msgid "example-filename.php"
434
+ msgstr "ejemplo-nombredearchivo.php"
435
+
436
+ #. Plugin Name of the plugin/theme
437
+ msgid "SyntaxHighlighter Evolved"
438
+ msgstr "SyntaxHighlighter Evolved"
439
+
440
+ #. Plugin URI of the plugin/theme
441
+ msgid "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
442
+ msgstr "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
443
+
444
+ #. Description of the plugin/theme
445
+ msgid ""
446
+ "Easily post syntax-highlighted code to your site without having to modify "
447
+ "the code at all. Uses Alex Gorbatchev's <a href=\"http://alexgorbatchev.com/"
448
+ "wiki/SyntaxHighlighter\">SyntaxHighlighter</a>. <strong>TIP:</strong> Don't "
449
+ "use the Visual editor if you don't want your code mangled. TinyMCE will "
450
+ "\"clean up\" your HTML."
451
+ msgstr ""
452
+ "Introduce sintaxis destacadas de código a tu sitio sin tener que modificar "
453
+ "el código del todo . Utiliza el Alex Gorbatchev's <a href=\"http://"
454
+ "alexgorbatchev.com/wiki/SyntaxHighlighter\">SyntaxHighlighter</a>. "
455
+ "<strong>TIP:</strong> No utilizes el editos Visual si no quieres estropear "
456
+ "tu código. TinyMCE limpiará tu HTML."
457
+
458
+ #. Author of the plugin/theme
459
+ msgid "Viper007Bond"
460
+ msgstr "Viper007Bond"
461
+
462
+ #. Author URI of the plugin/theme
463
+ msgid "http://www.viper007bond.com/"
464
+ msgstr "http://www.viper007bond.com/"
localization/syntaxhighlighter-it_IT.po CHANGED
@@ -1,422 +1,422 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR Viper007Bond
3
- # This file is distributed under the same license as the PACKAGE package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
6
- msgid ""
7
- msgstr ""
8
- "Project-Id-Version: SyntaxHighlighter Evolved in italiano\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2011-06-04 14:07+0100\n"
11
- "PO-Revision-Date: 2011-06-04 14:15+0100\n"
12
- "Last-Translator: Gianni Diurno (aka gidibao) <gidibao[at]gmail[dot]com>\n"
13
- "Language-Team: Gianni Diurno | gidibao.net\n"
14
- "MIME-Version: 1.0\n"
15
- "Content-Type: text/plain; charset=UTF-8\n"
16
- "Content-Transfer-Encoding: 8bit\n"
17
- "X-Poedit-Language: Italian\n"
18
- "X-Poedit-Country: ITALY\n"
19
- "X-Poedit-KeywordsList: __;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
20
- "X-Poedit-Basepath: ../\n"
21
- "X-Poedit-SourceCharset: utf-8\n"
22
- "X-Poedit-SearchPath-0: .\n"
23
-
24
- #: syntaxhighlighter.php:245
25
- msgid "Default"
26
- msgstr "Predefinito"
27
-
28
- #: syntaxhighlighter.php:246
29
- msgid "Django"
30
- msgstr "Django"
31
-
32
- #: syntaxhighlighter.php:247
33
- msgid "Eclipse"
34
- msgstr "Eclipse"
35
-
36
- #: syntaxhighlighter.php:248
37
- msgid "Emacs"
38
- msgstr "Emacs"
39
-
40
- #: syntaxhighlighter.php:249
41
- msgid "Fade to Grey"
42
- msgstr "Fade to Grey"
43
-
44
- #: syntaxhighlighter.php:250
45
- msgid "Midnight"
46
- msgstr "Midnight"
47
-
48
- #: syntaxhighlighter.php:251
49
- msgid "RDark"
50
- msgstr "RDark"
51
-
52
- #: syntaxhighlighter.php:252
53
- msgid "[None]"
54
- msgstr "[nessuno]"
55
-
56
- #: syntaxhighlighter.php:264
57
- #: syntaxhighlighter.php:954
58
- msgid "SyntaxHighlighter Settings"
59
- msgstr "Impostazioni SyntaxHighlighter"
60
-
61
- #: syntaxhighlighter.php:264
62
- msgid "SyntaxHighlighter"
63
- msgstr "SyntaxHighlighter"
64
-
65
- #: syntaxhighlighter.php:295
66
- msgid "Settings"
67
- msgstr "Impostazioni"
68
-
69
- #: syntaxhighlighter.php:616
70
- msgid "show source"
71
- msgstr "mostra sorgente"
72
-
73
- #: syntaxhighlighter.php:617
74
- msgid "view source"
75
- msgstr "vedi sorgente"
76
-
77
- #: syntaxhighlighter.php:618
78
- msgid "copy to clipboard"
79
- msgstr "copia negli appunti"
80
-
81
- #: syntaxhighlighter.php:619
82
- msgid "The code is in your clipboard now"
83
- msgstr "Il codice é da ora nei tuoi appunti"
84
-
85
- #: syntaxhighlighter.php:620
86
- msgid "print"
87
- msgstr "stampa"
88
-
89
- #: syntaxhighlighter.php:621
90
- #: syntaxhighlighter.php:628
91
- msgid "?"
92
- msgstr "info"
93
-
94
- #: syntaxhighlighter.php:622
95
- #: syntaxhighlighter.php:629
96
- msgid ""
97
- "SyntaxHighlighter\\n"
98
- "\\n"
99
- msgstr ""
100
- "SyntaxHighlighter\\n"
101
- "\\n"
102
-
103
- #: syntaxhighlighter.php:623
104
- #: syntaxhighlighter.php:630
105
- msgid "Can't find brush for: "
106
- msgstr "Non é stato possibile trovare il file di sintassi per: "
107
-
108
- #: syntaxhighlighter.php:624
109
- #: syntaxhighlighter.php:631
110
- msgid "Brush wasn't configured for html-script option: "
111
- msgstr "Il file di sintassi non é stato configurato per l'opzione html-script"
112
-
113
- #: syntaxhighlighter.php:627
114
- msgid "+ expand source"
115
- msgstr "+ espandi sorgente"
116
-
117
- #: syntaxhighlighter.php:942
118
- msgid "Are you sure you want to reset your settings to the defaults?"
119
- msgstr "Sei certo di volere ripristinare le impostazioni alle predefinite?"
120
-
121
- #: syntaxhighlighter.php:946
122
- msgid "Settings reset to defaults."
123
- msgstr "Ripristina le impostazioni alle predefinite"
124
-
125
- #: syntaxhighlighter.php:963
126
- msgid "Highlighter Version"
127
- msgstr "Versione Highlighter"
128
-
129
- #: syntaxhighlighter.php:968
130
- msgid "Version 3.x"
131
- msgstr "Versione 3.x"
132
-
133
- #: syntaxhighlighter.php:969
134
- msgid "Version 2.x"
135
- msgstr "Versione 2.x"
136
-
137
- #: syntaxhighlighter.php:977
138
- msgid "Version 3 allows visitors to easily highlight portions of your code with their mouse (either by dragging or double-clicking) and copy it to their clipboard. No toolbar containing a Flash-based button is required."
139
- msgstr "La versione 3 permette agli utenti di evidenziare facilmente con il mouse delle porzioni del tuo codice (altresì spostare/doppio-click) potendolo copiare nei loro appunti. Non sarà necessaria nessuna toolbar contenente un pulsante a base-Flash."
140
-
141
- #: syntaxhighlighter.php:978
142
- msgid "Version 2 allows for line wrapping, something that version 3 does not do at this time."
143
- msgstr "La versione 2 permette il wrap per la linea, funzione questa non ancora disponibile per la versione 3."
144
-
145
- #: syntaxhighlighter.php:982
146
- msgid "Color Theme"
147
- msgstr "Colore del tema"
148
-
149
- #: syntaxhighlighter.php:994
150
- #: syntaxhighlighter.php:997
151
- msgid "Load All Brushes"
152
- msgstr "Carica tutti i brush"
153
-
154
- #: syntaxhighlighter.php:998
155
- msgid "Always load all language files (for directly using <code>&lt;pre&gt;</code> tags rather than shortcodes)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If left unchecked (default), then language files will only be loaded when needed<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If unsure, leave this box unchecked"
156
- msgstr "Carica sempre tutti i file di linguaggio (per utilizzo diretto dei tag <code>&lt;pre&gt;</code> piuttosto che gli shortcode)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Se non attivo (predefinito), i file di linguaggio saranno caricati secondo necessità<br />&nbsp;&nbsp;"
157
-
158
- #: syntaxhighlighter.php:1004
159
- msgid "Defaults"
160
- msgstr "Parametri predefiniti"
161
-
162
- #: syntaxhighlighter.php:1006
163
- msgid "All of the settings below can be configured on a per-code block basis, but you can control the defaults of all code blocks here."
164
- msgstr "Tutte le impostazioni qui sotto potranno essere configurate singolarmente comunque, sarà altresì possibile controllare qui le predefinite per tutti i blocchi codice."
165
-
166
- #: syntaxhighlighter.php:1010
167
- #: syntaxhighlighter.php:1013
168
- msgid "Miscellaneous"
169
- msgstr "Varie"
170
-
171
- #: syntaxhighlighter.php:1015
172
- msgid "Display line numbers"
173
- msgstr "mostra la numerazione delle linee"
174
-
175
- #: syntaxhighlighter.php:1016
176
- msgid "Display the toolbar"
177
- msgstr "mostra la barra degli strumenti"
178
-
179
- #: syntaxhighlighter.php:1017
180
- msgid "Automatically make URLs clickable"
181
- msgstr "rendi gli URL cliccabili (in automatico)"
182
-
183
- #: syntaxhighlighter.php:1018
184
- msgid "Collapse code boxes"
185
- msgstr "comprimi le caselle del codice"
186
-
187
- #: syntaxhighlighter.php:1019
188
- msgid "Use the light display mode, best for single lines of code"
189
- msgstr "utilizza la modalità light del tema, ideale per le singole linee di codice"
190
-
191
- #: syntaxhighlighter.php:1020
192
- msgid "Use smart tabs allowing tabs being used for alignment"
193
- msgstr "utilizza le smart tabs in modo che le tag siano utilizzate per l'allineamento"
194
-
195
- #: syntaxhighlighter.php:1021
196
- msgid "Wrap long lines (v2.x only, disabling this will make a scrollbar show instead)"
197
- msgstr "Wrap per le righe di grandi dimensioni (solo v2.x, disattivando l'opzione si otterrà una barra di scorrimento)"
198
-
199
- #: syntaxhighlighter.php:1022
200
- msgid "Enable &quot;HTML script&quot; 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."
201
- msgstr "Abilita la modalità &quot;HTML script&quot; come predefinita (vedi i dettagli a fondo pagina). La selezione di questa casella non é raccomandabile poiché la funzione lavora solamente con alcuni linguaggi."
202
-
203
- #: syntaxhighlighter.php:1027
204
- msgid "Additional CSS Class(es)"
205
- msgstr "classe/i CSS addizionali"
206
-
207
- #: syntaxhighlighter.php:1031
208
- msgid "Starting Line Number"
209
- msgstr "Numero di inizio linea"
210
-
211
- #: syntaxhighlighter.php:1035
212
- msgid "Line Number Padding"
213
- msgstr "Padding numerazione linea"
214
-
215
- #: syntaxhighlighter.php:1040
216
- msgid "Off"
217
- msgstr "Spento"
218
-
219
- #: syntaxhighlighter.php:1041
220
- msgid "Automatic"
221
- msgstr "Automatico"
222
-
223
- #: syntaxhighlighter.php:1057
224
- msgid "Tab Size"
225
- msgstr "Dimensione tab"
226
-
227
- #: syntaxhighlighter.php:1061
228
- msgid "Title"
229
- msgstr "Titolo"
230
-
231
- #: syntaxhighlighter.php:1064
232
- msgid "Some optional default text to display above each code block or as the clickable text for collapsed code blocks."
233
- msgstr "Testo predefinito e facoltativo da mostrare al di sopra di ogni blocco codice o come testo cliccabile per i blocchi codice da espandere."
234
-
235
- #: syntaxhighlighter.php:1074
236
- #: syntaxhighlighter.php:1077
237
- msgid "Reset to Defaults"
238
- msgstr "Ripristina alle predefinite"
239
-
240
- #: syntaxhighlighter.php:1076
241
- msgid "Save Changes"
242
- msgstr "Salva le modifiche"
243
-
244
- #: syntaxhighlighter.php:1084
245
- msgid "Preview"
246
- msgstr "Anteprima della casella"
247
-
248
- #: syntaxhighlighter.php:1086
249
- msgid "Click &quot;Save Changes&quot; to update this preview."
250
- msgstr "Clicca &quot;Salva le modifiche&quot; per visualizzare l'anteprima aggiornata."
251
-
252
- #: syntaxhighlighter.php:1105
253
- msgid "PHP Code Example"
254
- msgstr "Codice PHP di esempio"
255
-
256
- #: syntaxhighlighter.php:1107
257
- msgid "Hello World!"
258
- msgstr "Hello World!"
259
-
260
- #: syntaxhighlighter.php:1109
261
- msgid "This line is highlighted."
262
- msgstr "Questa linea é evidenziata."
263
-
264
- #: syntaxhighlighter.php:1112
265
- msgid ""
266
- "\t\tThis\tis\tan\n"
267
- "\t\texample\tof\tsmart\n"
268
- "\t\ttabs."
269
- msgstr ""
270
- "\t\tQuesto\té\tun\n"
271
- "\t\tesempio\tdi\tsmart\n"
272
- "\t\ttabs."
273
-
274
- #: syntaxhighlighter.php:1117
275
- msgid "WordPress"
276
- msgstr "WordPress"
277
-
278
- #: syntaxhighlighter.php:1128
279
- msgid "Shortcode Parameters"
280
- msgstr "Parametri per lo shortcode"
281
-
282
- #: syntaxhighlighter.php:1130
283
- #, php-format
284
- 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."
285
- msgstr "Lista dei parametri (e loro funzioni) che potrai inserire nello shortcode. Per i booleani (es: on/off), inserisci %1$s/%2$s oppure %3$s/%4$s."
286
-
287
- #: syntaxhighlighter.php:1148
288
- msgid "Some example shortcodes:"
289
- msgstr "Alcuni esempi di shortcode:"
290
-
291
- #: syntaxhighlighter.php:1151
292
- #: syntaxhighlighter.php:1152
293
- #: syntaxhighlighter.php:1153
294
- #: syntaxhighlighter.php:1154
295
- msgid "your code here"
296
- msgstr "inserisci qui il tuo codice"
297
-
298
- #: syntaxhighlighter.php:1152
299
- msgid "example-filename.php"
300
- msgstr "example-filename.php"
301
-
302
- #~ msgid ""
303
- #~ "%1$s or %2$s &#8212; The language syntax to highlight with. You can "
304
- #~ "alternately just use that as the tag, such as <code>[php]code[/php]</"
305
- #~ "code>. <a href=\"%3$s\">Click here</a> for a list of valid tags (under "
306
- #~ "&quot;aliases&quot;)."
307
- #~ msgstr ""
308
- #~ "%1$s oppure %2$s &#8212; Il linguaggio da evidenziare. Potrai in "
309
- #~ "alternativa utilizzarne il solo nome. Ad esempio: <code>[php]code[/php]</"
310
- #~ "code>. <a href=\"%3$s\">Clicca qui</a> per la lista dei tag validi (sotto "
311
- #~ "&quot;aliases&quot;)."
312
-
313
- #~ msgid "%s &#8212; Toggle automatic URL linking."
314
- #~ msgstr "%s &#8212; Commutazione automatica collegamento ad un URL."
315
-
316
- #~ msgid "%s &#8212; Add an additional CSS class to the code box."
317
- #~ msgstr ""
318
- #~ "%s &#8212; Aggiungi una classe CSS addizionale alla casella per il codice."
319
-
320
- #~ msgid ""
321
- #~ "%s &#8212; Toggle collapsing the code box by default, requiring a click "
322
- #~ "to expand it. Good for large code posts."
323
- #~ msgstr ""
324
- #~ "%s &#8212; Commuta in automatico (predefinita) la compressione della "
325
- #~ "casella. Sarà necessario cliccare sulla casella per espanderla. Ottimo "
326
- #~ "per l'inserimento di codici di grande dimensione."
327
-
328
- #~ msgid ""
329
- #~ "%s &#8212; An interger specifying what number the first line should be "
330
- #~ "(for the line numbering)."
331
- #~ msgstr ""
332
- #~ "%s &#8212; Un numero intero per definire con quale numero abbia inizio la "
333
- #~ "prima linea (per la numerazione)."
334
-
335
- #~ msgid "%s &#8212; Toggle the left-side line numbering."
336
- #~ msgstr "%s &#8212; Commutazione numerazione della linea nel lato sinistro."
337
-
338
- #~ msgid ""
339
- #~ "%1$s &#8212; A comma-sperated list of line numbers to highlight. You can "
340
- #~ "also specify a range. Example: %2$s"
341
- #~ msgstr ""
342
- #~ "%1$s &#8212; Lista delle linee da evidenziare (numeri separati da una "
343
- #~ "virgola). Puoi anche specificare il range. Esempio: %2$s"
344
-
345
- #~ msgid ""
346
- #~ "%s &#8212; Toggle highlighting any extra HTML/XML. Good for when you're "
347
- #~ "mixing HTML/XML with another language, such as having PHP inside an HTML "
348
- #~ "web page. The above preview has it enabled for example. This only works "
349
- #~ "with certain languages."
350
- #~ msgstr ""
351
- #~ "%s &#8212; Commuta mettendo in evidenza ogni HTML/XML extra. Ottima "
352
- #~ "soluzione qualora utilizzassi del HTML/XML con un altro linguaggio (ad "
353
- #~ "esempio del codice PHP inserito nel HTML di una pagina web). Vedi "
354
- #~ "l'anteprima qui sopra. Questa funziona solamente per alcuni linguaggi."
355
-
356
- #~ msgid ""
357
- #~ "%s &#8212; Toggle light mode which disables the gutter and toolbar all at "
358
- #~ "once."
359
- #~ msgstr ""
360
- #~ "%s &#8212; Commuta alla modalità light del tema disattivando "
361
- #~ "contemporaneamente il gutter e la toolbar."
362
-
363
- #~ msgid ""
364
- #~ "%s &#8212; Controls line number padding. Valid values are <code>false</"
365
- #~ "code> (no padding), <code>true</code> (automatic padding), or an integer "
366
- #~ "(forced padding)."
367
- #~ msgstr ""
368
- #~ "%s &#8212; Controlla il padding per la linea di numerazione. I valori "
369
- #~ "validi sono <code>false</code> (nessun padding), <code>true</code> "
370
- #~ "(padding automatico) oppure un numero intero (padding forzato)."
371
-
372
- #~ msgid ""
373
- #~ "%1$s &#8212; Sets some text to show up before the code. Very useful when "
374
- #~ "combined with the %2$s parameter."
375
- #~ msgstr ""
376
- #~ "%1$s &#8212; Imposta il testo da mostrare prima del codice. Molto utile "
377
- #~ "in combinazione con il parametro %2$s."
378
-
379
- #~ msgid "%s &#8212; Toggle the toolbar containing the helpful buttons."
380
- #~ msgstr "%s &#8212; Commutazione toolbar contenente i pulsanti opzione."
381
-
382
- #~ msgid "%s &#8212; Toggle line wrapping."
383
- #~ msgstr "%s &#8212; Commuta il wrapping della riga."
384
-
385
- #~ msgid "SyntaxHighlighter Evolved"
386
- #~ msgstr "SyntaxHighlighter Evolved"
387
-
388
- #~ msgid "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
389
- #~ msgstr "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
390
-
391
- #~ msgid ""
392
- #~ "Easily post syntax-highlighted code to your site without having to modify "
393
- #~ "the code at all. Uses Alex Gorbatchev's <a href=\"http://alexgorbatchev."
394
- #~ "com/wiki/SyntaxHighlighter\">SyntaxHighlighter</a> v2.0.320 and some code "
395
- #~ "by <a href=\"http://wordpress.com/\">Andrew Ozz of Automattic</a>."
396
- #~ msgstr ""
397
- #~ "Inserisci con semplicità il codice syntax-highlight nel tuo blog senza "
398
- #~ "l'obbligo di doverlo modificare. Utilizza il <a href=\"http://"
399
- #~ "alexgorbatchev.com/wiki/SyntaxHighlighter\">SyntaxHighlighter</a> "
400
- #~ "v2.0.320 di Alex Gorbatchev ed un po' di codice da <a href=\"http://"
401
- #~ "wordpress.com/\">Andrew Ozz di Automattic</a>."
402
-
403
- #~ msgid "Viper007Bond"
404
- #~ msgstr "Viper007Bond"
405
-
406
- #~ msgid "http://www.viper007bond.com/"
407
- #~ msgstr "http://www.viper007bond.com/"
408
-
409
- #~ msgid "Show a ruler column along the top of the code box"
410
- #~ msgstr ""
411
- #~ "mostra in alto del box per il codice una riga graduata per le colonne"
412
-
413
- #~ msgid "Font Size (Percentage)"
414
- #~ msgstr "Dimensione font (percentuale)"
415
-
416
- #~ msgid "%s &#8212; Toggle the column ruler at the top of the code box."
417
- #~ msgstr ""
418
- #~ "%s &#8212; Commuta la riga graduata posizionata nella parte superiore del "
419
- #~ "box per il codice."
420
-
421
- #~ msgid "Cheatin&#8217; uh?"
422
- #~ msgstr "Problemi! uh?"
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR Viper007Bond
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: SyntaxHighlighter Evolved in italiano\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2011-06-04 14:07+0100\n"
11
+ "PO-Revision-Date: 2011-06-04 14:15+0100\n"
12
+ "Last-Translator: Gianni Diurno (aka gidibao) <gidibao[at]gmail[dot]com>\n"
13
+ "Language-Team: Gianni Diurno | gidibao.net\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Poedit-Language: Italian\n"
18
+ "X-Poedit-Country: ITALY\n"
19
+ "X-Poedit-KeywordsList: __;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
20
+ "X-Poedit-Basepath: ../\n"
21
+ "X-Poedit-SourceCharset: utf-8\n"
22
+ "X-Poedit-SearchPath-0: .\n"
23
+
24
+ #: syntaxhighlighter.php:245
25
+ msgid "Default"
26
+ msgstr "Predefinito"
27
+
28
+ #: syntaxhighlighter.php:246
29
+ msgid "Django"
30
+ msgstr "Django"
31
+
32
+ #: syntaxhighlighter.php:247
33
+ msgid "Eclipse"
34
+ msgstr "Eclipse"
35
+
36
+ #: syntaxhighlighter.php:248
37
+ msgid "Emacs"
38
+ msgstr "Emacs"
39
+
40
+ #: syntaxhighlighter.php:249
41
+ msgid "Fade to Grey"
42
+ msgstr "Fade to Grey"
43
+
44
+ #: syntaxhighlighter.php:250
45
+ msgid "Midnight"
46
+ msgstr "Midnight"
47
+
48
+ #: syntaxhighlighter.php:251
49
+ msgid "RDark"
50
+ msgstr "RDark"
51
+
52
+ #: syntaxhighlighter.php:252
53
+ msgid "[None]"
54
+ msgstr "[nessuno]"
55
+
56
+ #: syntaxhighlighter.php:264
57
+ #: syntaxhighlighter.php:954
58
+ msgid "SyntaxHighlighter Settings"
59
+ msgstr "Impostazioni SyntaxHighlighter"
60
+
61
+ #: syntaxhighlighter.php:264
62
+ msgid "SyntaxHighlighter"
63
+ msgstr "SyntaxHighlighter"
64
+
65
+ #: syntaxhighlighter.php:295
66
+ msgid "Settings"
67
+ msgstr "Impostazioni"
68
+
69
+ #: syntaxhighlighter.php:616
70
+ msgid "show source"
71
+ msgstr "mostra sorgente"
72
+
73
+ #: syntaxhighlighter.php:617
74
+ msgid "view source"
75
+ msgstr "vedi sorgente"
76
+
77
+ #: syntaxhighlighter.php:618
78
+ msgid "copy to clipboard"
79
+ msgstr "copia negli appunti"
80
+
81
+ #: syntaxhighlighter.php:619
82
+ msgid "The code is in your clipboard now"
83
+ msgstr "Il codice é da ora nei tuoi appunti"
84
+
85
+ #: syntaxhighlighter.php:620
86
+ msgid "print"
87
+ msgstr "stampa"
88
+
89
+ #: syntaxhighlighter.php:621
90
+ #: syntaxhighlighter.php:628
91
+ msgid "?"
92
+ msgstr "info"
93
+
94
+ #: syntaxhighlighter.php:622
95
+ #: syntaxhighlighter.php:629
96
+ msgid ""
97
+ "SyntaxHighlighter\\n"
98
+ "\\n"
99
+ msgstr ""
100
+ "SyntaxHighlighter\\n"
101
+ "\\n"
102
+
103
+ #: syntaxhighlighter.php:623
104
+ #: syntaxhighlighter.php:630
105
+ msgid "Can't find brush for: "
106
+ msgstr "Non é stato possibile trovare il file di sintassi per: "
107
+
108
+ #: syntaxhighlighter.php:624
109
+ #: syntaxhighlighter.php:631
110
+ msgid "Brush wasn't configured for html-script option: "
111
+ msgstr "Il file di sintassi non é stato configurato per l'opzione html-script"
112
+
113
+ #: syntaxhighlighter.php:627
114
+ msgid "+ expand source"
115
+ msgstr "+ espandi sorgente"
116
+
117
+ #: syntaxhighlighter.php:942
118
+ msgid "Are you sure you want to reset your settings to the defaults?"
119
+ msgstr "Sei certo di volere ripristinare le impostazioni alle predefinite?"
120
+
121
+ #: syntaxhighlighter.php:946
122
+ msgid "Settings reset to defaults."
123
+ msgstr "Ripristina le impostazioni alle predefinite"
124
+
125
+ #: syntaxhighlighter.php:963
126
+ msgid "Highlighter Version"
127
+ msgstr "Versione Highlighter"
128
+
129
+ #: syntaxhighlighter.php:968
130
+ msgid "Version 3.x"
131
+ msgstr "Versione 3.x"
132
+
133
+ #: syntaxhighlighter.php:969
134
+ msgid "Version 2.x"
135
+ msgstr "Versione 2.x"
136
+
137
+ #: syntaxhighlighter.php:977
138
+ msgid "Version 3 allows visitors to easily highlight portions of your code with their mouse (either by dragging or double-clicking) and copy it to their clipboard. No toolbar containing a Flash-based button is required."
139
+ msgstr "La versione 3 permette agli utenti di evidenziare facilmente con il mouse delle porzioni del tuo codice (altresì spostare/doppio-click) potendolo copiare nei loro appunti. Non sarà necessaria nessuna toolbar contenente un pulsante a base-Flash."
140
+
141
+ #: syntaxhighlighter.php:978
142
+ msgid "Version 2 allows for line wrapping, something that version 3 does not do at this time."
143
+ msgstr "La versione 2 permette il wrap per la linea, funzione questa non ancora disponibile per la versione 3."
144
+
145
+ #: syntaxhighlighter.php:982
146
+ msgid "Color Theme"
147
+ msgstr "Colore del tema"
148
+
149
+ #: syntaxhighlighter.php:994
150
+ #: syntaxhighlighter.php:997
151
+ msgid "Load All Brushes"
152
+ msgstr "Carica tutti i brush"
153
+
154
+ #: syntaxhighlighter.php:998
155
+ msgid "Always load all language files (for directly using <code>&lt;pre&gt;</code> tags rather than shortcodes)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If left unchecked (default), then language files will only be loaded when needed<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If unsure, leave this box unchecked"
156
+ msgstr "Carica sempre tutti i file di linguaggio (per utilizzo diretto dei tag <code>&lt;pre&gt;</code> piuttosto che gli shortcode)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Se non attivo (predefinito), i file di linguaggio saranno caricati secondo necessità<br />&nbsp;&nbsp;"
157
+
158
+ #: syntaxhighlighter.php:1004
159
+ msgid "Defaults"
160
+ msgstr "Parametri predefiniti"
161
+
162
+ #: syntaxhighlighter.php:1006
163
+ msgid "All of the settings below can be configured on a per-code block basis, but you can control the defaults of all code blocks here."
164
+ msgstr "Tutte le impostazioni qui sotto potranno essere configurate singolarmente comunque, sarà altresì possibile controllare qui le predefinite per tutti i blocchi codice."
165
+
166
+ #: syntaxhighlighter.php:1010
167
+ #: syntaxhighlighter.php:1013
168
+ msgid "Miscellaneous"
169
+ msgstr "Varie"
170
+
171
+ #: syntaxhighlighter.php:1015
172
+ msgid "Display line numbers"
173
+ msgstr "mostra la numerazione delle linee"
174
+
175
+ #: syntaxhighlighter.php:1016
176
+ msgid "Display the toolbar"
177
+ msgstr "mostra la barra degli strumenti"
178
+
179
+ #: syntaxhighlighter.php:1017
180
+ msgid "Automatically make URLs clickable"
181
+ msgstr "rendi gli URL cliccabili (in automatico)"
182
+
183
+ #: syntaxhighlighter.php:1018
184
+ msgid "Collapse code boxes"
185
+ msgstr "comprimi le caselle del codice"
186
+
187
+ #: syntaxhighlighter.php:1019
188
+ msgid "Use the light display mode, best for single lines of code"
189
+ msgstr "utilizza la modalità light del tema, ideale per le singole linee di codice"
190
+
191
+ #: syntaxhighlighter.php:1020
192
+ msgid "Use smart tabs allowing tabs being used for alignment"
193
+ msgstr "utilizza le smart tabs in modo che le tag siano utilizzate per l'allineamento"
194
+
195
+ #: syntaxhighlighter.php:1021
196
+ msgid "Wrap long lines (v2.x only, disabling this will make a scrollbar show instead)"
197
+ msgstr "Wrap per le righe di grandi dimensioni (solo v2.x, disattivando l'opzione si otterrà una barra di scorrimento)"
198
+
199
+ #: syntaxhighlighter.php:1022
200
+ msgid "Enable &quot;HTML script&quot; 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."
201
+ msgstr "Abilita la modalità &quot;HTML script&quot; come predefinita (vedi i dettagli a fondo pagina). La selezione di questa casella non é raccomandabile poiché la funzione lavora solamente con alcuni linguaggi."
202
+
203
+ #: syntaxhighlighter.php:1027
204
+ msgid "Additional CSS Class(es)"
205
+ msgstr "classe/i CSS addizionali"
206
+
207
+ #: syntaxhighlighter.php:1031
208
+ msgid "Starting Line Number"
209
+ msgstr "Numero di inizio linea"
210
+
211
+ #: syntaxhighlighter.php:1035
212
+ msgid "Line Number Padding"
213
+ msgstr "Padding numerazione linea"
214
+
215
+ #: syntaxhighlighter.php:1040
216
+ msgid "Off"
217
+ msgstr "Spento"
218
+
219
+ #: syntaxhighlighter.php:1041
220
+ msgid "Automatic"
221
+ msgstr "Automatico"
222
+
223
+ #: syntaxhighlighter.php:1057
224
+ msgid "Tab Size"
225
+ msgstr "Dimensione tab"
226
+
227
+ #: syntaxhighlighter.php:1061
228
+ msgid "Title"
229
+ msgstr "Titolo"
230
+
231
+ #: syntaxhighlighter.php:1064
232
+ msgid "Some optional default text to display above each code block or as the clickable text for collapsed code blocks."
233
+ msgstr "Testo predefinito e facoltativo da mostrare al di sopra di ogni blocco codice o come testo cliccabile per i blocchi codice da espandere."
234
+
235
+ #: syntaxhighlighter.php:1074
236
+ #: syntaxhighlighter.php:1077
237
+ msgid "Reset to Defaults"
238
+ msgstr "Ripristina alle predefinite"
239
+
240
+ #: syntaxhighlighter.php:1076
241
+ msgid "Save Changes"
242
+ msgstr "Salva le modifiche"
243
+
244
+ #: syntaxhighlighter.php:1084
245
+ msgid "Preview"
246
+ msgstr "Anteprima della casella"
247
+
248
+ #: syntaxhighlighter.php:1086
249
+ msgid "Click &quot;Save Changes&quot; to update this preview."
250
+ msgstr "Clicca &quot;Salva le modifiche&quot; per visualizzare l'anteprima aggiornata."
251
+
252
+ #: syntaxhighlighter.php:1105
253
+ msgid "PHP Code Example"
254
+ msgstr "Codice PHP di esempio"
255
+
256
+ #: syntaxhighlighter.php:1107
257
+ msgid "Hello World!"
258
+ msgstr "Hello World!"
259
+
260
+ #: syntaxhighlighter.php:1109
261
+ msgid "This line is highlighted."
262
+ msgstr "Questa linea é evidenziata."
263
+
264
+ #: syntaxhighlighter.php:1112
265
+ msgid ""
266
+ "\t\tThis\tis\tan\n"
267
+ "\t\texample\tof\tsmart\n"
268
+ "\t\ttabs."
269
+ msgstr ""
270
+ "\t\tQuesto\té\tun\n"
271
+ "\t\tesempio\tdi\tsmart\n"
272
+ "\t\ttabs."
273
+
274
+ #: syntaxhighlighter.php:1117
275
+ msgid "WordPress"
276
+ msgstr "WordPress"
277
+
278
+ #: syntaxhighlighter.php:1128
279
+ msgid "Shortcode Parameters"
280
+ msgstr "Parametri per lo shortcode"
281
+
282
+ #: syntaxhighlighter.php:1130
283
+ #, php-format
284
+ 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."
285
+ msgstr "Lista dei parametri (e loro funzioni) che potrai inserire nello shortcode. Per i booleani (es: on/off), inserisci %1$s/%2$s oppure %3$s/%4$s."
286
+
287
+ #: syntaxhighlighter.php:1148
288
+ msgid "Some example shortcodes:"
289
+ msgstr "Alcuni esempi di shortcode:"
290
+
291
+ #: syntaxhighlighter.php:1151
292
+ #: syntaxhighlighter.php:1152
293
+ #: syntaxhighlighter.php:1153
294
+ #: syntaxhighlighter.php:1154
295
+ msgid "your code here"
296
+ msgstr "inserisci qui il tuo codice"
297
+
298
+ #: syntaxhighlighter.php:1152
299
+ msgid "example-filename.php"
300
+ msgstr "example-filename.php"
301
+
302
+ #~ msgid ""
303
+ #~ "%1$s or %2$s &#8212; The language syntax to highlight with. You can "
304
+ #~ "alternately just use that as the tag, such as <code>[php]code[/php]</"
305
+ #~ "code>. <a href=\"%3$s\">Click here</a> for a list of valid tags (under "
306
+ #~ "&quot;aliases&quot;)."
307
+ #~ msgstr ""
308
+ #~ "%1$s oppure %2$s &#8212; Il linguaggio da evidenziare. Potrai in "
309
+ #~ "alternativa utilizzarne il solo nome. Ad esempio: <code>[php]code[/php]</"
310
+ #~ "code>. <a href=\"%3$s\">Clicca qui</a> per la lista dei tag validi (sotto "
311
+ #~ "&quot;aliases&quot;)."
312
+
313
+ #~ msgid "%s &#8212; Toggle automatic URL linking."
314
+ #~ msgstr "%s &#8212; Commutazione automatica collegamento ad un URL."
315
+
316
+ #~ msgid "%s &#8212; Add an additional CSS class to the code box."
317
+ #~ msgstr ""
318
+ #~ "%s &#8212; Aggiungi una classe CSS addizionale alla casella per il codice."
319
+
320
+ #~ msgid ""
321
+ #~ "%s &#8212; Toggle collapsing the code box by default, requiring a click "
322
+ #~ "to expand it. Good for large code posts."
323
+ #~ msgstr ""
324
+ #~ "%s &#8212; Commuta in automatico (predefinita) la compressione della "
325
+ #~ "casella. Sarà necessario cliccare sulla casella per espanderla. Ottimo "
326
+ #~ "per l'inserimento di codici di grande dimensione."
327
+
328
+ #~ msgid ""
329
+ #~ "%s &#8212; An interger specifying what number the first line should be "
330
+ #~ "(for the line numbering)."
331
+ #~ msgstr ""
332
+ #~ "%s &#8212; Un numero intero per definire con quale numero abbia inizio la "
333
+ #~ "prima linea (per la numerazione)."
334
+
335
+ #~ msgid "%s &#8212; Toggle the left-side line numbering."
336
+ #~ msgstr "%s &#8212; Commutazione numerazione della linea nel lato sinistro."
337
+
338
+ #~ msgid ""
339
+ #~ "%1$s &#8212; A comma-sperated list of line numbers to highlight. You can "
340
+ #~ "also specify a range. Example: %2$s"
341
+ #~ msgstr ""
342
+ #~ "%1$s &#8212; Lista delle linee da evidenziare (numeri separati da una "
343
+ #~ "virgola). Puoi anche specificare il range. Esempio: %2$s"
344
+
345
+ #~ msgid ""
346
+ #~ "%s &#8212; Toggle highlighting any extra HTML/XML. Good for when you're "
347
+ #~ "mixing HTML/XML with another language, such as having PHP inside an HTML "
348
+ #~ "web page. The above preview has it enabled for example. This only works "
349
+ #~ "with certain languages."
350
+ #~ msgstr ""
351
+ #~ "%s &#8212; Commuta mettendo in evidenza ogni HTML/XML extra. Ottima "
352
+ #~ "soluzione qualora utilizzassi del HTML/XML con un altro linguaggio (ad "
353
+ #~ "esempio del codice PHP inserito nel HTML di una pagina web). Vedi "
354
+ #~ "l'anteprima qui sopra. Questa funziona solamente per alcuni linguaggi."
355
+
356
+ #~ msgid ""
357
+ #~ "%s &#8212; Toggle light mode which disables the gutter and toolbar all at "
358
+ #~ "once."
359
+ #~ msgstr ""
360
+ #~ "%s &#8212; Commuta alla modalità light del tema disattivando "
361
+ #~ "contemporaneamente il gutter e la toolbar."
362
+
363
+ #~ msgid ""
364
+ #~ "%s &#8212; Controls line number padding. Valid values are <code>false</"
365
+ #~ "code> (no padding), <code>true</code> (automatic padding), or an integer "
366
+ #~ "(forced padding)."
367
+ #~ msgstr ""
368
+ #~ "%s &#8212; Controlla il padding per la linea di numerazione. I valori "
369
+ #~ "validi sono <code>false</code> (nessun padding), <code>true</code> "
370
+ #~ "(padding automatico) oppure un numero intero (padding forzato)."
371
+
372
+ #~ msgid ""
373
+ #~ "%1$s &#8212; Sets some text to show up before the code. Very useful when "
374
+ #~ "combined with the %2$s parameter."
375
+ #~ msgstr ""
376
+ #~ "%1$s &#8212; Imposta il testo da mostrare prima del codice. Molto utile "
377
+ #~ "in combinazione con il parametro %2$s."
378
+
379
+ #~ msgid "%s &#8212; Toggle the toolbar containing the helpful buttons."
380
+ #~ msgstr "%s &#8212; Commutazione toolbar contenente i pulsanti opzione."
381
+
382
+ #~ msgid "%s &#8212; Toggle line wrapping."
383
+ #~ msgstr "%s &#8212; Commuta il wrapping della riga."
384
+
385
+ #~ msgid "SyntaxHighlighter Evolved"
386
+ #~ msgstr "SyntaxHighlighter Evolved"
387
+
388
+ #~ msgid "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
389
+ #~ msgstr "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
390
+
391
+ #~ msgid ""
392
+ #~ "Easily post syntax-highlighted code to your site without having to modify "
393
+ #~ "the code at all. Uses Alex Gorbatchev's <a href=\"http://alexgorbatchev."
394
+ #~ "com/wiki/SyntaxHighlighter\">SyntaxHighlighter</a> v2.0.320 and some code "
395
+ #~ "by <a href=\"http://wordpress.com/\">Andrew Ozz of Automattic</a>."
396
+ #~ msgstr ""
397
+ #~ "Inserisci con semplicità il codice syntax-highlight nel tuo blog senza "
398
+ #~ "l'obbligo di doverlo modificare. Utilizza il <a href=\"http://"
399
+ #~ "alexgorbatchev.com/wiki/SyntaxHighlighter\">SyntaxHighlighter</a> "
400
+ #~ "v2.0.320 di Alex Gorbatchev ed un po' di codice da <a href=\"http://"
401
+ #~ "wordpress.com/\">Andrew Ozz di Automattic</a>."
402
+
403
+ #~ msgid "Viper007Bond"
404
+ #~ msgstr "Viper007Bond"
405
+
406
+ #~ msgid "http://www.viper007bond.com/"
407
+ #~ msgstr "http://www.viper007bond.com/"
408
+
409
+ #~ msgid "Show a ruler column along the top of the code box"
410
+ #~ msgstr ""
411
+ #~ "mostra in alto del box per il codice una riga graduata per le colonne"
412
+
413
+ #~ msgid "Font Size (Percentage)"
414
+ #~ msgstr "Dimensione font (percentuale)"
415
+
416
+ #~ msgid "%s &#8212; Toggle the column ruler at the top of the code box."
417
+ #~ msgstr ""
418
+ #~ "%s &#8212; Commuta la riga graduata posizionata nella parte superiore del "
419
+ #~ "box per il codice."
420
+
421
+ #~ msgid "Cheatin&#8217; uh?"
422
+ #~ msgstr "Problemi! uh?"
localization/syntaxhighlighter-ja.po CHANGED
@@ -1,354 +1,354 @@
1
- # Translation of SyntaxHighlighter Evolved in Japanese
2
- # This file is distributed under the same license as the SyntaxHighlighter Evolved package.
3
- msgid ""
4
- msgstr ""
5
- "PO-Revision-Date: 2014-04-06 21:14:45+0000\n"
6
- "MIME-Version: 1.0\n"
7
- "Content-Type: text/plain; charset=UTF-8\n"
8
- "Content-Transfer-Encoding: 8bit\n"
9
- "Plural-Forms: nplurals=1; plural=0;\n"
10
- "X-Generator: GlotPress/0.1\n"
11
- "Project-Id-Version: SyntaxHighlighter Evolved\n"
12
-
13
- #: syntaxhighlighter.php:665 syntaxhighlighter.php:672
14
- msgid "?"
15
- msgstr "SyntaxHighlighterについて"
16
-
17
- #: syntaxhighlighter.php:662
18
- msgid "copy to clipboard"
19
- msgstr "クリップボードへコピー"
20
-
21
- #: syntaxhighlighter.php:308
22
- msgid "Settings"
23
- msgstr "設定"
24
-
25
- #: syntaxhighlighter.php:664
26
- msgid "print"
27
- msgstr "印刷"
28
-
29
- #: syntaxhighlighter.php:663
30
- msgid "The code is in your clipboard now"
31
- msgstr "コードをクリップボードへコピーしました"
32
-
33
- #: syntaxhighlighter.php:661
34
- msgid "view source"
35
- msgstr "ソースを表示"
36
-
37
- #: syntaxhighlighter.php:660
38
- msgid "show source"
39
- msgstr "ソースを見る"
40
-
41
- #: syntaxhighlighter.php:267
42
- msgid "SyntaxHighlighter"
43
- msgstr "SyntaxHighlighter"
44
-
45
- #: syntaxhighlighter.php:267 syntaxhighlighter.php:998
46
- msgid "SyntaxHighlighter Settings"
47
- msgstr "SyntaxHighlighterの設定"
48
-
49
- #: syntaxhighlighter.php:255
50
- msgid "[None]"
51
- msgstr "[なし]"
52
-
53
- #: syntaxhighlighter.php:254
54
- msgid "RDark"
55
- msgstr "RDark"
56
-
57
- #: syntaxhighlighter.php:253
58
- msgid "Midnight"
59
- msgstr "Midnight"
60
-
61
- #: syntaxhighlighter.php:252
62
- msgid "Fade to Grey"
63
- msgstr "Fade to Grey"
64
-
65
- #: syntaxhighlighter.php:251
66
- msgid "Emacs"
67
- msgstr "Emacs"
68
-
69
- #: syntaxhighlighter.php:250
70
- msgid "Eclipse"
71
- msgstr "Eclipse"
72
-
73
- #: syntaxhighlighter.php:249
74
- msgid "Django"
75
- msgstr "Django"
76
-
77
- #: syntaxhighlighter.php:248
78
- msgid "Default"
79
- msgstr "Default"
80
-
81
- #: syntaxhighlighter.php:666 syntaxhighlighter.php:673
82
- msgid "SyntaxHighlighter\\n\\n"
83
- msgstr "SyntaxHighlighter\\n\\n"
84
-
85
- #: syntaxhighlighter.php:667 syntaxhighlighter.php:674
86
- msgid "Can't find brush for: "
87
- msgstr "指定のブラシが見つかりませんでした: "
88
-
89
- #: syntaxhighlighter.php:668 syntaxhighlighter.php:675
90
- msgid "Brush wasn't configured for html-script option: "
91
- msgstr "HTMLスクリプトのオプションのためにブラシが構成されませんでした: "
92
-
93
- #: syntaxhighlighter.php:671
94
- msgid "+ expand source"
95
- msgstr "ソースを表示"
96
-
97
- #: syntaxhighlighter.php:986
98
- msgid "Are you sure you want to reset your settings to the defaults?"
99
- msgstr "設定を初期化してもよいですか?"
100
-
101
- #: syntaxhighlighter.php:990
102
- msgid "Settings reset to defaults."
103
- msgstr "設定を初期化する"
104
-
105
- #: syntaxhighlighter.php:1007
106
- msgid "Highlighter Version"
107
- msgstr "SyntaxHighlighterのバージョン"
108
-
109
- #: syntaxhighlighter.php:1012
110
- msgid "Version 3.x"
111
- msgstr "バージョン 3.x"
112
-
113
- #: syntaxhighlighter.php:1013
114
- msgid "Version 2.x"
115
- msgstr "バージョン 2.x"
116
-
117
- #: syntaxhighlighter.php:1021
118
- msgid "Version 3 allows visitors to easily highlight portions of your code with their mouse (either by dragging or double-clicking) and copy it to their clipboard. No toolbar containing a Flash-based button is required."
119
- msgstr "バージョン3は、訪問者が簡単にマウスを使用して(ドラッグかダブルクリック)、コードの部分を強調表示し、クリップボードにへコピーできます。Flashベースボタンを含むツールバーが不要です。"
120
-
121
- #: syntaxhighlighter.php:1022
122
- msgid "Version 2 allows for line wrapping, something that version 3 does not do at this time."
123
- msgstr "バージョン2は行 の折り返しが許可されています、この機能は現時点でバージョン3はサポートされません"
124
-
125
- #: syntaxhighlighter.php:1026
126
- msgid "Color Theme"
127
- msgstr "テーマ"
128
-
129
- #: syntaxhighlighter.php:1038 syntaxhighlighter.php:1041
130
- msgid "Load All Brushes"
131
- msgstr "すべてのブラシを読み込む"
132
-
133
- #: syntaxhighlighter.php:1042
134
- msgid "Always load all language files (for directly using <code>&lt;pre&gt;</code> tags rather than shortcodes)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If left unchecked (default), then language files will only be loaded when needed<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If unsure, leave this box unchecked"
135
- msgstr "常にすべての言語ファイルを読込みます(ショートコードではなく、<code>&lt;pre&gt;</code>タグを直接使用する場合)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;オフ(デフォルト)の場合、言語ファイルは必要に応じてロードされます。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;よくわからない場合は、このチェックボックスをオフのままにしてください。"
136
-
137
- #: syntaxhighlighter.php:1048
138
- msgid "Defaults"
139
- msgstr "規定の設定"
140
-
141
- #: syntaxhighlighter.php:1050
142
- msgid "All of the settings below can be configured on a per-code block basis, but you can control the defaults of all code blocks here."
143
- msgstr "設定はコードの出力ごとに構成できますが、規定の設定をここで指定できます"
144
-
145
- #: syntaxhighlighter.php:1054 syntaxhighlighter.php:1057
146
- msgid "Miscellaneous"
147
- msgstr "一般"
148
-
149
- #: syntaxhighlighter.php:1059
150
- msgid "Display line numbers"
151
- msgstr "行番号を表示する"
152
-
153
- #: syntaxhighlighter.php:1060
154
- msgid "Display the toolbar"
155
- msgstr "ツールバーを表示する"
156
-
157
- #: syntaxhighlighter.php:1061
158
- msgid "Automatically make URLs clickable"
159
- msgstr "自動リンクを有効にする"
160
-
161
- #: syntaxhighlighter.php:1062
162
- msgid "Collapse code boxes"
163
- msgstr "コードボックスの表示を閉じておく"
164
-
165
- #: syntaxhighlighter.php:1063
166
- msgid "Use the light display mode, best for single lines of code"
167
- msgstr "軽い表示モードを使う"
168
-
169
- #: syntaxhighlighter.php:1064
170
- msgid "Use smart tabs allowing tabs being used for alignment"
171
- msgstr "インデントタブを許容するスマートタブを使う"
172
-
173
- #: syntaxhighlighter.php:1065
174
- msgid "Wrap long lines (v2.x only, disabling this will make a scrollbar show instead)"
175
- msgstr "長い行を折り返す(v2.xのみ、横スクロールバーを無効にする)"
176
-
177
- #: syntaxhighlighter.php:1066
178
- msgid "Enable &quot;HTML script&quot; 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."
179
- msgstr "&quot;HTMLスクリプト&quot; モードを有効にする。 (詳細はこのページの下を参照)。Checking this box is not recommended as this mode only works with certain languages."
180
-
181
- #: syntaxhighlighter.php:1071
182
- msgid "Additional CSS Class(es)"
183
- msgstr "追加のCSSのclass名(複数可能)"
184
-
185
- #: syntaxhighlighter.php:1075
186
- msgid "Starting Line Number"
187
- msgstr "行番号の開始"
188
-
189
- #: syntaxhighlighter.php:1079
190
- msgid "Line Number Padding"
191
- msgstr "行番号の余白"
192
-
193
- #: syntaxhighlighter.php:1084
194
- msgid "Off"
195
- msgstr "なし"
196
-
197
- #: syntaxhighlighter.php:1085
198
- msgid "Automatic"
199
- msgstr "自動"
200
-
201
- #: syntaxhighlighter.php:1101
202
- msgid "Tab Size"
203
- msgstr "タブのサイズ"
204
-
205
- #: syntaxhighlighter.php:1105
206
- msgid "Title"
207
- msgstr "タイトル"
208
-
209
- #: syntaxhighlighter.php:1108
210
- msgid "Some optional default text to display above each code block or as the clickable text for collapsed code blocks."
211
- msgstr "いくつかのオプションの既定のテキストは、各コードブロックの上または折りたたまれたコードブロックのクリック可能なテキストとして表示する"
212
-
213
- #: syntaxhighlighter.php:1118 syntaxhighlighter.php:1121
214
- msgid "Reset to Defaults"
215
- msgstr "設定を初期化"
216
-
217
- #: syntaxhighlighter.php:1120
218
- msgid "Save Changes"
219
- msgstr "変更を保存"
220
-
221
- #: syntaxhighlighter.php:1128
222
- msgid "Preview"
223
- msgstr "プレビュー"
224
-
225
- #: syntaxhighlighter.php:1130
226
- msgid "Click &quot;Save Changes&quot; to update this preview."
227
- msgstr "プレビューを更新するには &quot;変更を保存&quot; をクリックしてください"
228
-
229
- #: syntaxhighlighter.php:1149
230
- msgid "PHP Code Example"
231
- msgstr "PHP コードサンプル"
232
-
233
- #: syntaxhighlighter.php:1151
234
- msgid "Hello World!"
235
- msgstr "Hello World!"
236
-
237
- #: syntaxhighlighter.php:1153
238
- msgid "This line is highlighted."
239
- msgstr "この行はハイライトされました"
240
-
241
- #: syntaxhighlighter.php:1156
242
- msgid ""
243
- "\t\tThis\tis\tanr\n"
244
- "\t\texample\tof\tsmartr\n"
245
- "\t\ttabs."
246
- msgstr ""
247
- "\t\tこの\t行は\tスマートr\n"
248
- "\t\tタブ\tの\t例r\n"
249
- "\t\tです。"
250
-
251
- #: syntaxhighlighter.php:1161
252
- msgid "WordPress"
253
- msgstr "WordPress"
254
-
255
- #: syntaxhighlighter.php:1172
256
- msgid "Shortcode Parameters"
257
- msgstr "ショートコードパラメータ"
258
-
259
- #: syntaxhighlighter.php:1174
260
- 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."
261
- msgstr "これらはショートコードで渡すことができるパラメータと説明です。 bool値(有効・無効など)の指定には %1$s/%2$s または %3$s/%4$s を渡してください。"
262
-
263
- #: syntaxhighlighter.php:1177
264
- msgctxt "language parameter"
265
- msgid "%1$s or %2$s &#8212; 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 &quot;aliases&quot;)."
266
- msgstr "%1$s または %2$s &#8212; ハイライトするコードの言語。パラメータ指定だけでなく<code>[php]code[/php]</code>のように言語をタグとして記述できます。有効なタグのリストは <a href=\"%3$s\">こちらをクリック</a> (&quot;aliases&quot;の下を参照)"
267
-
268
- #: syntaxhighlighter.php:1178
269
- msgctxt "autolinks parameter"
270
- msgid "%s &#8212; Toggle automatic URL linking."
271
- msgstr "%s &#8212; 自動リンクの有効・無効"
272
-
273
- #: syntaxhighlighter.php:1179
274
- msgctxt "classname parameter"
275
- msgid "%s &#8212; Add an additional CSS class to the code box."
276
- msgstr "%s &#8212; コードボックスに追加するCSSのclass"
277
-
278
- #: syntaxhighlighter.php:1180
279
- msgctxt "collapse parameter"
280
- msgid "%s &#8212; Toggle collapsing the code box by default, requiring a click to expand it. Good for large code posts."
281
- msgstr "%s &#8212; コードボックスをデフォルトの状態で閉じるかどうか。コードボックスを開くにはクリックが要求されます。長いコードの出力の際に有効です。"
282
-
283
- #: syntaxhighlighter.php:1181
284
- msgctxt "firstline parameter"
285
- msgid "%s &#8212; An interger specifying what number the first line should be (for the line numbering)."
286
- msgstr "%s &#8212; 行番号の出力の際に、最初の行の番号を表す数値"
287
-
288
- #: syntaxhighlighter.php:1182
289
- msgctxt "gutter parameter"
290
- msgid "%s &#8212; Toggle the left-side line numbering."
291
- msgstr "%s &#8212; 左側に行番号を配置するかどうか"
292
-
293
- #: syntaxhighlighter.php:1183
294
- msgctxt "highlight parameter"
295
- msgid "%1$s &#8212; A comma-separated list of line numbers to highlight. You can also specify a range. Example: %2$s"
296
- msgstr "%1$s &#8212; ハイライトする行番号のカンマ区切りのリスト。範囲を指定することもできます。 例: %2$s"
297
-
298
- #: syntaxhighlighter.php:1184
299
- msgctxt "htmlscript parameter"
300
- msgid "%s &#8212; 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."
301
- msgstr "%s &#8212; HTML/XML をハイライトするかどうか。HTMLウェブページで PHP を使うようにHTML/XMLとプログラムが混在するような時に有効です。上のプレビューではこの設定が有効になっています。これは特定の言語でしか動作しません。"
302
-
303
- #: syntaxhighlighter.php:1185
304
- msgctxt "light parameter"
305
- msgid "%s &#8212; Toggle light mode which disables the gutter and toolbar all at once."
306
- msgstr "%s &#8212; 行番号やツールバーを無効にする軽い表示モードのオン・オフ"
307
-
308
- #: syntaxhighlighter.php:1186
309
- msgctxt "padlinenumbers parameter"
310
- msgid "%s &#8212; Controls line number padding. Valid values are <code>false</code> (no padding), <code>true</code> (automatic padding), or an integer (forced padding)."
311
- msgstr "%s &#8212; 行番号の余白。有効な値は、 <code>false</code>(余白なし), <code>true</code> (自動)、数値(余白)"
312
-
313
- #: syntaxhighlighter.php:1187
314
- msgctxt "title parameter"
315
- msgid "%1$s (v3 only) &#8212; Sets some text to show up before the code. Very useful when combined with the %2$s parameter."
316
- msgstr "%1$s (v3のみ) &#8212; コードの前に表示される表題テキスト。%2$sのパラメータと合わせて使うと有効です。"
317
-
318
- #: syntaxhighlighter.php:1188
319
- msgctxt "toolbar parameter"
320
- msgid "%s &#8212; Toggle the toolbar (buttons in v2, the about question mark in v3)"
321
- msgstr "%s &#8212; ツールバーのオン・オフ(v2のボタン、v3のクエッションマーク)"
322
-
323
- #: syntaxhighlighter.php:1189
324
- msgctxt "wraplines parameter"
325
- msgid "%s (v2 only) &#8212; Toggle line wrapping."
326
- msgstr "%s (v2のみ) &#8212; 折り返しの有効・無効"
327
-
328
- #: syntaxhighlighter.php:1192
329
- msgid "Some example shortcodes:"
330
- msgstr "引数指定の例:"
331
-
332
- #: syntaxhighlighter.php:1195 syntaxhighlighter.php:1196
333
- #: syntaxhighlighter.php:1197 syntaxhighlighter.php:1198
334
- msgid "your code here"
335
- msgstr "ここにコードを入れます"
336
-
337
- #: syntaxhighlighter.php:1196
338
- msgid "example-filename.php"
339
- msgstr "example-filename.php"
340
-
341
- msgid "SyntaxHighlighter Evolved"
342
- msgstr "SyntaxHighlighter Evolved"
343
-
344
- msgid "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
345
- msgstr "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
346
-
347
- 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>. <strong>TIP:</strong> Don't use the Visual editor if you don't want your code mangled. TinyMCE will \"clean up\" your HTML."
348
- msgstr "コードを全く変更することなく、簡単にシンタックス・ハイライトされたコードをサイトに投稿できます。Alex Gorbatchevの<a href=\"http://alexgorbatchev.com/wiki/SyntaxHighlighter\">SyntaxHighlighter</a>を使用しています。<strong>ヒント:</strong>コードを台無しにされたくないのであれば、ビジュアルエディターを使わないでください。TinyMCEはHTMLを\"クリーンアップ\"してしまいます。"
349
-
350
- msgid "Alex Mills (Viper007Bond)"
351
- msgstr "Alex Mills (Viper007Bond)"
352
-
353
- msgid "http://www.viper007bond.com/"
354
  msgstr "http://www.viper007bond.com/"
1
+ # Translation of SyntaxHighlighter Evolved in Japanese
2
+ # This file is distributed under the same license as the SyntaxHighlighter Evolved package.
3
+ msgid ""
4
+ msgstr ""
5
+ "PO-Revision-Date: 2014-04-06 21:14:45+0000\n"
6
+ "MIME-Version: 1.0\n"
7
+ "Content-Type: text/plain; charset=UTF-8\n"
8
+ "Content-Transfer-Encoding: 8bit\n"
9
+ "Plural-Forms: nplurals=1; plural=0;\n"
10
+ "X-Generator: GlotPress/0.1\n"
11
+ "Project-Id-Version: SyntaxHighlighter Evolved\n"
12
+
13
+ #: syntaxhighlighter.php:665 syntaxhighlighter.php:672
14
+ msgid "?"
15
+ msgstr "SyntaxHighlighterについて"
16
+
17
+ #: syntaxhighlighter.php:662
18
+ msgid "copy to clipboard"
19
+ msgstr "クリップボードへコピー"
20
+
21
+ #: syntaxhighlighter.php:308
22
+ msgid "Settings"
23
+ msgstr "設定"
24
+
25
+ #: syntaxhighlighter.php:664
26
+ msgid "print"
27
+ msgstr "印刷"
28
+
29
+ #: syntaxhighlighter.php:663
30
+ msgid "The code is in your clipboard now"
31
+ msgstr "コードをクリップボードへコピーしました"
32
+
33
+ #: syntaxhighlighter.php:661
34
+ msgid "view source"
35
+ msgstr "ソースを表示"
36
+
37
+ #: syntaxhighlighter.php:660
38
+ msgid "show source"
39
+ msgstr "ソースを見る"
40
+
41
+ #: syntaxhighlighter.php:267
42
+ msgid "SyntaxHighlighter"
43
+ msgstr "SyntaxHighlighter"
44
+
45
+ #: syntaxhighlighter.php:267 syntaxhighlighter.php:998
46
+ msgid "SyntaxHighlighter Settings"
47
+ msgstr "SyntaxHighlighterの設定"
48
+
49
+ #: syntaxhighlighter.php:255
50
+ msgid "[None]"
51
+ msgstr "[なし]"
52
+
53
+ #: syntaxhighlighter.php:254
54
+ msgid "RDark"
55
+ msgstr "RDark"
56
+
57
+ #: syntaxhighlighter.php:253
58
+ msgid "Midnight"
59
+ msgstr "Midnight"
60
+
61
+ #: syntaxhighlighter.php:252
62
+ msgid "Fade to Grey"
63
+ msgstr "Fade to Grey"
64
+
65
+ #: syntaxhighlighter.php:251
66
+ msgid "Emacs"
67
+ msgstr "Emacs"
68
+
69
+ #: syntaxhighlighter.php:250
70
+ msgid "Eclipse"
71
+ msgstr "Eclipse"
72
+
73
+ #: syntaxhighlighter.php:249
74
+ msgid "Django"
75
+ msgstr "Django"
76
+
77
+ #: syntaxhighlighter.php:248
78
+ msgid "Default"
79
+ msgstr "Default"
80
+
81
+ #: syntaxhighlighter.php:666 syntaxhighlighter.php:673
82
+ msgid "SyntaxHighlighter\\n\\n"
83
+ msgstr "SyntaxHighlighter\\n\\n"
84
+
85
+ #: syntaxhighlighter.php:667 syntaxhighlighter.php:674
86
+ msgid "Can't find brush for: "
87
+ msgstr "指定のブラシが見つかりませんでした: "
88
+
89
+ #: syntaxhighlighter.php:668 syntaxhighlighter.php:675
90
+ msgid "Brush wasn't configured for html-script option: "
91
+ msgstr "HTMLスクリプトのオプションのためにブラシが構成されませんでした: "
92
+
93
+ #: syntaxhighlighter.php:671
94
+ msgid "+ expand source"
95
+ msgstr "ソースを表示"
96
+
97
+ #: syntaxhighlighter.php:986
98
+ msgid "Are you sure you want to reset your settings to the defaults?"
99
+ msgstr "設定を初期化してもよいですか?"
100
+
101
+ #: syntaxhighlighter.php:990
102
+ msgid "Settings reset to defaults."
103
+ msgstr "設定を初期化する"
104
+
105
+ #: syntaxhighlighter.php:1007
106
+ msgid "Highlighter Version"
107
+ msgstr "SyntaxHighlighterのバージョン"
108
+
109
+ #: syntaxhighlighter.php:1012
110
+ msgid "Version 3.x"
111
+ msgstr "バージョン 3.x"
112
+
113
+ #: syntaxhighlighter.php:1013
114
+ msgid "Version 2.x"
115
+ msgstr "バージョン 2.x"
116
+
117
+ #: syntaxhighlighter.php:1021
118
+ msgid "Version 3 allows visitors to easily highlight portions of your code with their mouse (either by dragging or double-clicking) and copy it to their clipboard. No toolbar containing a Flash-based button is required."
119
+ msgstr "バージョン3は、訪問者が簡単にマウスを使用して(ドラッグかダブルクリック)、コードの部分を強調表示し、クリップボードにへコピーできます。Flashベースボタンを含むツールバーが不要です。"
120
+
121
+ #: syntaxhighlighter.php:1022
122
+ msgid "Version 2 allows for line wrapping, something that version 3 does not do at this time."
123
+ msgstr "バージョン2は行 の折り返しが許可されています、この機能は現時点でバージョン3はサポートされません"
124
+
125
+ #: syntaxhighlighter.php:1026
126
+ msgid "Color Theme"
127
+ msgstr "テーマ"
128
+
129
+ #: syntaxhighlighter.php:1038 syntaxhighlighter.php:1041
130
+ msgid "Load All Brushes"
131
+ msgstr "すべてのブラシを読み込む"
132
+
133
+ #: syntaxhighlighter.php:1042
134
+ msgid "Always load all language files (for directly using <code>&lt;pre&gt;</code> tags rather than shortcodes)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If left unchecked (default), then language files will only be loaded when needed<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If unsure, leave this box unchecked"
135
+ msgstr "常にすべての言語ファイルを読込みます(ショートコードではなく、<code>&lt;pre&gt;</code>タグを直接使用する場合)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;オフ(デフォルト)の場合、言語ファイルは必要に応じてロードされます。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;よくわからない場合は、このチェックボックスをオフのままにしてください。"
136
+
137
+ #: syntaxhighlighter.php:1048
138
+ msgid "Defaults"
139
+ msgstr "規定の設定"
140
+
141
+ #: syntaxhighlighter.php:1050
142
+ msgid "All of the settings below can be configured on a per-code block basis, but you can control the defaults of all code blocks here."
143
+ msgstr "設定はコードの出力ごとに構成できますが、規定の設定をここで指定できます"
144
+
145
+ #: syntaxhighlighter.php:1054 syntaxhighlighter.php:1057
146
+ msgid "Miscellaneous"
147
+ msgstr "一般"
148
+
149
+ #: syntaxhighlighter.php:1059
150
+ msgid "Display line numbers"
151
+ msgstr "行番号を表示する"
152
+
153
+ #: syntaxhighlighter.php:1060
154
+ msgid "Display the toolbar"
155
+ msgstr "ツールバーを表示する"
156
+
157
+ #: syntaxhighlighter.php:1061
158
+ msgid "Automatically make URLs clickable"
159
+ msgstr "自動リンクを有効にする"
160
+
161
+ #: syntaxhighlighter.php:1062
162
+ msgid "Collapse code boxes"
163
+ msgstr "コードボックスの表示を閉じておく"
164
+
165
+ #: syntaxhighlighter.php:1063
166
+ msgid "Use the light display mode, best for single lines of code"
167
+ msgstr "軽い表示モードを使う"
168
+
169
+ #: syntaxhighlighter.php:1064
170
+ msgid "Use smart tabs allowing tabs being used for alignment"
171
+ msgstr "インデントタブを許容するスマートタブを使う"
172
+
173
+ #: syntaxhighlighter.php:1065
174
+ msgid "Wrap long lines (v2.x only, disabling this will make a scrollbar show instead)"
175
+ msgstr "長い行を折り返す(v2.xのみ、横スクロールバーを無効にする)"
176
+
177
+ #: syntaxhighlighter.php:1066
178
+ msgid "Enable &quot;HTML script&quot; 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."
179
+ msgstr "&quot;HTMLスクリプト&quot; モードを有効にする。 (詳細はこのページの下を参照)。Checking this box is not recommended as this mode only works with certain languages."
180
+
181
+ #: syntaxhighlighter.php:1071
182
+ msgid "Additional CSS Class(es)"
183
+ msgstr "追加のCSSのclass名(複数可能)"
184
+
185
+ #: syntaxhighlighter.php:1075
186
+ msgid "Starting Line Number"
187
+ msgstr "行番号の開始"
188
+
189
+ #: syntaxhighlighter.php:1079
190
+ msgid "Line Number Padding"
191
+ msgstr "行番号の余白"
192
+
193
+ #: syntaxhighlighter.php:1084
194
+ msgid "Off"
195
+ msgstr "なし"
196
+
197
+ #: syntaxhighlighter.php:1085
198
+ msgid "Automatic"
199
+ msgstr "自動"
200
+
201
+ #: syntaxhighlighter.php:1101
202
+ msgid "Tab Size"
203
+ msgstr "タブのサイズ"
204
+
205
+ #: syntaxhighlighter.php:1105
206
+ msgid "Title"
207
+ msgstr "タイトル"
208
+
209
+ #: syntaxhighlighter.php:1108
210
+ msgid "Some optional default text to display above each code block or as the clickable text for collapsed code blocks."
211
+ msgstr "いくつかのオプションの既定のテキストは、各コードブロックの上または折りたたまれたコードブロックのクリック可能なテキストとして表示する"
212
+
213
+ #: syntaxhighlighter.php:1118 syntaxhighlighter.php:1121
214
+ msgid "Reset to Defaults"
215
+ msgstr "設定を初期化"
216
+
217
+ #: syntaxhighlighter.php:1120
218
+ msgid "Save Changes"
219
+ msgstr "変更を保存"
220
+
221
+ #: syntaxhighlighter.php:1128
222
+ msgid "Preview"
223
+ msgstr "プレビュー"
224
+
225
+ #: syntaxhighlighter.php:1130
226
+ msgid "Click &quot;Save Changes&quot; to update this preview."
227
+ msgstr "プレビューを更新するには &quot;変更を保存&quot; をクリックしてください"
228
+
229
+ #: syntaxhighlighter.php:1149
230
+ msgid "PHP Code Example"
231
+ msgstr "PHP コードサンプル"
232
+
233
+ #: syntaxhighlighter.php:1151
234
+ msgid "Hello World!"
235
+ msgstr "Hello World!"
236
+
237
+ #: syntaxhighlighter.php:1153
238
+ msgid "This line is highlighted."
239
+ msgstr "この行はハイライトされました"
240
+
241
+ #: syntaxhighlighter.php:1156
242
+ msgid ""
243
+ "\t\tThis\tis\tanr\n"
244
+ "\t\texample\tof\tsmartr\n"
245
+ "\t\ttabs."
246
+ msgstr ""
247
+ "\t\tこの\t行は\tスマートr\n"
248
+ "\t\tタブ\tの\t例r\n"
249
+ "\t\tです。"
250
+
251
+ #: syntaxhighlighter.php:1161
252
+ msgid "WordPress"
253
+ msgstr "WordPress"
254
+
255
+ #: syntaxhighlighter.php:1172
256
+ msgid "Shortcode Parameters"
257
+ msgstr "ショートコードパラメータ"
258
+
259
+ #: syntaxhighlighter.php:1174
260
+ 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."
261
+ msgstr "これらはショートコードで渡すことができるパラメータと説明です。 bool値(有効・無効など)の指定には %1$s/%2$s または %3$s/%4$s を渡してください。"
262
+
263
+ #: syntaxhighlighter.php:1177
264
+ msgctxt "language parameter"
265
+ msgid "%1$s or %2$s &#8212; 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 &quot;aliases&quot;)."
266
+ msgstr "%1$s または %2$s &#8212; ハイライトするコードの言語。パラメータ指定だけでなく<code>[php]code[/php]</code>のように言語をタグとして記述できます。有効なタグのリストは <a href=\"%3$s\">こちらをクリック</a> (&quot;aliases&quot;の下を参照)"
267
+
268
+ #: syntaxhighlighter.php:1178
269
+ msgctxt "autolinks parameter"
270
+ msgid "%s &#8212; Toggle automatic URL linking."
271
+ msgstr "%s &#8212; 自動リンクの有効・無効"
272
+
273
+ #: syntaxhighlighter.php:1179
274
+ msgctxt "classname parameter"
275
+ msgid "%s &#8212; Add an additional CSS class to the code box."
276
+ msgstr "%s &#8212; コードボックスに追加するCSSのclass"
277
+
278
+ #: syntaxhighlighter.php:1180
279
+ msgctxt "collapse parameter"
280
+ msgid "%s &#8212; Toggle collapsing the code box by default, requiring a click to expand it. Good for large code posts."
281
+ msgstr "%s &#8212; コードボックスをデフォルトの状態で閉じるかどうか。コードボックスを開くにはクリックが要求されます。長いコードの出力の際に有効です。"
282
+
283
+ #: syntaxhighlighter.php:1181
284
+ msgctxt "firstline parameter"
285
+ msgid "%s &#8212; An interger specifying what number the first line should be (for the line numbering)."
286
+ msgstr "%s &#8212; 行番号の出力の際に、最初の行の番号を表す数値"
287
+
288
+ #: syntaxhighlighter.php:1182
289
+ msgctxt "gutter parameter"
290
+ msgid "%s &#8212; Toggle the left-side line numbering."
291
+ msgstr "%s &#8212; 左側に行番号を配置するかどうか"
292
+
293
+ #: syntaxhighlighter.php:1183
294
+ msgctxt "highlight parameter"
295
+ msgid "%1$s &#8212; A comma-separated list of line numbers to highlight. You can also specify a range. Example: %2$s"
296
+ msgstr "%1$s &#8212; ハイライトする行番号のカンマ区切りのリスト。範囲を指定することもできます。 例: %2$s"
297
+
298
+ #: syntaxhighlighter.php:1184
299
+ msgctxt "htmlscript parameter"
300
+ msgid "%s &#8212; 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."
301
+ msgstr "%s &#8212; HTML/XML をハイライトするかどうか。HTMLウェブページで PHP を使うようにHTML/XMLとプログラムが混在するような時に有効です。上のプレビューではこの設定が有効になっています。これは特定の言語でしか動作しません。"
302
+
303
+ #: syntaxhighlighter.php:1185
304
+ msgctxt "light parameter"
305
+ msgid "%s &#8212; Toggle light mode which disables the gutter and toolbar all at once."
306
+ msgstr "%s &#8212; 行番号やツールバーを無効にする軽い表示モードのオン・オフ"
307
+
308
+ #: syntaxhighlighter.php:1186
309
+ msgctxt "padlinenumbers parameter"
310
+ msgid "%s &#8212; Controls line number padding. Valid values are <code>false</code> (no padding), <code>true</code> (automatic padding), or an integer (forced padding)."
311
+ msgstr "%s &#8212; 行番号の余白。有効な値は、 <code>false</code>(余白なし), <code>true</code> (自動)、数値(余白)"
312
+
313
+ #: syntaxhighlighter.php:1187
314
+ msgctxt "title parameter"
315
+ msgid "%1$s (v3 only) &#8212; Sets some text to show up before the code. Very useful when combined with the %2$s parameter."
316
+ msgstr "%1$s (v3のみ) &#8212; コードの前に表示される表題テキスト。%2$sのパラメータと合わせて使うと有効です。"
317
+
318
+ #: syntaxhighlighter.php:1188
319
+ msgctxt "toolbar parameter"
320
+ msgid "%s &#8212; Toggle the toolbar (buttons in v2, the about question mark in v3)"
321
+ msgstr "%s &#8212; ツールバーのオン・オフ(v2のボタン、v3のクエッションマーク)"
322
+
323
+ #: syntaxhighlighter.php:1189
324
+ msgctxt "wraplines parameter"
325
+ msgid "%s (v2 only) &#8212; Toggle line wrapping."
326
+ msgstr "%s (v2のみ) &#8212; 折り返しの有効・無効"
327
+
328
+ #: syntaxhighlighter.php:1192
329
+ msgid "Some example shortcodes:"
330
+ msgstr "引数指定の例:"
331
+
332
+ #: syntaxhighlighter.php:1195 syntaxhighlighter.php:1196
333
+ #: syntaxhighlighter.php:1197 syntaxhighlighter.php:1198
334
+ msgid "your code here"
335
+ msgstr "ここにコードを入れます"
336
+
337
+ #: syntaxhighlighter.php:1196
338
+ msgid "example-filename.php"
339
+ msgstr "example-filename.php"
340
+
341
+ msgid "SyntaxHighlighter Evolved"
342
+ msgstr "SyntaxHighlighter Evolved"
343
+
344
+ msgid "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
345
+ msgstr "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
346
+
347
+ 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>. <strong>TIP:</strong> Don't use the Visual editor if you don't want your code mangled. TinyMCE will \"clean up\" your HTML."
348
+ msgstr "コードを全く変更することなく、簡単にシンタックス・ハイライトされたコードをサイトに投稿できます。Alex Gorbatchevの<a href=\"http://alexgorbatchev.com/wiki/SyntaxHighlighter\">SyntaxHighlighter</a>を使用しています。<strong>ヒント:</strong>コードを台無しにされたくないのであれば、ビジュアルエディターを使わないでください。TinyMCEはHTMLを\"クリーンアップ\"してしまいます。"
349
+
350
+ msgid "Alex Mills (Viper007Bond)"
351
+ msgstr "Alex Mills (Viper007Bond)"
352
+
353
+ msgid "http://www.viper007bond.com/"
354
  msgstr "http://www.viper007bond.com/"
localization/syntaxhighlighter-tr_TR.po CHANGED
@@ -1,276 +1,276 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR Viper007Bond
3
- # This file is distributed under the same license as the PACKAGE package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
6
- msgid ""
7
- msgstr ""
8
- "Project-Id-Version: PACKAGE VERSION\n"
9
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/syntaxhighlighter\n"
10
- "POT-Creation-Date: 2009-03-29 05:19+0000\n"
11
- "PO-Revision-Date: 2009-07-06 12:36+0200\n"
12
- "Last-Translator: Alper <alpinux@hotmail.co.uk>\n"
13
- "Language-Team: LANGUAGE <LL@li.org>\n"
14
- "MIME-Version: 1.0\n"
15
- "Content-Type: text/plain; charset=utf-8\n"
16
- "Content-Transfer-Encoding: 8bit\n"
17
-
18
- #: syntaxhighlighter.php:128
19
- msgid "Default"
20
- msgstr "Varsayılan"
21
-
22
- #: syntaxhighlighter.php:129
23
- msgid "Django"
24
- msgstr "Avakado Yeşili"
25
-
26
- #: syntaxhighlighter.php:130
27
- msgid "Emacs"
28
- msgstr "Siyah"
29
-
30
- #: syntaxhighlighter.php:131
31
- msgid "Fade to Grey"
32
- msgstr "Gri"
33
-
34
- #: syntaxhighlighter.php:132
35
- msgid "Midnight"
36
- msgstr "Gece Yarısı"
37
-
38
- #: syntaxhighlighter.php:133
39
- msgid "RDark"
40
- msgstr "Prusya Mavisi"
41
-
42
- #: syntaxhighlighter.php:134
43
- msgid "[None]"
44
- msgstr "Hiçbiri"
45
-
46
- #: syntaxhighlighter.php:181
47
- #: syntaxhighlighter.php:526
48
- msgid "SyntaxHighlighter Settings"
49
- msgstr "SyntaxHighlighter Ayarlari"
50
-
51
- #. #-#-#-#-# plugin.pot (PACKAGE VERSION) #-#-#-#-#
52
- #. Plugin Name of an extension
53
- #: syntaxhighlighter.php:181
54
- msgid "SyntaxHighlighter"
55
- msgstr "SyntaxHighlighter"
56
-
57
- #: syntaxhighlighter.php:329
58
- msgid "expand source"
59
- msgstr "kaynağı genişlet"
60
-
61
- #: syntaxhighlighter.php:330
62
- msgid "view source"
63
- msgstr "kaynağı göster"
64
-
65
- #: syntaxhighlighter.php:331
66
- msgid "copy to clipboard"
67
- msgstr "panoya kopyala"
68
-
69
- #: syntaxhighlighter.php:332
70
- msgid "The code is in your clipboard now"
71
- msgstr "Simdi panoya kopyalandi."
72
-
73
- #: syntaxhighlighter.php:333
74
- msgid "print"
75
- msgstr "yazdır"
76
-
77
- #: syntaxhighlighter.php:334
78
- msgid "?"
79
- msgstr "?"
80
-
81
- #: syntaxhighlighter.php:335
82
- msgid ""
83
- "SyntaxHighlighter\\n"
84
- "\\n"
85
- msgstr ""
86
- "SyntaxHighlighter\\n"
87
- "\\n"
88
-
89
- #: syntaxhighlighter.php:336
90
- msgid "Can't find brush for: "
91
- msgstr "Fırça bulunamadı :"
92
-
93
- #: syntaxhighlighter.php:337
94
- msgid "Brush wasn't configured for html-script option: "
95
- msgstr "Firça Html-script seçenegi için yapilandirilmis degil: "
96
-
97
- #: syntaxhighlighter.php:509
98
- msgid "Settings reset to defaults."
99
- msgstr "Varsayilan ayarlara dön."
100
-
101
- #: syntaxhighlighter.php:517
102
- msgid "Are you sure you want to reset your settings to the defaults?"
103
- msgstr "Varsayilan ayarlara geri dönmek istediginize emin misiniz ?"
104
-
105
- #: syntaxhighlighter.php:536
106
- msgid "Color Theme"
107
- msgstr "Tema rengi"
108
-
109
- #: syntaxhighlighter.php:551
110
- msgid "Defaults"
111
- msgstr "Varsayılan"
112
-
113
- #: syntaxhighlighter.php:553
114
- msgid "All of the settings below can also be configured on a per-code box basis."
115
- msgstr "Asagidaki tüm ayarlar \"tik\" isareti konularak yapilandirilabilir."
116
-
117
- #: syntaxhighlighter.php:557
118
- #: syntaxhighlighter.php:560
119
- msgid "Miscellaneous"
120
- msgstr "Çeşitli Ayarlar"
121
-
122
- #: syntaxhighlighter.php:562
123
- msgid "Display line numbers"
124
- msgstr "Satir numaralarini göster."
125
-
126
- #: syntaxhighlighter.php:563
127
- msgid "Display the toolbar"
128
- msgstr "Araç çubugunu göster"
129
-
130
- #: syntaxhighlighter.php:564
131
- msgid "Automatically make URLs clickable"
132
- msgstr "Url'leri otomatik tiklanabilir yap"
133
-
134
- #: syntaxhighlighter.php:565
135
- msgid "Collapse code boxes"
136
- msgstr "Kod kutusunu daralt"
137
-
138
- #: syntaxhighlighter.php:566
139
- msgid "Show a ruler column along the top of the code box"
140
- msgstr "Sütun için cetveli görüntüle"
141
-
142
- #: syntaxhighlighter.php:567
143
- msgid "Use the light display mode, best for single lines of code"
144
- msgstr "En iyi tek satir için aydinlatma modunu kullan."
145
-
146
- #: syntaxhighlighter.php:568
147
- msgid "Use smart tabs allowing tabs being used for alignment"
148
- msgstr "Hizalama için akilli sekmeleri kullan."
149
-
150
- #: syntaxhighlighter.php:573
151
- msgid "Additional CSS Class(es)"
152
- msgstr "Ek CSS Sinif(lar)i"
153
-
154
- #: syntaxhighlighter.php:577
155
- msgid "Starting Line Number"
156
- msgstr "Satir baslama numarasi"
157
-
158
- #: syntaxhighlighter.php:582
159
- msgid "Font Size (Percentage)"
160
- msgstr "Yazi boyutu (Yüzde olarak)"
161
-
162
- #: syntaxhighlighter.php:588
163
- msgid "Tab Size"
164
- msgstr "Sekme Boyutu"
165
-
166
- #: syntaxhighlighter.php:594
167
- msgid "Save Changes"
168
- msgstr "Degisiklikleri kaydet"
169
-
170
- #: syntaxhighlighter.php:595
171
- msgid "Reset to Defaults"
172
- msgstr "Varsayilan ayarlara dön"
173
-
174
- #: syntaxhighlighter.php:600
175
- msgid "Preview"
176
- msgstr "Önizleme"
177
-
178
- #: syntaxhighlighter.php:602
179
- msgid "Click &quot;Save Changes&quot; to update this preview."
180
- msgstr "Önizlemeyi güncellemek için &quot;Degisiklikleri Kaydet&quot; tiklayin"
181
-
182
- #: syntaxhighlighter.php:637
183
- msgid "Shortcode Parameters"
184
- msgstr "Kisakod parametreleri"
185
-
186
- #: syntaxhighlighter.php:639
187
- #, php-format
188
- 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."
189
- msgstr "Asağıdakı parametreleri uygulamak istediginiz yerde girebilirsiniz. (i.e. on/off), pass %1$s/%2$s or %3$s/%4$s."
190
-
191
- #: syntaxhighlighter.php:642
192
- #, php-format
193
- msgid "%1$s or %2$s &#8212; 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 &quot;aliases&quot;)."
194
- msgstr "%1$s or %2$s &#8212; Dili sözdizimi ile vurgulamak için. Alternatif olarak bu etiketi kullanabilrsiniz, örneğin <code>[php]code[/php]</code>. <a href=\"%3$s\">Tıkla</a> geçerli etiketlerin listesi için ( &quot;aliases&quot; altında)."
195
-
196
- #: syntaxhighlighter.php:643
197
- #, php-format
198
- msgid "%s &#8212; Toggle automatic URL linking."
199
- msgstr "%s &#8212; Geçiş için otomatik URL bağlantısı."
200
-
201
- #: syntaxhighlighter.php:644
202
- #, php-format
203
- msgid "%s &#8212; Add an additional CSS class to the code box."
204
- msgstr "%s &#8212; Kod kutusunu ek bir CSS sınıf eklemek."
205
-
206
- #: syntaxhighlighter.php:645
207
- #, php-format
208
- msgid "%s &#8212; Toggle collapsing the code box by default, requiring a click to expand it. Good for large code posts."
209
- msgstr "%s &#8212; Kod kutusunu daraltın, büyültmek için tıklama gerekir. Uzun kodlar için kullanışlı."
210
-
211
- #: syntaxhighlighter.php:646
212
- #, php-format
213
- msgid "%s &#8212; An interger specifying what number the first line should be (for the line numbering)."
214
- msgstr "%s &#8212; Satir numarasinin ne olacağna dair bir tamsayi."
215
-
216
- #: syntaxhighlighter.php:647
217
- #, php-format
218
- msgid "%s &#8212; Toggle the left-side line numbering."
219
- msgstr "%s &#8212; Sol tarafı satır numaralama."
220
-
221
- #: syntaxhighlighter.php:648
222
- #, php-format
223
- msgid "%s &#8212; A comma-sperated list of line numbers to highlight."
224
- msgstr "%s &#8212; Virgülle ayrilmiş listelerin satir numaralarını vurgulamak."
225
-
226
- #: syntaxhighlighter.php:649
227
- #, php-format
228
- msgid "%s &#8212; 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."
229
- msgstr "%s &#8212; extra html/xml leri vurgulamak için, Html/Xml leri bir başka dil ile karışık kullandığınzda iyidir. Örneğin, PHp'nin HTML sayfasinda kullanmak gibi. Yukardaki önizleme buna bir örnektir."
230
-
231
- #: syntaxhighlighter.php:650
232
- #, php-format
233
- msgid "%s &#8212; Toggle light mode which disables the gutter, toolbar, and ruler all at once."
234
- msgstr "%s &#8212; Numaranladırmayı, araç çubuğuınu, cetveli bir seferde kaldıran sade mod."
235
-
236
- #: syntaxhighlighter.php:651
237
- #, php-format
238
- msgid "%s &#8212; Toggle the column ruler at the top of the code box."
239
- msgstr "%s &#8212; Kodu kutusunun üstündeki sütun cetveli aktifleştir."
240
-
241
- #: syntaxhighlighter.php:652
242
- #, php-format
243
- msgid "%s &#8212; Toggle the toolbar containing the helpful buttons."
244
- msgstr "%s &#8212; Geçiş yapmak için araç çubuğu içeren yararlı düğmeler."
245
-
246
- #: syntaxhighlighter.php:655
247
- msgid "Some example shortcodes:"
248
- msgstr "Bazı örnek kodlar:"
249
-
250
- #: syntaxhighlighter.php:658
251
- #: syntaxhighlighter.php:659
252
- #: syntaxhighlighter.php:660
253
- #: syntaxhighlighter.php:661
254
- msgid "your code here"
255
- msgstr "kod buraya"
256
-
257
- #: syntaxhighlighter.php:676
258
- msgid "Cheatin&#8217; uh?"
259
- msgstr "Hile ha ?"
260
-
261
- #. Plugin URI of an extension
262
- msgid "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
263
- msgstr "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
264
-
265
- #. Description of an extension
266
- msgid "Easily post code to your blog while still maintaining complete control over it's display. Uses Alex Gorbatchev's <a href=\"http://code.google.com/p/syntaxhighlighter/\">SyntaxHighlighter</a> and code by <a href=\"http://automattic.com/\">Automattic</a>."
267
- msgstr "%s &#8212; extra html/xml leri vurgulamak için. Html/Xml leri bir başka dil ile karışık kullandığınzda iyidir. Örneğin, PHp'nin HTML sayfasinda kullanmak gibi. Yukardaki önizleme buna bir örnektir."
268
-
269
- #. Author of an extension
270
- msgid "Viper007Bond"
271
- msgstr "Viper007Bond"
272
-
273
- #. Author URI of an extension
274
- msgid "http://www.viper007bond.com/"
275
- msgstr "http://www.viper007bond.com/"
276
-
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR Viper007Bond
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: PACKAGE VERSION\n"
9
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/syntaxhighlighter\n"
10
+ "POT-Creation-Date: 2009-03-29 05:19+0000\n"
11
+ "PO-Revision-Date: 2009-07-06 12:36+0200\n"
12
+ "Last-Translator: Alper <alpinux@hotmail.co.uk>\n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=utf-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+
18
+ #: syntaxhighlighter.php:128
19
+ msgid "Default"
20
+ msgstr "Varsayılan"
21
+
22
+ #: syntaxhighlighter.php:129
23
+ msgid "Django"
24
+ msgstr "Avakado Yeşili"
25
+
26
+ #: syntaxhighlighter.php:130
27
+ msgid "Emacs"
28
+ msgstr "Siyah"
29
+
30
+ #: syntaxhighlighter.php:131
31
+ msgid "Fade to Grey"
32
+ msgstr "Gri"
33
+
34
+ #: syntaxhighlighter.php:132
35
+ msgid "Midnight"
36
+ msgstr "Gece Yarısı"
37
+
38
+ #: syntaxhighlighter.php:133
39
+ msgid "RDark"
40
+ msgstr "Prusya Mavisi"
41
+
42
+ #: syntaxhighlighter.php:134
43
+ msgid "[None]"
44
+ msgstr "Hiçbiri"
45
+
46
+ #: syntaxhighlighter.php:181
47
+ #: syntaxhighlighter.php:526
48
+ msgid "SyntaxHighlighter Settings"
49
+ msgstr "SyntaxHighlighter Ayarlari"
50
+
51
+ #. #-#-#-#-# plugin.pot (PACKAGE VERSION) #-#-#-#-#
52
+ #. Plugin Name of an extension
53
+ #: syntaxhighlighter.php:181
54
+ msgid "SyntaxHighlighter"
55
+ msgstr "SyntaxHighlighter"
56
+
57
+ #: syntaxhighlighter.php:329
58
+ msgid "expand source"
59
+ msgstr "kaynağı genişlet"
60
+
61
+ #: syntaxhighlighter.php:330
62
+ msgid "view source"
63
+ msgstr "kaynağı göster"
64
+
65
+ #: syntaxhighlighter.php:331
66
+ msgid "copy to clipboard"
67
+ msgstr "panoya kopyala"
68
+
69
+ #: syntaxhighlighter.php:332
70
+ msgid "The code is in your clipboard now"
71
+ msgstr "Simdi panoya kopyalandi."
72
+
73
+ #: syntaxhighlighter.php:333
74
+ msgid "print"
75
+ msgstr "yazdır"
76
+
77
+ #: syntaxhighlighter.php:334
78
+ msgid "?"
79
+ msgstr "?"
80
+
81
+ #: syntaxhighlighter.php:335
82
+ msgid ""
83
+ "SyntaxHighlighter\\n"
84
+ "\\n"
85
+ msgstr ""
86
+ "SyntaxHighlighter\\n"
87
+ "\\n"
88
+
89
+ #: syntaxhighlighter.php:336
90
+ msgid "Can't find brush for: "
91
+ msgstr "Fırça bulunamadı :"
92
+
93
+ #: syntaxhighlighter.php:337
94
+ msgid "Brush wasn't configured for html-script option: "
95
+ msgstr "Firça Html-script seçenegi için yapilandirilmis degil: "
96
+
97
+ #: syntaxhighlighter.php:509
98
+ msgid "Settings reset to defaults."
99
+ msgstr "Varsayilan ayarlara dön."
100
+
101
+ #: syntaxhighlighter.php:517
102
+ msgid "Are you sure you want to reset your settings to the defaults?"
103
+ msgstr "Varsayilan ayarlara geri dönmek istediginize emin misiniz ?"
104
+
105
+ #: syntaxhighlighter.php:536
106
+ msgid "Color Theme"
107
+ msgstr "Tema rengi"
108
+
109
+ #: syntaxhighlighter.php:551
110
+ msgid "Defaults"
111
+ msgstr "Varsayılan"
112
+
113
+ #: syntaxhighlighter.php:553
114
+ msgid "All of the settings below can also be configured on a per-code box basis."
115
+ msgstr "Asagidaki tüm ayarlar \"tik\" isareti konularak yapilandirilabilir."
116
+
117
+ #: syntaxhighlighter.php:557
118
+ #: syntaxhighlighter.php:560
119
+ msgid "Miscellaneous"
120
+ msgstr "Çeşitli Ayarlar"
121
+
122
+ #: syntaxhighlighter.php:562
123
+ msgid "Display line numbers"
124
+ msgstr "Satir numaralarini göster."
125
+
126
+ #: syntaxhighlighter.php:563
127
+ msgid "Display the toolbar"
128
+ msgstr "Araç çubugunu göster"
129
+
130
+ #: syntaxhighlighter.php:564
131
+ msgid "Automatically make URLs clickable"
132
+ msgstr "Url'leri otomatik tiklanabilir yap"
133
+
134
+ #: syntaxhighlighter.php:565
135
+ msgid "Collapse code boxes"
136
+ msgstr "Kod kutusunu daralt"
137
+
138
+ #: syntaxhighlighter.php:566
139
+ msgid "Show a ruler column along the top of the code box"
140
+ msgstr "Sütun için cetveli görüntüle"
141
+
142
+ #: syntaxhighlighter.php:567
143
+ msgid "Use the light display mode, best for single lines of code"
144
+ msgstr "En iyi tek satir için aydinlatma modunu kullan."
145
+
146
+ #: syntaxhighlighter.php:568
147
+ msgid "Use smart tabs allowing tabs being used for alignment"
148
+ msgstr "Hizalama için akilli sekmeleri kullan."
149
+
150
+ #: syntaxhighlighter.php:573
151
+ msgid "Additional CSS Class(es)"
152
+ msgstr "Ek CSS Sinif(lar)i"
153
+
154
+ #: syntaxhighlighter.php:577
155
+ msgid "Starting Line Number"
156
+ msgstr "Satir baslama numarasi"
157
+
158
+ #: syntaxhighlighter.php:582
159
+ msgid "Font Size (Percentage)"
160
+ msgstr "Yazi boyutu (Yüzde olarak)"
161
+
162
+ #: syntaxhighlighter.php:588
163
+ msgid "Tab Size"
164
+ msgstr "Sekme Boyutu"
165
+
166
+ #: syntaxhighlighter.php:594
167
+ msgid "Save Changes"
168
+ msgstr "Degisiklikleri kaydet"
169
+
170
+ #: syntaxhighlighter.php:595
171
+ msgid "Reset to Defaults"
172
+ msgstr "Varsayilan ayarlara dön"
173
+
174
+ #: syntaxhighlighter.php:600
175
+ msgid "Preview"
176
+ msgstr "Önizleme"
177
+
178
+ #: syntaxhighlighter.php:602
179
+ msgid "Click &quot;Save Changes&quot; to update this preview."
180
+ msgstr "Önizlemeyi güncellemek için &quot;Degisiklikleri Kaydet&quot; tiklayin"
181
+
182
+ #: syntaxhighlighter.php:637
183
+ msgid "Shortcode Parameters"
184
+ msgstr "Kisakod parametreleri"
185
+
186
+ #: syntaxhighlighter.php:639
187
+ #, php-format
188
+ 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."
189
+ msgstr "Asağıdakı parametreleri uygulamak istediginiz yerde girebilirsiniz. (i.e. on/off), pass %1$s/%2$s or %3$s/%4$s."
190
+
191
+ #: syntaxhighlighter.php:642
192
+ #, php-format
193
+ msgid "%1$s or %2$s &#8212; 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 &quot;aliases&quot;)."
194
+ msgstr "%1$s or %2$s &#8212; Dili sözdizimi ile vurgulamak için. Alternatif olarak bu etiketi kullanabilrsiniz, örneğin <code>[php]code[/php]</code>. <a href=\"%3$s\">Tıkla</a> geçerli etiketlerin listesi için ( &quot;aliases&quot; altında)."
195
+
196
+ #: syntaxhighlighter.php:643
197
+ #, php-format
198
+ msgid "%s &#8212; Toggle automatic URL linking."
199
+ msgstr "%s &#8212; Geçiş için otomatik URL bağlantısı."
200
+
201
+ #: syntaxhighlighter.php:644
202
+ #, php-format
203
+ msgid "%s &#8212; Add an additional CSS class to the code box."
204
+ msgstr "%s &#8212; Kod kutusunu ek bir CSS sınıf eklemek."
205
+
206
+ #: syntaxhighlighter.php:645
207
+ #, php-format
208
+ msgid "%s &#8212; Toggle collapsing the code box by default, requiring a click to expand it. Good for large code posts."
209
+ msgstr "%s &#8212; Kod kutusunu daraltın, büyültmek için tıklama gerekir. Uzun kodlar için kullanışlı."
210
+
211
+ #: syntaxhighlighter.php:646
212
+ #, php-format
213
+ msgid "%s &#8212; An interger specifying what number the first line should be (for the line numbering)."
214
+ msgstr "%s &#8212; Satir numarasinin ne olacağna dair bir tamsayi."
215
+
216
+ #: syntaxhighlighter.php:647
217
+ #, php-format
218
+ msgid "%s &#8212; Toggle the left-side line numbering."
219
+ msgstr "%s &#8212; Sol tarafı satır numaralama."
220
+
221
+ #: syntaxhighlighter.php:648
222
+ #, php-format
223
+ msgid "%s &#8212; A comma-sperated list of line numbers to highlight."
224
+ msgstr "%s &#8212; Virgülle ayrilmiş listelerin satir numaralarını vurgulamak."
225
+
226
+ #: syntaxhighlighter.php:649
227
+ #, php-format
228
+ msgid "%s &#8212; 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."
229
+ msgstr "%s &#8212; extra html/xml leri vurgulamak için, Html/Xml leri bir başka dil ile karışık kullandığınzda iyidir. Örneğin, PHp'nin HTML sayfasinda kullanmak gibi. Yukardaki önizleme buna bir örnektir."
230
+
231
+ #: syntaxhighlighter.php:650
232
+ #, php-format
233
+ msgid "%s &#8212; Toggle light mode which disables the gutter, toolbar, and ruler all at once."
234
+ msgstr "%s &#8212; Numaranladırmayı, araç çubuğuınu, cetveli bir seferde kaldıran sade mod."
235
+
236
+ #: syntaxhighlighter.php:651
237
+ #, php-format
238
+ msgid "%s &#8212; Toggle the column ruler at the top of the code box."
239
+ msgstr "%s &#8212; Kodu kutusunun üstündeki sütun cetveli aktifleştir."
240
+
241
+ #: syntaxhighlighter.php:652
242
+ #, php-format
243
+ msgid "%s &#8212; Toggle the toolbar containing the helpful buttons."
244
+ msgstr "%s &#8212; Geçiş yapmak için araç çubuğu içeren yararlı düğmeler."
245
+
246
+ #: syntaxhighlighter.php:655
247
+ msgid "Some example shortcodes:"
248
+ msgstr "Bazı örnek kodlar:"
249
+
250
+ #: syntaxhighlighter.php:658
251
+ #: syntaxhighlighter.php:659
252
+ #: syntaxhighlighter.php:660
253
+ #: syntaxhighlighter.php:661
254
+ msgid "your code here"
255
+ msgstr "kod buraya"
256
+
257
+ #: syntaxhighlighter.php:676
258
+ msgid "Cheatin&#8217; uh?"
259
+ msgstr "Hile ha ?"
260
+
261
+ #. Plugin URI of an extension
262
+ msgid "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
263
+ msgstr "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
264
+
265
+ #. Description of an extension
266
+ msgid "Easily post code to your blog while still maintaining complete control over it's display. Uses Alex Gorbatchev's <a href=\"http://code.google.com/p/syntaxhighlighter/\">SyntaxHighlighter</a> and code by <a href=\"http://automattic.com/\">Automattic</a>."
267
+ msgstr "%s &#8212; extra html/xml leri vurgulamak için. Html/Xml leri bir başka dil ile karışık kullandığınzda iyidir. Örneğin, PHp'nin HTML sayfasinda kullanmak gibi. Yukardaki önizleme buna bir örnektir."
268
+
269
+ #. Author of an extension
270
+ msgid "Viper007Bond"
271
+ msgstr "Viper007Bond"
272
+
273
+ #. Author URI of an extension
274
+ msgid "http://www.viper007bond.com/"
275
+ msgstr "http://www.viper007bond.com/"
276
+
localization/syntaxhighlighter-zh_CN.po CHANGED
@@ -1,288 +1,288 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR Viper007Bond
3
- # This file is distributed under the same license as the PACKAGE package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
6
- msgid ""
7
- msgstr ""
8
- "Project-Id-Version: PACKAGE VERSION\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2009-08-10 22:08+0800\n"
11
- "PO-Revision-Date: 2009-08-11 16:23+0800\n"
12
- "Last-Translator: Hinker <hinkerliu@163.com>\n"
13
- "Language-Team: LANGUAGE <hinkerliu@163.com>\n"
14
- "MIME-Version: 1.0\n"
15
- "Content-Type: text/plain; charset=utf-8\n"
16
- "Content-Transfer-Encoding: 8bit\n"
17
- "X-Poedit-Language: Chinese\n"
18
- "X-Poedit-Country: CHINA\n"
19
- "X-Poedit-SourceCharset: utf-8\n"
20
-
21
- #: syntaxhighlighter.php:141
22
- msgid "Default"
23
- msgstr "缺省值"
24
-
25
- #: syntaxhighlighter.php:142
26
- msgid "Django"
27
- msgstr "Django"
28
-
29
- #: syntaxhighlighter.php:143
30
- msgid "Emacs"
31
- msgstr "Emacs"
32
-
33
- #: syntaxhighlighter.php:144
34
- msgid "Fade to Grey"
35
- msgstr "Fade to Grey"
36
-
37
- #: syntaxhighlighter.php:145
38
- msgid "Midnight"
39
- msgstr "Midnight"
40
-
41
- #: syntaxhighlighter.php:146
42
- msgid "RDark"
43
- msgstr "RDark"
44
-
45
- #: syntaxhighlighter.php:147
46
- msgid "[None]"
47
- msgstr "[无]"
48
-
49
- #: syntaxhighlighter.php:194
50
- msgid "SyntaxHighlighter Settings"
51
- msgstr "SyntaxHighlighter设置"
52
-
53
- #: syntaxhighlighter.php:194
54
- msgid "SyntaxHighlighter"
55
- msgstr "SyntaxHighlighter"
56
-
57
- #: syntaxhighlighter.php:219
58
- msgid "Settings"
59
- msgstr "设定"
60
-
61
- #: syntaxhighlighter.php:361
62
- msgid "expand source"
63
- msgstr "展开代码框"
64
-
65
- #: syntaxhighlighter.php:362
66
- msgid "view source"
67
- msgstr "查看源代码"
68
-
69
- #: syntaxhighlighter.php:363
70
- msgid "copy to clipboard"
71
- msgstr "复制到剪贴板"
72
-
73
- #: syntaxhighlighter.php:364
74
- msgid "The code is in your clipboard now"
75
- msgstr "代码现在在你的剪贴板"
76
-
77
- #: syntaxhighlighter.php:365
78
- msgid "print"
79
- msgstr "打印"
80
-
81
- #: syntaxhighlighter.php:366
82
- msgid "?"
83
- msgstr "帮助"
84
-
85
- #: syntaxhighlighter.php:367
86
- msgid ""
87
- "SyntaxHighlighter\\n"
88
- "\\n"
89
- msgstr ""
90
- "SyntaxHighlighter\\n"
91
- "\\n"
92
-
93
- #: syntaxhighlighter.php:368
94
- msgid "Can't find brush for: "
95
- msgstr "无法找到Brush:"
96
-
97
- #: syntaxhighlighter.php:369
98
- msgid "Brush wasn't configured for html-script option: "
99
- msgstr "Brush不能设置 html-script选项"
100
-
101
- #: syntaxhighlighter.php:554
102
- msgid "Are you sure you want to reset your settings to the defaults?"
103
- msgstr "您确定想要将首选项重置为默认设置吗?"
104
-
105
- #: syntaxhighlighter.php:670
106
- #, php-format
107
- 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."
108
- msgstr "这些参数你能够设置在简码中。对于布尔值(即 on/off),使用 %1$s/%2$s 或者 %3$s/%4$s。"
109
-
110
- #: syntaxhighlighter.php:673
111
- #, php-format
112
- msgid "%1$s or %2$s &#8212; 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 &quot;aliases&quot;)."
113
- msgstr "%1$s 或者 %2$s &#8212; 要高亮显示的代码语言。你能够像标签一样交替使用它们,例如<code>[php]code[/php]</code>。<a href=\"%3$s\">点击这里</a>有一个有效的标签列表 (在&quot;aliases&quot;的下面)。"
114
-
115
- #: syntaxhighlighter.php:674
116
- #, php-format
117
- msgid "%s &#8212; Toggle automatic URL linking."
118
- msgstr "%s &#8212; 切换自动URL链接。"
119
-
120
- #: syntaxhighlighter.php:675
121
- #, php-format
122
- msgid "%s &#8212; Add an additional CSS class to the code box."
123
- msgstr "%s &#8212; 加一个附加的CSS类到代码框。"
124
-
125
- #: syntaxhighlighter.php:676
126
- #, php-format
127
- msgid "%s &#8212; Toggle collapsing the code box by default, requiring a click to expand it. Good for large code posts."
128
- msgstr "%s &#8212; 切换缺省代码框收缩选项,请求点击展开代码。张贴大段代码时比较好看。"
129
-
130
- #: syntaxhighlighter.php:677
131
- #, php-format
132
- msgid "%s &#8212; An interger specifying what number the first line should be (for the line numbering)."
133
- msgstr "%s &#8212; 你想要在代码第一行显示的指定整数(有行号显示时)。"
134
-
135
- #: syntaxhighlighter.php:678
136
- #, php-format
137
- msgid "%s &#8212; Toggle the left-side line numbering."
138
- msgstr "%s &#8212; 切换左边行号显示。"
139
-
140
- #: syntaxhighlighter.php:679
141
- #, php-format
142
- msgid "%s &#8212; A comma-sperated list of line numbers to highlight."
143
- msgstr "%s &#8212; 需要高亮行号的逗号分隔列表"
144
-
145
- #: syntaxhighlighter.php:680
146
- #, php-format
147
- msgid "%s &#8212; 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."
148
- msgstr "%s &#8212; 切换任意HTML/XML扩展高亮。当 HTML/XML和其它语言混合时是有用的,比如在一个HTML网页里包含PHP。上面的预览这个选项是激活的。"
149
-
150
- #: syntaxhighlighter.php:681
151
- #, php-format
152
- msgid "%s &#8212; Toggle light mode which disables the gutter, toolbar, and ruler all at once."
153
- msgstr "%s &#8212; 切换高亮模式,此模式下装订线、工具条和标尺不可见。"
154
-
155
- #: syntaxhighlighter.php:682
156
- #, php-format
157
- msgid "%s &#8212; Toggle the column ruler at the top of the code box."
158
- msgstr "%s &#8212; 切换代码框部的列标尺显示。"
159
-
160
- #: syntaxhighlighter.php:683
161
- #, php-format
162
- msgid "%s &#8212; Toggle the toolbar containing the helpful buttons."
163
- msgstr "%s &#8212; 切换工具条上的帮助按钮。"
164
-
165
- #: syntaxhighlighter.php:684
166
- #, php-format
167
- msgid "%s &#8212; Toggle line wrapping."
168
- msgstr "%s &#8212; 切换自动换行。"
169
-
170
- #: syntaxhighlighter.php:708
171
- msgid "Cheatin&#8217; uh?"
172
- msgstr "Cheatin&#8217; uh?"
173
-
174
- #: syntaxhighlighter.php:546
175
- msgid "Settings reset to defaults."
176
- msgstr "将设置重置为默认值"
177
-
178
- #: syntaxhighlighter.php:573
179
- msgid "Color Theme"
180
- msgstr "颜色主题"
181
-
182
- #: syntaxhighlighter.php:588
183
- msgid "Defaults"
184
- msgstr "默认值"
185
-
186
- #: syntaxhighlighter.php:590
187
- msgid "All of the settings below can also be configured on a per-code box basis."
188
- msgstr "下面的所有设定都能在基本pre-code框中配置"
189
-
190
- #: syntaxhighlighter.php:594
191
- #: syntaxhighlighter.php:597
192
- msgid "Miscellaneous"
193
- msgstr "杂项"
194
-
195
- #: syntaxhighlighter.php:599
196
- msgid "Display line numbers"
197
- msgstr "显示行号"
198
-
199
- #: syntaxhighlighter.php:600
200
- msgid "Display the toolbar"
201
- msgstr "显示工具条"
202
-
203
- #: syntaxhighlighter.php:601
204
- msgid "Automatically make URLs clickable"
205
- msgstr "自动转换URI为可点击"
206
-
207
- #: syntaxhighlighter.php:602
208
- msgid "Collapse code boxes"
209
- msgstr "收缩代码框"
210
-
211
- #: syntaxhighlighter.php:603
212
- msgid "Show a ruler column along the top of the code box"
213
- msgstr "允许在代码框的顶部显示列标尺"
214
-
215
- #: syntaxhighlighter.php:604
216
- msgid "Use the light display mode, best for single lines of code"
217
- msgstr "用高亮显示模式,最好在单行代码中使用"
218
-
219
- #: syntaxhighlighter.php:605
220
- msgid "Use smart tabs allowing tabs being used for alignment"
221
- msgstr "使用智能制表符允许制表符对齐"
222
-
223
- #: syntaxhighlighter.php:606
224
- msgid "Wrap long lines, using an icon to show where line wraps occur (disabling this will make a scrollbar show instead)"
225
- msgstr "自动换行长的行,用一个图标指示换行的地方(禁用此选项将用滚动条代替显示)"
226
-
227
- #: syntaxhighlighter.php:611
228
- msgid "Additional CSS Class(es)"
229
- msgstr "附加的CSS类(es)"
230
-
231
- #: syntaxhighlighter.php:615
232
- msgid "Starting Line Number"
233
- msgstr "开始行号"
234
-
235
- #: syntaxhighlighter.php:619
236
- msgid "Tab Size"
237
- msgstr "制表符长度"
238
-
239
- #: syntaxhighlighter.php:625
240
- msgid "Save Changes"
241
- msgstr "保存更改"
242
-
243
- #: syntaxhighlighter.php:626
244
- msgid "Reset to Defaults"
245
- msgstr "重置为默认值"
246
-
247
- #: syntaxhighlighter.php:631
248
- msgid "Preview"
249
- msgstr "预览"
250
-
251
- #: syntaxhighlighter.php:633
252
- msgid "Click &quot;Save Changes&quot; to update this preview."
253
- msgstr "点击 &quot;保存更改&quot; 更新这段预览。"
254
-
255
- #: syntaxhighlighter.php:668
256
- msgid "Shortcode Parameters"
257
- msgstr "简码参数"
258
-
259
- #: syntaxhighlighter.php:687
260
- msgid "Some example shortcodes:"
261
- msgstr "一些简码示例"
262
-
263
- #: syntaxhighlighter.php:690
264
- #: syntaxhighlighter.php:691
265
- #: syntaxhighlighter.php:692
266
- #: syntaxhighlighter.php:693
267
- msgid "your code here"
268
- msgstr "这里写你的代码"
269
-
270
- #~ msgid "Font Size (Percentage)"
271
- #~ msgstr "字体大小(百分比)"
272
- #~ msgid "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
273
- #~ msgstr "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
274
- #~ msgid ""
275
- #~ "Easily post code to your blog while still maintaining complete control "
276
- #~ "over it's display. Uses Alex Gorbatchev's <a href=\"http://code.google."
277
- #~ "com/p/syntaxhighlighter/\">SyntaxHighlighter</a> and code by <a href="
278
- #~ "\"http://automattic.com/\">Automattic</a>."
279
- #~ msgstr ""
280
- #~ "很容易的粘贴代码到你的博客中,同时保持显示的完整控制。使用Alex Gorbatchev"
281
- #~ "的 <a href=\"http://code.google.com/p/syntaxhighlighter/"
282
- #~ "\">SyntaxHighlighter</a>, 由<a href=\"http://automattic.com/"
283
- #~ "\">Automattic</a>编程。"
284
- #~ msgid "Viper007Bond"
285
- #~ msgstr "Viper007Bond"
286
- #~ msgid "http://www.viper007bond.com/"
287
- #~ msgstr "http://www.viper007bond.com/"
288
-
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR Viper007Bond
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: PACKAGE VERSION\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2009-08-10 22:08+0800\n"
11
+ "PO-Revision-Date: 2009-08-11 16:23+0800\n"
12
+ "Last-Translator: Hinker <hinkerliu@163.com>\n"
13
+ "Language-Team: LANGUAGE <hinkerliu@163.com>\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=utf-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Poedit-Language: Chinese\n"
18
+ "X-Poedit-Country: CHINA\n"
19
+ "X-Poedit-SourceCharset: utf-8\n"
20
+
21
+ #: syntaxhighlighter.php:141
22
+ msgid "Default"
23
+ msgstr "缺省值"
24
+
25
+ #: syntaxhighlighter.php:142
26
+ msgid "Django"
27
+ msgstr "Django"
28
+
29
+ #: syntaxhighlighter.php:143
30
+ msgid "Emacs"
31
+ msgstr "Emacs"
32
+
33
+ #: syntaxhighlighter.php:144
34
+ msgid "Fade to Grey"
35
+ msgstr "Fade to Grey"
36
+
37
+ #: syntaxhighlighter.php:145
38
+ msgid "Midnight"
39
+ msgstr "Midnight"
40
+
41
+ #: syntaxhighlighter.php:146
42
+ msgid "RDark"
43
+ msgstr "RDark"
44
+
45
+ #: syntaxhighlighter.php:147
46
+ msgid "[None]"
47
+ msgstr "[无]"
48
+
49
+ #: syntaxhighlighter.php:194
50
+ msgid "SyntaxHighlighter Settings"
51
+ msgstr "SyntaxHighlighter设置"
52
+
53
+ #: syntaxhighlighter.php:194
54
+ msgid "SyntaxHighlighter"
55
+ msgstr "SyntaxHighlighter"
56
+
57
+ #: syntaxhighlighter.php:219
58
+ msgid "Settings"
59
+ msgstr "设定"
60
+
61
+ #: syntaxhighlighter.php:361
62
+ msgid "expand source"
63
+ msgstr "展开代码框"
64
+
65
+ #: syntaxhighlighter.php:362
66
+ msgid "view source"
67
+ msgstr "查看源代码"
68
+
69
+ #: syntaxhighlighter.php:363
70
+ msgid "copy to clipboard"
71
+ msgstr "复制到剪贴板"
72
+
73
+ #: syntaxhighlighter.php:364
74
+ msgid "The code is in your clipboard now"
75
+ msgstr "代码现在在你的剪贴板"
76
+
77
+ #: syntaxhighlighter.php:365
78
+ msgid "print"
79
+ msgstr "打印"
80
+
81
+ #: syntaxhighlighter.php:366
82
+ msgid "?"
83
+ msgstr "帮助"
84
+
85
+ #: syntaxhighlighter.php:367
86
+ msgid ""
87
+ "SyntaxHighlighter\\n"
88
+ "\\n"
89
+ msgstr ""
90
+ "SyntaxHighlighter\\n"
91
+ "\\n"
92
+
93
+ #: syntaxhighlighter.php:368
94
+ msgid "Can't find brush for: "
95
+ msgstr "无法找到Brush:"
96
+
97
+ #: syntaxhighlighter.php:369
98
+ msgid "Brush wasn't configured for html-script option: "
99
+ msgstr "Brush不能设置 html-script选项"
100
+
101
+ #: syntaxhighlighter.php:554
102
+ msgid "Are you sure you want to reset your settings to the defaults?"
103
+ msgstr "您确定想要将首选项重置为默认设置吗?"
104
+
105
+ #: syntaxhighlighter.php:670
106
+ #, php-format
107
+ 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."
108
+ msgstr "这些参数你能够设置在简码中。对于布尔值(即 on/off),使用 %1$s/%2$s 或者 %3$s/%4$s。"
109
+
110
+ #: syntaxhighlighter.php:673
111
+ #, php-format
112
+ msgid "%1$s or %2$s &#8212; 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 &quot;aliases&quot;)."
113
+ msgstr "%1$s 或者 %2$s &#8212; 要高亮显示的代码语言。你能够像标签一样交替使用它们,例如<code>[php]code[/php]</code>。<a href=\"%3$s\">点击这里</a>有一个有效的标签列表 (在&quot;aliases&quot;的下面)。"
114
+
115
+ #: syntaxhighlighter.php:674
116
+ #, php-format
117
+ msgid "%s &#8212; Toggle automatic URL linking."
118
+ msgstr "%s &#8212; 切换自动URL链接。"
119
+
120
+ #: syntaxhighlighter.php:675
121
+ #, php-format
122
+ msgid "%s &#8212; Add an additional CSS class to the code box."
123
+ msgstr "%s &#8212; 加一个附加的CSS类到代码框。"
124
+
125
+ #: syntaxhighlighter.php:676
126
+ #, php-format
127
+ msgid "%s &#8212; Toggle collapsing the code box by default, requiring a click to expand it. Good for large code posts."
128
+ msgstr "%s &#8212; 切换缺省代码框收缩选项,请求点击展开代码。张贴大段代码时比较好看。"
129
+
130
+ #: syntaxhighlighter.php:677
131
+ #, php-format
132
+ msgid "%s &#8212; An interger specifying what number the first line should be (for the line numbering)."
133
+ msgstr "%s &#8212; 你想要在代码第一行显示的指定整数(有行号显示时)。"
134
+
135
+ #: syntaxhighlighter.php:678
136
+ #, php-format
137
+ msgid "%s &#8212; Toggle the left-side line numbering."
138
+ msgstr "%s &#8212; 切换左边行号显示。"
139
+
140
+ #: syntaxhighlighter.php:679
141
+ #, php-format
142
+ msgid "%s &#8212; A comma-sperated list of line numbers to highlight."
143
+ msgstr "%s &#8212; 需要高亮行号的逗号分隔列表"
144
+
145
+ #: syntaxhighlighter.php:680
146
+ #, php-format
147
+ msgid "%s &#8212; 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."
148
+ msgstr "%s &#8212; 切换任意HTML/XML扩展高亮。当 HTML/XML和其它语言混合时是有用的,比如在一个HTML网页里包含PHP。上面的预览这个选项是激活的。"
149
+
150
+ #: syntaxhighlighter.php:681
151
+ #, php-format
152
+ msgid "%s &#8212; Toggle light mode which disables the gutter, toolbar, and ruler all at once."
153
+ msgstr "%s &#8212; 切换高亮模式,此模式下装订线、工具条和标尺不可见。"
154
+
155
+ #: syntaxhighlighter.php:682
156
+ #, php-format
157
+ msgid "%s &#8212; Toggle the column ruler at the top of the code box."
158
+ msgstr "%s &#8212; 切换代码框部的列标尺显示。"
159
+
160
+ #: syntaxhighlighter.php:683
161
+ #, php-format
162
+ msgid "%s &#8212; Toggle the toolbar containing the helpful buttons."
163
+ msgstr "%s &#8212; 切换工具条上的帮助按钮。"
164
+
165
+ #: syntaxhighlighter.php:684
166
+ #, php-format
167
+ msgid "%s &#8212; Toggle line wrapping."
168
+ msgstr "%s &#8212; 切换自动换行。"
169
+
170
+ #: syntaxhighlighter.php:708
171
+ msgid "Cheatin&#8217; uh?"
172
+ msgstr "Cheatin&#8217; uh?"
173
+
174
+ #: syntaxhighlighter.php:546
175
+ msgid "Settings reset to defaults."
176
+ msgstr "将设置重置为默认值"
177
+
178
+ #: syntaxhighlighter.php:573
179
+ msgid "Color Theme"
180
+ msgstr "颜色主题"
181
+
182
+ #: syntaxhighlighter.php:588
183
+ msgid "Defaults"
184
+ msgstr "默认值"
185
+
186
+ #: syntaxhighlighter.php:590
187
+ msgid "All of the settings below can also be configured on a per-code box basis."
188
+ msgstr "下面的所有设定都能在基本pre-code框中配置"
189
+
190
+ #: syntaxhighlighter.php:594
191
+ #: syntaxhighlighter.php:597
192
+ msgid "Miscellaneous"
193
+ msgstr "杂项"
194
+
195
+ #: syntaxhighlighter.php:599
196
+ msgid "Display line numbers"
197
+ msgstr "显示行号"
198
+
199
+ #: syntaxhighlighter.php:600
200
+ msgid "Display the toolbar"
201
+ msgstr "显示工具条"
202
+
203
+ #: syntaxhighlighter.php:601
204
+ msgid "Automatically make URLs clickable"
205
+ msgstr "自动转换URI为可点击"
206
+
207
+ #: syntaxhighlighter.php:602
208
+ msgid "Collapse code boxes"
209
+ msgstr "收缩代码框"
210
+
211
+ #: syntaxhighlighter.php:603
212
+ msgid "Show a ruler column along the top of the code box"
213
+ msgstr "允许在代码框的顶部显示列标尺"
214
+
215
+ #: syntaxhighlighter.php:604
216
+ msgid "Use the light display mode, best for single lines of code"
217
+ msgstr "用高亮显示模式,最好在单行代码中使用"
218
+
219
+ #: syntaxhighlighter.php:605
220
+ msgid "Use smart tabs allowing tabs being used for alignment"
221
+ msgstr "使用智能制表符允许制表符对齐"
222
+
223
+ #: syntaxhighlighter.php:606
224
+ msgid "Wrap long lines, using an icon to show where line wraps occur (disabling this will make a scrollbar show instead)"
225
+ msgstr "自动换行长的行,用一个图标指示换行的地方(禁用此选项将用滚动条代替显示)"
226
+
227
+ #: syntaxhighlighter.php:611
228
+ msgid "Additional CSS Class(es)"
229
+ msgstr "附加的CSS类(es)"
230
+
231
+ #: syntaxhighlighter.php:615
232
+ msgid "Starting Line Number"
233
+ msgstr "开始行号"
234
+
235
+ #: syntaxhighlighter.php:619
236
+ msgid "Tab Size"
237
+ msgstr "制表符长度"
238
+
239
+ #: syntaxhighlighter.php:625
240
+ msgid "Save Changes"
241
+ msgstr "保存更改"
242
+
243
+ #: syntaxhighlighter.php:626
244
+ msgid "Reset to Defaults"
245
+ msgstr "重置为默认值"
246
+
247
+ #: syntaxhighlighter.php:631
248
+ msgid "Preview"
249
+ msgstr "预览"
250
+
251
+ #: syntaxhighlighter.php:633
252
+ msgid "Click &quot;Save Changes&quot; to update this preview."
253
+ msgstr "点击 &quot;保存更改&quot; 更新这段预览。"
254
+
255
+ #: syntaxhighlighter.php:668
256
+ msgid "Shortcode Parameters"
257
+ msgstr "简码参数"
258
+
259
+ #: syntaxhighlighter.php:687
260
+ msgid "Some example shortcodes:"
261
+ msgstr "一些简码示例"
262
+
263
+ #: syntaxhighlighter.php:690
264
+ #: syntaxhighlighter.php:691
265
+ #: syntaxhighlighter.php:692
266
+ #: syntaxhighlighter.php:693
267
+ msgid "your code here"
268
+ msgstr "这里写你的代码"
269
+
270
+ #~ msgid "Font Size (Percentage)"
271
+ #~ msgstr "字体大小(百分比)"
272
+ #~ msgid "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
273
+ #~ msgstr "http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/"
274
+ #~ msgid ""
275
+ #~ "Easily post code to your blog while still maintaining complete control "
276
+ #~ "over it's display. Uses Alex Gorbatchev's <a href=\"http://code.google."
277
+ #~ "com/p/syntaxhighlighter/\">SyntaxHighlighter</a> and code by <a href="
278
+ #~ "\"http://automattic.com/\">Automattic</a>."
279
+ #~ msgstr ""
280
+ #~ "很容易的粘贴代码到你的博客中,同时保持显示的完整控制。使用Alex Gorbatchev"
281
+ #~ "的 <a href=\"http://code.google.com/p/syntaxhighlighter/"
282
+ #~ "\">SyntaxHighlighter</a>, 由<a href=\"http://automattic.com/"
283
+ #~ "\">Automattic</a>编程。"
284
+ #~ msgid "Viper007Bond"
285
+ #~ msgstr "Viper007Bond"
286
+ #~ msgid "http://www.viper007bond.com/"
287
+ #~ msgstr "http://www.viper007bond.com/"
288
+
readme.txt CHANGED
@@ -1,263 +1,252 @@
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: 4.2.3
6
- Tested up to: 4.5
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 its 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
-
23
- ###Upgrading From A Previous Version###
24
-
25
- To upgrade from a previous version of this plugin, delete the entire folder and files from the previous version of the plugin and then follow the installation instructions below.
26
-
27
- ###Uploading The Plugin###
28
-
29
- Extract all files from the ZIP file, **making sure to keep the file/folder structure intact**, and then upload it to `/wp-content/plugins/`.
30
-
31
- **See Also:** ["Installing Plugins" article on the WP Codex](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins)
32
-
33
- ###Plugin Activation###
34
-
35
- Go to the admin area of your WordPress install and click on the "Plugins" menu. Click on "Activate" for the "SyntaxHighlighter" plugin.
36
-
37
- ###Plugin Usage###
38
-
39
- Just wrap your code in `[language]`, such as `[php]code here[/php]` or `[css]code here[/css]`. For a list of supported languages (all widely used languages are supported), please [click here](http://alexgorbatchev.com/wiki/SyntaxHighlighter:Brushes).
40
-
41
- You do not need to escape HTML entities or anything, just post your code as-is. The plugin will handle the rest.
42
-
43
- The shortcodes accept a wide variety of parameters. For details, see the bottom of the plugin's settings page.
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
-
53
- 1. Example code display of some PHP inside some HTML.
54
- 2. A part of the Settings page which controls the defaults.
55
-
56
- == ChangeLog ==
57
-
58
- = Version 3.2.1 =
59
-
60
- * Fix shortcode issues that would occur during post editing if the code contained what looked like opening HTML tags such as `<?php`. See [this forum thread](https://wordpress.org/support/topic/php-opening-closing-tags-break-code-blocks) for details.
61
-
62
- = Version 3.2.0 =
63
-
64
- * Don't parse shortcodes inside of HTML entities, which could result in broken HTML.
65
- * Drop PHP4 support. This should result in PHP7 support.
66
-
67
- = Version 3.1.13 =
68
-
69
- * Fix setting sanitization bug. Props Alexander Concha (@xknown).
70
- * Don't encode shortcode contents on (un)trash. Props Andrew Ozz (@azaozz).
71
-
72
- = Version 3.1.12 =
73
-
74
- * Updated editor JavaScript for WordPress 4.3. Props Andrew Ozz (@azaozz).
75
-
76
- = Version 3.1.11 =
77
-
78
- * SyntaxHighlighter 3.x: Fix table layout issue. Props jeherve.
79
- * Fix sanitization bug for "classname" parameter.
80
- * Fix a bug that prevented highlighting a range of lines, such as "5-10".
81
-
82
- = Version 3.1.10 =
83
-
84
- * New version of SyntaxHighlighter 3.x library to address XSS security issue. Props Ben Bidner for finding the bug and Alex Gorbatchev working with us (Automattic) to patch the issue.
85
- * Compatibility with moving the plugins folder to a location other than the default one.
86
- * Updated Japanese translation file thanks to Daisuke Takahashi.
87
-
88
- = Version 3.1.9 =
89
-
90
- * Reset box-shadow property for better theme support. Props Michael Fields.
91
- * Crush images for smaller filesizes.
92
-
93
- = Version 3.1.8 =
94
-
95
- * TinyMCE 4.x compatibility. Props azaozz.
96
- * Added German translation thanks to [Michael Berger](http://bitespresso.de/).
97
-
98
- = Version 3.1.7 =
99
-
100
- * XHTML validation fix by adding `type` attribute to `<style>` tag. Props [NoMad1337](http://www.tacticalcode.de/).
101
-
102
- = Version 3.1.6 =
103
-
104
- * Kill off v2 copy-to-clipboard SWF file due to XSS security issue with the file. If you want to be able to copy/paste, use the better v3.
105
- * Switch from using a `<meta>` tag to a `<style>` tag as the JavaScript anchor in the `<head>`. This should fix the validation error under HTML5.
106
- * Remove an old forced font-size function -- it wasn't actually used.
107
- * Remove references.
108
-
109
- = Version 3.1.5 =
110
-
111
- * The slashing changes made in WordPress 3.6 (alpha) have been reverted -- we're back to the old way again. This release restores the code back to Syntaxhighlighter v3.1.3. See [ticket #21767](http://core.trac.wordpress.org/ticket/21767).
112
-
113
- = Version 3.1.4 =
114
-
115
- * WordPress 3.6 (alpha) compatibility. Content is now being stripped of slashes before being run through filters so this plugin needs to stop trying to strip slashes and then adding them back. See [ticket #21767](http://core.trac.wordpress.org/ticket/21767).
116
-
117
- = Version 3.1.3 =
118
-
119
- * Hide vertical overflow so that a vertical scrollbar doesn't show up in Chrome. Props Caio Proiete. Bump SH script version to bust browser caches.
120
- * Allow the plugin's shortcodes to be escaped using double brackets like so: `[[code]Foobar[/code]]`. This is a core feature, but calling `do_shortcode()` on the content as it went into the database caused the extra brackets to be stripped.
121
-
122
- = Version 3.1.2 =
123
-
124
- * Register some placeholder shortcodes so that `strip_shortcodes()` and such work properly. Previously the shortcodes were only registered during the brief moment that they were processed by one of this plugin's filters.
125
- * Add a `notranslate` CSS class to the `<pre>` output so that Google won't attempt to translate it. Props [Otto](http://ottopress.com/2011/google-translation-tip/).
126
- * Run the CSS classes aka SyntaxHighlighter script parameters through a filter.
127
-
128
- = Version 3.1.1 =
129
-
130
- * Fix default title setting not working.
131
- * Force `<code>` to be inline. Fixes issues with themes that do `code { display: block; }`.
132
- * Added Japanese translation thanks to [Makoto](http://projects.makotokw.com/redmine/projects/wp-plugins/wiki/Translation).
133
-
134
- = Version 3.1.0 =
135
-
136
- * Allow choosing between v2.x and v3.x of the SyntaxHighlighting package. Some people prefer the old one and there's nothing wrong with it really.
137
- * Fix broken TinyMCE plugin URL.
138
- * Force LTR text in v3.x.
139
- * If global collapse default is on, force on the toolbar and force off light mode to avoid the code block from disappearing.
140
- * Make the demo on the settings page the width of the content area on the front end so it's a better example of what the code will look like.
141
- * Bring back v2.x specific settings like `linewrap`.
142
-
143
- = Version 3.0.0 =
144
-
145
- * 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.
146
- * 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. :(
147
- * BuddyPress support! Props [Rich](http://blog.etiviti.com/).
148
- * Add third-party Clojure brush by [Travis Whitton](http://travis-whitton.blogspot.com/2009/06/syntaxhighlighter-for-clojure.html).
149
- * Add third-party R language brush by [Yihui Xie](http://yihui.name/en/2010/09/syntaxhighlighter-brush-for-the-r-language).
150
- * Ukrainian transation update thanks to [AzzePis](http://wordpress.co.ua/).
151
- * An updated Italian transation thanks to [gidibao](http://gidibao.net/).
152
-
153
- = Version 2.3.8 =
154
-
155
- * Disable `[latex]` to avoid collisions with LaTeX rendering plugins. Use `[tex]` instead if you want to post LaTeX source.
156
-
157
- = Version 2.3.7 =
158
-
159
- * 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/).
160
-
161
- = Version 2.3.6 =
162
-
163
- * Add third-party F-Sharp brush by [Steve Gilham](http://stevegilham.blogspot.com/2009/10/syntaxhighlighter-20-brushes-for-f-and.html).
164
- * Add third-partyMATLAB brush by [Will Schleter](http://ef.engr.utk.edu/matlab/syntaxhighlighter/) (only highlights popular keywords to avoid browser lockups).
165
- * Prevent double-encoding of shortcode contents save. I still have no idea why the `content_save_pre` filter is sometimes run twice.
166
-
167
- = Version 2.3.5 =
168
-
169
- * Move third-party brushes to their own folder to make it easier to keep track of them.
170
- * Fix broken Objective-C brush. Props Yoav.
171
- * 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/).
172
-
173
- = Version 2.3.4 =
174
-
175
- * Use the `get_comment_text` filter instead of the `comment_text` filter to make sure to catch the output everywhere.
176
- * Allow `on` and `off` as parameter values.
177
-
178
- = Version 2.3.3 =
179
-
180
- * Add `print` to PHP keywords. Props bundyxc.
181
- * 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/).
182
-
183
- = Version 2.3.2 =
184
-
185
- * 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.
186
- * Remove `min-height` CSS. I don't see the point of it and it's screwing it up in certain themes.
187
-
188
- = Version 2.3.1 =
189
-
190
- * Additional CSS to help prevent themes from breaking SyntaxHighlighter (stopping `code { display: block; }`).
191
- * Add a grey border to the default theme when line numbering is enabled.
192
- * Italian transation update thanks to [gidibao](http://gidibao.net/).
193
- * Minor code improvements.
194
-
195
- = Version 2.3.0 =
196
-
197
- 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).
198
-
199
- * Updated SyntaxHighlighter package to v2.1.364. Highlights of the [changelog](http://alexgorbatchev.com/wiki/SyntaxHighlighter:Changes:2.1.364) include:
200
- * ColdFusion brush (aliases: `coldfusion`, `cf`)
201
- * Erlang brush (aliases: `erl`, `erlang`)
202
- * Objective-C brush (aliases: `objc`, `obj-c`)
203
- * Eclipse theme
204
- * `padlinenumbers` parameter. Set it to `false` for no line number padding, `true` for automatic padding, or an integer (number) for forced padding.
205
- * `rb` alias for Ruby
206
- * Commenters can now use this plugin to post code.
207
- * Plugin's shortcodes now work inside of the text widget again. Requires WordPress 2.9+ though.
208
- * Overhaul of the TinyMCE plugin that assists in keeping your code sound when switching editor views. Thanks to Andrew Ozz!
209
- * This plugin's stylesheets are now dynamically loaded. If they aren't needed, they aren't loaded.
210
- * Lots of sanitization of shortcode attributes. Invalid keys/values are no longer used.
211
- * New filter to control what shortcodes are registered. Used by WordPress.com to trim down the number of them.
212
- * Saving of user's settings is now done using `register_setting()` instead of manually handing `$_POST`. Yay!
213
- * By default, a post meta is used to mark posts as being encoded using the 2.x encoding format. This is bad for a site like WordPress.com. You can use the new `syntaxhighlighter_pre_getcodeformat` filter to return `1` or `2` (based on say `post_modified`). See `SyntaxHighlighter:get_code_format()` for more details. Don't forget to `remove_action( 'save_post', array(&$SyntaxHighlighter, 'mark_as_encoded'), 10, 2 );` to stop the post meta from being added.
214
- * New `syntaxhighlighter_precode` filter to modify raw code before it's highlighted.
215
- * New `syntaxhighlighter_democode` filter to modify example code on the settings page.
216
-
217
- Localizations:
218
-
219
- * Danish translation update thanks to [Georg S. Adamsen](http://wordpress.blogos.dk/).
220
- * Chinese translation thanks to Hinker Liu. Will need updating for v2.3.0.
221
-
222
- = Version 2.2.1 =
223
-
224
- * Italian transation thanks to [gidibao](http://gidibao.net/index.php/2009/07/22/syntaxhighlighter-evolved-in-italiano/).
225
-
226
- = Version 2.2.0 =
227
-
228
- * 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/).
229
- * Fixed an issue with SyntaxHighlighter itself in which the Bash highlighter had issues with `<` and `>`.
230
- * Force a specific font size for the code so themes don't mess with it.
231
- * Allow the usage of custom aliases that aren't allowed by the highlighting package. Props [Anton Shevchuk](http://anton.shevchuk.name/).
232
- * Danish translation thanks to [Georg S. Adamsen](http://wordpress.blogos.dk/2009/05/07/syntaks-farvning-%E2%80%93-syntax-highlighting/).
233
- * Turkish translation thanks to [Alper](http://turkcekaynak.net/).
234
-
235
- = Version 2.1.0 =
236
-
237
- * 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.
238
-
239
- = Version 2.0.1 =
240
-
241
- * Andrew Ozz was kind enough to fix a bug related to `<p>`'s being stripped when switching from the Visual to HTML tab
242
- * Added a link to the settings page to the plugins page in the admin area
243
-
244
- = Version 2.0.0 =
245
-
246
- * Complete recode from scratch. Features v2 of Alex Gorbatchev's script, usage of shortcodes, and so much more.
247
-
248
- = Version 1.1.1 =
249
-
250
- * Encode single quotes so `wptexturize()` doesn't transform them into fancy quotes and screw up code.
251
-
252
- = Version 1.1.0 =
253
-
254
- * 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.
255
-
256
- = Version 1.0.1 =
257
-
258
- * Minor CSS fixes.
259
- * Filter text widgets to allow posting of code.
260
-
261
- = Version 1.0.0 =
262
-
263
- * 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: 4.2.3
6
+ Tested up to: 5.0
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 its 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
+ == Frequently Asked Questions ==
22
+
23
+ = The code is just being displayed raw. It isn't being converted into a code box or anything. What's wrong? =
24
+
25
+ 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.
26
+
27
+ = Highlighting doesn't work and my browser hangs, why?
28
+
29
+ Try excluding this plugin's Javascript from any performance optimizations your site may be doing that involve minifying or concatenating JS.
30
+
31
+ == Screenshots ==
32
+
33
+ 1. Example code display of some PHP inside some HTML.
34
+ 2. A part of the Settings page which controls the defaults.
35
+
36
+ == ChangeLog ==
37
+
38
+ = Version 3.3.1 =
39
+
40
+ * Make sure `wp-editor` script is loaded for Gutenberg.
41
+
42
+ = Version 3.3.0 =
43
+
44
+ * Gutenberg block thanks to @iandunn.
45
+ * Add a few extra keywords to the JavaScript highlighter. Props @caitp.
46
+
47
+ = Version 3.2.1 =
48
+
49
+ * Fix shortcode issues that would occur during post editing if the code contained what looked like opening HTML tags such as `<?php`. See [this forum thread](https://wordpress.org/support/topic/php-opening-closing-tags-break-code-blocks) for details.
50
+
51
+ = Version 3.2.0 =
52
+
53
+ * Don't parse shortcodes inside of HTML entities, which could result in broken HTML.
54
+ * Drop PHP4 support. This should result in PHP7 support.
55
+
56
+ = Version 3.1.13 =
57
+
58
+ * Fix setting sanitization bug. Props Alexander Concha (@xknown).
59
+ * Don't encode shortcode contents on (un)trash. Props Andrew Ozz (@azaozz).
60
+
61
+ = Version 3.1.12 =
62
+
63
+ * Updated editor JavaScript for WordPress 4.3. Props Andrew Ozz (@azaozz).
64
+
65
+ = Version 3.1.11 =
66
+
67
+ * SyntaxHighlighter 3.x: Fix table layout issue. Props jeherve.
68
+ * Fix sanitization bug for "classname" parameter.
69
+ * Fix a bug that prevented highlighting a range of lines, such as "5-10".
70
+
71
+ = Version 3.1.10 =
72
+
73
+ * New version of SyntaxHighlighter 3.x library to address XSS security issue. Props Ben Bidner for finding the bug and Alex Gorbatchev working with us (Automattic) to patch the issue.
74
+ * Compatibility with moving the plugins folder to a location other than the default one.
75
+ * Updated Japanese translation file thanks to Daisuke Takahashi.
76
+
77
+ = Version 3.1.9 =
78
+
79
+ * Reset box-shadow property for better theme support. Props Michael Fields.
80
+ * Crush images for smaller filesizes.
81
+
82
+ = Version 3.1.8 =
83
+
84
+ * TinyMCE 4.x compatibility. Props azaozz.
85
+ * Added German translation thanks to [Michael Berger](http://bitespresso.de/).
86
+
87
+ = Version 3.1.7 =
88
+
89
+ * XHTML validation fix by adding `type` attribute to `<style>` tag. Props [NoMad1337](http://www.tacticalcode.de/).
90
+
91
+ = Version 3.1.6 =
92
+
93
+ * Kill off v2 copy-to-clipboard SWF file due to XSS security issue with the file. If you want to be able to copy/paste, use the better v3.
94
+ * Switch from using a `<meta>` tag to a `<style>` tag as the JavaScript anchor in the `<head>`. This should fix the validation error under HTML5.
95
+ * Remove an old forced font-size function -- it wasn't actually used.
96
+ * Remove references.
97
+
98
+ = Version 3.1.5 =
99
+
100
+ * The slashing changes made in WordPress 3.6 (alpha) have been reverted -- we're back to the old way again. This release restores the code back to Syntaxhighlighter v3.1.3. See [ticket #21767](http://core.trac.wordpress.org/ticket/21767).
101
+
102
+ = Version 3.1.4 =
103
+
104
+ * WordPress 3.6 (alpha) compatibility. Content is now being stripped of slashes before being run through filters so this plugin needs to stop trying to strip slashes and then adding them back. See [ticket #21767](http://core.trac.wordpress.org/ticket/21767).
105
+
106
+ = Version 3.1.3 =
107
+
108
+ * Hide vertical overflow so that a vertical scrollbar doesn't show up in Chrome. Props Caio Proiete. Bump SH script version to bust browser caches.
109
+ * Allow the plugin's shortcodes to be escaped using double brackets like so: `[[code]Foobar[/code]]`. This is a core feature, but calling `do_shortcode()` on the content as it went into the database caused the extra brackets to be stripped.
110
+
111
+ = Version 3.1.2 =
112
+
113
+ * Register some placeholder shortcodes so that `strip_shortcodes()` and such work properly. Previously the shortcodes were only registered during the brief moment that they were processed by one of this plugin's filters.
114
+ * Add a `notranslate` CSS class to the `<pre>` output so that Google won't attempt to translate it. Props [Otto](http://ottopress.com/2011/google-translation-tip/).
115
+ * Run the CSS classes aka SyntaxHighlighter script parameters through a filter.
116
+
117
+ = Version 3.1.1 =
118
+
119
+ * Fix default title setting not working.
120
+ * Force `<code>` to be inline. Fixes issues with themes that do `code { display: block; }`.
121
+ * Added Japanese translation thanks to [Makoto](http://projects.makotokw.com/redmine/projects/wp-plugins/wiki/Translation).
122
+
123
+ = Version 3.1.0 =
124
+
125
+ * Allow choosing between v2.x and v3.x of the SyntaxHighlighting package. Some people prefer the old one and there's nothing wrong with it really.
126
+ * Fix broken TinyMCE plugin URL.
127
+ * Force LTR text in v3.x.
128
+ * If global collapse default is on, force on the toolbar and force off light mode to avoid the code block from disappearing.
129
+ * Make the demo on the settings page the width of the content area on the front end so it's a better example of what the code will look like.
130
+ * Bring back v2.x specific settings like `linewrap`.
131
+
132
+ = Version 3.0.0 =
133
+
134
+ * 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.
135
+ * 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. :(
136
+ * BuddyPress support! Props [Rich](http://blog.etiviti.com/).
137
+ * Add third-party Clojure brush by [Travis Whitton](http://travis-whitton.blogspot.com/2009/06/syntaxhighlighter-for-clojure.html).
138
+ * Add third-party R language brush by [Yihui Xie](http://yihui.name/en/2010/09/syntaxhighlighter-brush-for-the-r-language).
139
+ * Ukrainian transation update thanks to [AzzePis](http://wordpress.co.ua/).
140
+ * An updated Italian transation thanks to [gidibao](http://gidibao.net/).
141
+
142
+ = Version 2.3.8 =
143
+
144
+ * Disable `[latex]` to avoid collisions with LaTeX rendering plugins. Use `[tex]` instead if you want to post LaTeX source.
145
+
146
+ = Version 2.3.7 =
147
+
148
+ * 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/).
149
+
150
+ = Version 2.3.6 =
151
+
152
+ * Add third-party F-Sharp brush by [Steve Gilham](http://stevegilham.blogspot.com/2009/10/syntaxhighlighter-20-brushes-for-f-and.html).
153
+ * Add third-partyMATLAB brush by [Will Schleter](http://ef.engr.utk.edu/matlab/syntaxhighlighter/) (only highlights popular keywords to avoid browser lockups).
154
+ * Prevent double-encoding of shortcode contents save. I still have no idea why the `content_save_pre` filter is sometimes run twice.
155
+
156
+ = Version 2.3.5 =
157
+
158
+ * Move third-party brushes to their own folder to make it easier to keep track of them.
159
+ * Fix broken Objective-C brush. Props Yoav.
160
+ * 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/).
161
+
162
+ = Version 2.3.4 =
163
+
164
+ * Use the `get_comment_text` filter instead of the `comment_text` filter to make sure to catch the output everywhere.
165
+ * Allow `on` and `off` as parameter values.
166
+
167
+ = Version 2.3.3 =
168
+
169
+ * Add `print` to PHP keywords. Props bundyxc.
170
+ * 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/).
171
+
172
+ = Version 2.3.2 =
173
+
174
+ * 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.
175
+ * Remove `min-height` CSS. I don't see the point of it and it's screwing it up in certain themes.
176
+
177
+ = Version 2.3.1 =
178
+
179
+ * Additional CSS to help prevent themes from breaking SyntaxHighlighter (stopping `code { display: block; }`).
180
+ * Add a grey border to the default theme when line numbering is enabled.
181
+ * Italian transation update thanks to [gidibao](http://gidibao.net/).
182
+ * Minor code improvements.
183
+
184
+ = Version 2.3.0 =
185
+
186
+ 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).
187
+
188
+ * Updated SyntaxHighlighter package to v2.1.364. Highlights of the [changelog](http://alexgorbatchev.com/wiki/SyntaxHighlighter:Changes:2.1.364) include:
189
+ * ColdFusion brush (aliases: `coldfusion`, `cf`)
190
+ * Erlang brush (aliases: `erl`, `erlang`)
191
+ * Objective-C brush (aliases: `objc`, `obj-c`)
192
+ * Eclipse theme
193
+ * `padlinenumbers` parameter. Set it to `false` for no line number padding, `true` for automatic padding, or an integer (number) for forced padding.
194
+ * `rb` alias for Ruby
195
+ * Commenters can now use this plugin to post code.
196
+ * Plugin's shortcodes now work inside of the text widget again. Requires WordPress 2.9+ though.
197
+ * Overhaul of the TinyMCE plugin that assists in keeping your code sound when switching editor views. Thanks to Andrew Ozz!
198
+ * This plugin's stylesheets are now dynamically loaded. If they aren't needed, they aren't loaded.
199
+ * Lots of sanitization of shortcode attributes. Invalid keys/values are no longer used.
200
+ * New filter to control what shortcodes are registered. Used by WordPress.com to trim down the number of them.
201
+ * Saving of user's settings is now done using `register_setting()` instead of manually handing `$_POST`. Yay!
202
+ * By default, a post meta is used to mark posts as being encoded using the 2.x encoding format. This is bad for a site like WordPress.com. You can use the new `syntaxhighlighter_pre_getcodeformat` filter to return `1` or `2` (based on say `post_modified`). See `SyntaxHighlighter:get_code_format()` for more details. Don't forget to `remove_action( 'save_post', array(&$SyntaxHighlighter, 'mark_as_encoded'), 10, 2 );` to stop the post meta from being added.
203
+ * New `syntaxhighlighter_precode` filter to modify raw code before it's highlighted.
204
+ * New `syntaxhighlighter_democode` filter to modify example code on the settings page.
205
+
206
+ Localizations:
207
+
208
+ * Danish translation update thanks to [Georg S. Adamsen](http://wordpress.blogos.dk/).
209
+ * Chinese translation thanks to Hinker Liu. Will need updating for v2.3.0.
210
+
211
+ = Version 2.2.1 =
212
+
213
+ * Italian transation thanks to [gidibao](http://gidibao.net/index.php/2009/07/22/syntaxhighlighter-evolved-in-italiano/).
214
+
215
+ = Version 2.2.0 =
216
+
217
+ * 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/).
218
+ * Fixed an issue with SyntaxHighlighter itself in which the Bash highlighter had issues with `<` and `>`.
219
+ * Force a specific font size for the code so themes don't mess with it.
220
+ * Allow the usage of custom aliases that aren't allowed by the highlighting package. Props [Anton Shevchuk](http://anton.shevchuk.name/).
221
+ * Danish translation thanks to [Georg S. Adamsen](http://wordpress.blogos.dk/2009/05/07/syntaks-farvning-%E2%80%93-syntax-highlighting/).
222
+ * Turkish translation thanks to [Alper](http://turkcekaynak.net/).
223
+
224
+ = Version 2.1.0 =
225
+
226
+ * 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.
227
+
228
+ = Version 2.0.1 =
229
+
230
+ * Andrew Ozz was kind enough to fix a bug related to `<p>`'s being stripped when switching from the Visual to HTML tab
231
+ * Added a link to the settings page to the plugins page in the admin area
232
+
233
+ = Version 2.0.0 =
234
+
235
+ * Complete recode from scratch. Features v2 of Alex Gorbatchev's script, usage of shortcodes, and so much more.
236
+
237
+ = Version 1.1.1 =
238
+
239
+ * Encode single quotes so `wptexturize()` doesn't transform them into fancy quotes and screw up code.
240
+
241
+ = Version 1.1.0 =
242
+
243
+ * 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.
244
+
245
+ = Version 1.0.1 =
246
+
247
+ * Minor CSS fixes.
248
+ * Filter text widgets to allow posting of code.
249
+
250
+ = Version 1.0.0 =
251
+
252
+ * Initial release!
 
 
 
 
 
 
 
 
 
 
 
syntaxhighlighter.js CHANGED
@@ -1,31 +1,31 @@
1
- ( function($) {
2
- var shortcodes = window.syntaxHLcodes || 'sourcecode',
3
- regex = new RegExp( '(?:<pre>\\s*)?(\\[(' + shortcodes + ')[^\\]]*\\][\\s\\S]*?\\[\\/\\2\\])(?:\\s*<\\/pre>)?', 'gi' );
4
-
5
- window.syntaxHLescape = {};
6
-
7
- if ( typeof $ === 'undefined' ) {
8
- return;
9
- }
10
-
11
- $( document ).on( 'afterPreWpautop.syntaxhighlighter', function( event, obj ) {
12
- if ( obj.data && obj.data.indexOf( '[' ) !== -1 ) {
13
- obj.data = obj.data.replace( regex, function( match, shortcode ) {
14
- return '\n' + shortcode.replace( /&lt;/g, '<' ).replace( /&gt;/g, '>' ).replace( /&amp;/g, '&' ) + '\n';
15
- }
16
- );
17
- }
18
- }).on( 'beforeWpautop.syntaxhighlighter', function( event, obj ) {
19
- if ( obj.data && obj.data.indexOf( '[' ) !== -1 ) {
20
- obj.data = obj.data.replace( regex, '<pre>$1</pre>' );
21
- }
22
- }).ready( function() {
23
- $( '.wp-editor-wrap.html-active' ).each( function( i, element ) {
24
- var id = $( element ).find( 'textarea.wp-editor-area' ).attr( 'id' );
25
-
26
- if ( id ) {
27
- window.syntaxHLescape[id] = true;
28
- }
29
- });
30
- });
31
- }( window.jQuery ));
1
+ ( function($) {
2
+ var shortcodes = window.syntaxHLcodes || 'sourcecode',
3
+ regex = new RegExp( '(?:<pre>\\s*)?(\\[(' + shortcodes + ')[^\\]]*\\][\\s\\S]*?\\[\\/\\2\\])(?:\\s*<\\/pre>)?', 'gi' );
4
+
5
+ window.syntaxHLescape = {};
6
+
7
+ if ( typeof $ === 'undefined' ) {
8
+ return;
9
+ }
10
+
11
+ $( document ).on( 'afterPreWpautop.syntaxhighlighter', function( event, obj ) {
12
+ if ( obj.data && obj.data.indexOf( '[' ) !== -1 ) {
13
+ obj.data = obj.data.replace( regex, function( match, shortcode ) {
14
+ return '\n' + shortcode.replace( /&lt;/g, '<' ).replace( /&gt;/g, '>' ).replace( /&amp;/g, '&' ) + '\n';
15
+ }
16
+ );
17
+ }
18
+ }).on( 'beforeWpautop.syntaxhighlighter', function( event, obj ) {
19
+ if ( obj.data && obj.data.indexOf( '[' ) !== -1 ) {
20
+ obj.data = obj.data.replace( regex, '<pre>$1</pre>' );
21
+ }
22
+ }).ready( function() {
23
+ $( '.wp-editor-wrap.html-active' ).each( function( i, element ) {
24
+ var id = $( element ).find( 'textarea.wp-editor-area' ).attr( 'id' );
25
+
26
+ if ( id ) {
27
+ window.syntaxHLescape[id] = true;
28
+ }
29
+ });
30
+ });
31
+ }( window.jQuery ));
syntaxhighlighter.php CHANGED
@@ -1,1329 +1,1441 @@
1
- <?php /*
2
-
3
- **************************************************************************
4
-
5
- Plugin Name: SyntaxHighlighter Evolved
6
- Plugin URI: http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/
7
- Version: 3.2.1
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>. <strong>TIP:</strong> Don't use the Visual editor if you don't want your code mangled. TinyMCE will "clean up" your HTML.
9
- Author: Alex Mills (Viper007Bond)
10
- Author URI: http://www.viper007bond.com/
11
-
12
- **************************************************************************
13
-
14
- Thanks to:
15
-
16
- * Alex Gorbatchev for writing the Javascript-powered syntax highlighter script
17
-
18
- * Andrew Ozz for writing the TinyMCE plugin
19
-
20
- **************************************************************************/
21
-
22
- class SyntaxHighlighter {
23
- // All of these variables are private. Filters are provided for things that can be modified.
24
- var $pluginver = '3.2.1'; // Plugin version
25
- var $agshver = false; // Alex Gorbatchev's SyntaxHighlighter version (dynamically set below due to v2 vs v3)
26
- var $shfolder = false; // Controls what subfolder to load SyntaxHighlighter from (v2 or v3)
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( 'do_shortcodes_in_html_tags' ) )
40
- return;
41
-
42
- // Load localization domain
43
- load_plugin_textdomain( 'syntaxhighlighter', false, '/syntaxhighlighter/localization' );
44
-
45
- // Display hooks
46
- add_filter( 'the_content', array( $this, 'parse_shortcodes' ), 7 ); // Posts
47
- add_filter( 'comment_text', array( $this, 'parse_shortcodes_comment' ), 7 ); // Comments
48
- add_filter( 'bp_get_the_topic_post_content', array( $this, 'parse_shortcodes' ), 7 ); // BuddyPress
49
-
50
- // Into the database
51
- add_filter( 'content_save_pre', array( $this, 'encode_shortcode_contents_slashed_noquickedit' ), 1 ); // Posts
52
- add_filter( 'pre_comment_content', array( $this, 'encode_shortcode_contents_slashed' ), 1 ); // Comments
53
- add_filter( 'group_forum_post_text_before_save', array( $this, 'encode_shortcode_contents_slashed' ), 1 ); // BuddyPress
54
- add_filter( 'group_forum_topic_text_before_save', array( $this, 'encode_shortcode_contents_slashed' ), 1 ); // BuddyPress
55
-
56
- // Out of the database for editing
57
- add_filter( 'the_editor_content', array( $this, 'the_editor_content' ), 1 ); // Posts
58
- add_filter( 'comment_edit_pre', array( $this, 'decode_shortcode_contents' ), 1 ); // Comments
59
- add_filter( 'bp_get_the_topic_text', array( $this, 'decode_shortcode_contents' ), 1 ); // BuddyPress
60
- add_filter( 'bp_get_the_topic_post_edit_text', array( $this, 'decode_shortcode_contents' ), 1 ); // BuddyPress
61
-
62
- // Outputting SyntaxHighlighter's JS and CSS
63
- add_action( 'wp_head', array( $this, 'output_header_placeholder' ), 15 );
64
- add_action( 'admin_head', array( $this, 'output_header_placeholder' ), 15 ); // For comments
65
- add_action( 'wp_footer', array( $this, 'maybe_output_scripts' ), 15 );
66
- add_action( 'admin_footer', array( $this, 'maybe_output_scripts' ), 15 ); // For comments
67
-
68
- // Admin hooks
69
- add_action( 'admin_init', array( $this, 'register_setting' ) );
70
- add_action( 'admin_menu', array( $this, 'register_settings_page' ) );
71
- add_filter( 'mce_external_plugins', array( $this, 'add_tinymce_plugin' ) );
72
- add_filter( 'save_post', array( $this, 'mark_as_encoded' ), 10, 2 );
73
- add_filter( 'plugin_action_links', array( $this, 'settings_link' ), 10, 2 );
74
-
75
- // Register widget hooks
76
- add_filter( 'widget_text', array( $this, 'widget_text_output' ), 7, 2 );
77
- add_filter( 'widget_update_callback', array( $this, 'widget_text_save' ), 1, 4 );
78
- add_filter( 'widget_form_callback', array( $this, 'widget_text_form' ), 1, 2 );
79
-
80
-
81
- // Create array of default settings (you can use the filter to modify these)
82
- $this->defaultsettings = (array) apply_filters( 'syntaxhighlighter_defaultsettings', array(
83
- 'theme' => 'default',
84
- 'loadallbrushes' => 0,
85
- 'shversion' => 3,
86
- 'title' => '',
87
- 'autolinks' => 1,
88
- 'classname' => '',
89
- 'collapse' => 0,
90
- 'firstline' => 1,
91
- 'gutter' => 1,
92
- 'htmlscript' => 0,
93
- 'light' => 0,
94
- 'padlinenumbers' => 'false',
95
- 'smarttabs' => 1,
96
- 'tabsize' => 4,
97
- 'toolbar' => 0,
98
- 'wraplines' => 1, // 2.x only
99
- ) );
100
-
101
- // Create the settings array by merging the user's settings and the defaults
102
- $usersettings = (array) get_option('syntaxhighlighter_settings');
103
- $this->settings = wp_parse_args( $usersettings, $this->defaultsettings );
104
-
105
- // Dynamically set folder and version names for SynaxHighlighter
106
- if ( 2 == $this->settings['shversion'] ) {
107
- $this->shfolder = 'syntaxhighlighter2';
108
- $this->agshver = '2.1.364';
109
- } else {
110
- $this->shfolder = 'syntaxhighlighter3';
111
- $this->agshver = '3.0.9b';
112
- }
113
-
114
- // Register brush scripts
115
- wp_register_script( 'syntaxhighlighter-core', plugins_url( $this->shfolder . '/scripts/shCore.js', __FILE__ ), array(), $this->agshver );
116
- wp_register_script( 'syntaxhighlighter-brush-as3', plugins_url( $this->shfolder . '/scripts/shBrushAS3.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
117
- wp_register_script( 'syntaxhighlighter-brush-bash', plugins_url( $this->shfolder . '/scripts/shBrushBash.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
118
- wp_register_script( 'syntaxhighlighter-brush-coldfusion', plugins_url( $this->shfolder . '/scripts/shBrushColdFusion.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
119
- wp_register_script( 'syntaxhighlighter-brush-cpp', plugins_url( $this->shfolder . '/scripts/shBrushCpp.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
120
- wp_register_script( 'syntaxhighlighter-brush-csharp', plugins_url( $this->shfolder . '/scripts/shBrushCSharp.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
121
- wp_register_script( 'syntaxhighlighter-brush-css', plugins_url( $this->shfolder . '/scripts/shBrushCss.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
122
- wp_register_script( 'syntaxhighlighter-brush-delphi', plugins_url( $this->shfolder . '/scripts/shBrushDelphi.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
123
- wp_register_script( 'syntaxhighlighter-brush-diff', plugins_url( $this->shfolder . '/scripts/shBrushDiff.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
124
- wp_register_script( 'syntaxhighlighter-brush-erlang', plugins_url( $this->shfolder . '/scripts/shBrushErlang.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
125
- wp_register_script( 'syntaxhighlighter-brush-groovy', plugins_url( $this->shfolder . '/scripts/shBrushGroovy.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
126
- wp_register_script( 'syntaxhighlighter-brush-java', plugins_url( $this->shfolder . '/scripts/shBrushJava.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
127
- wp_register_script( 'syntaxhighlighter-brush-javafx', plugins_url( $this->shfolder . '/scripts/shBrushJavaFX.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
128
- wp_register_script( 'syntaxhighlighter-brush-jscript', plugins_url( $this->shfolder . '/scripts/shBrushJScript.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
129
- wp_register_script( 'syntaxhighlighter-brush-perl', plugins_url( $this->shfolder . '/scripts/shBrushPerl.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
130
- wp_register_script( 'syntaxhighlighter-brush-php', plugins_url( $this->shfolder . '/scripts/shBrushPhp.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
131
- wp_register_script( 'syntaxhighlighter-brush-plain', plugins_url( $this->shfolder . '/scripts/shBrushPlain.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
132
- wp_register_script( 'syntaxhighlighter-brush-powershell', plugins_url( $this->shfolder . '/scripts/shBrushPowerShell.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
133
- wp_register_script( 'syntaxhighlighter-brush-python', plugins_url( $this->shfolder . '/scripts/shBrushPython.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
134
- wp_register_script( 'syntaxhighlighter-brush-ruby', plugins_url( $this->shfolder . '/scripts/shBrushRuby.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
135
- wp_register_script( 'syntaxhighlighter-brush-scala', plugins_url( $this->shfolder . '/scripts/shBrushScala.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
136
- wp_register_script( 'syntaxhighlighter-brush-sql', plugins_url( $this->shfolder . '/scripts/shBrushSql.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
137
- wp_register_script( 'syntaxhighlighter-brush-vb', plugins_url( $this->shfolder . '/scripts/shBrushVb.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
138
- wp_register_script( 'syntaxhighlighter-brush-xml', plugins_url( $this->shfolder . '/scripts/shBrushXml.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
139
-
140
- // Register some popular third-party brushes
141
- wp_register_script( 'syntaxhighlighter-brush-clojure', plugins_url( 'third-party-brushes/shBrushClojure.js', __FILE__ ), array('syntaxhighlighter-core'), '20090602' );
142
- wp_register_script( 'syntaxhighlighter-brush-fsharp', plugins_url( 'third-party-brushes/shBrushFSharp.js', __FILE__ ), array('syntaxhighlighter-core'), '20091003' );
143
- wp_register_script( 'syntaxhighlighter-brush-latex', plugins_url( 'third-party-brushes/shBrushLatex.js', __FILE__ ), array('syntaxhighlighter-core'), '20090613' );
144
- wp_register_script( 'syntaxhighlighter-brush-matlabkey', plugins_url( 'third-party-brushes/shBrushMatlabKey.js', __FILE__ ), array('syntaxhighlighter-core'), '20091209' );
145
- wp_register_script( 'syntaxhighlighter-brush-objc', plugins_url( 'third-party-brushes/shBrushObjC.js', __FILE__ ), array('syntaxhighlighter-core'), '20091207' );
146
- wp_register_script( 'syntaxhighlighter-brush-r', plugins_url( 'third-party-brushes/shBrushR.js', __FILE__ ), array('syntaxhighlighter-core'), '20100919' );
147
-
148
- // Register theme stylesheets
149
- wp_register_style( 'syntaxhighlighter-core', plugins_url( $this->shfolder . '/styles/shCore.css', __FILE__ ), array(), $this->agshver );
150
- wp_register_style( 'syntaxhighlighter-theme-default', plugins_url( $this->shfolder . '/styles/shThemeDefault.css', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
151
- wp_register_style( 'syntaxhighlighter-theme-django', plugins_url( $this->shfolder . '/styles/shThemeDjango.css', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
152
- wp_register_style( 'syntaxhighlighter-theme-eclipse', plugins_url( $this->shfolder . '/styles/shThemeEclipse.css', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
153
- wp_register_style( 'syntaxhighlighter-theme-emacs', plugins_url( $this->shfolder . '/styles/shThemeEmacs.css', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
154
- wp_register_style( 'syntaxhighlighter-theme-fadetogrey', plugins_url( $this->shfolder . '/styles/shThemeFadeToGrey.css', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
155
- wp_register_style( 'syntaxhighlighter-theme-midnight', plugins_url( $this->shfolder . '/styles/shThemeMidnight.css', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
156
- wp_register_style( 'syntaxhighlighter-theme-rdark', plugins_url( $this->shfolder . '/styles/shThemeRDark.css', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
157
-
158
-
159
- // Create list of brush aliases and map them to their real brushes
160
- // The key is the language alias
161
- // The value is the script handle suffix: syntaxhighlighter-brush-ThisBitHere (your plugin needs to register the script itself)
162
- $this->brushes = (array) apply_filters( 'syntaxhighlighter_brushes', array(
163
- 'as3' => 'as3',
164
- 'actionscript3' => 'as3',
165
- 'bash' => 'bash',
166
- 'shell' => 'bash',
167
- 'coldfusion' => 'coldfusion',
168
- 'cf' => 'coldfusion',
169
- 'clojure' => 'clojure',
170
- 'clj' => 'clojure',
171
- 'cpp' => 'cpp',
172
- 'c' => 'cpp',
173
- 'c-sharp' => 'csharp',
174
- 'csharp' => 'csharp',
175
- 'css' => 'css',
176
- 'delphi' => 'delphi',
177
- 'pas' => 'delphi',
178
- 'pascal' => 'delphi',
179
- 'diff' => 'diff',
180
- 'patch' => 'diff',
181
- 'erl' => 'erlang',
182
- 'erlang' => 'erlang',
183
- 'fsharp' => 'fsharp',
184
- 'groovy' => 'groovy',
185
- 'java' => 'java',
186
- 'jfx' => 'javafx',
187
- 'javafx' => 'javafx',
188
- 'js' => 'jscript',
189
- 'jscript' => 'jscript',
190
- 'javascript' => 'jscript',
191
- 'latex' => 'latex', // Not used as a shortcode
192
- 'tex' => 'latex',
193
- 'matlab' => 'matlabkey',
194
- 'objc' => 'objc',
195
- 'obj-c' => 'objc',
196
- 'perl' => 'perl',
197
- 'pl' => 'perl',
198
- 'php' => 'php',
199
- 'plain' => 'plain',
200
- 'text' => 'plain',
201
- 'ps' => 'powershell',
202
- 'powershell' => 'powershell',
203
- 'py' => 'python',
204
- 'python' => 'python',
205
- 'r' => 'r', // Not used as a shortcode
206
- 'splus' => 'r',
207
- 'rails' => 'ruby',
208
- 'rb' => 'ruby',
209
- 'ror' => 'ruby',
210
- 'ruby' => 'ruby',
211
- 'scala' => 'scala',
212
- 'sql' => 'sql',
213
- 'vb' => 'vb',
214
- 'vbnet' => 'vb',
215
- 'xml' => 'xml',
216
- 'xhtml' => 'xml',
217
- 'xslt' => 'xml',
218
- 'html' => 'xml',
219
- ) );
220
-
221
-
222
- // Create a list of shortcodes to use. You can use the filter to add/remove ones.
223
- // If the language/lang parameter is left out, it's assumed the shortcode name is the language.
224
- // If that's invalid, then "plain" is used.
225
- $this->shortcodes = array( 'sourcecode', 'source', 'code' );
226
- $this->shortcodes = array_merge( $this->shortcodes, array_keys( $this->brushes ) );
227
-
228
- // Remove some shortcodes we don't want while still supporting them as language values
229
- unset( $this->shortcodes[array_search( 'latex', $this->shortcodes )] ); // Remove "latex" shortcode (it'll collide)
230
- unset( $this->shortcodes[array_search( 'r', $this->shortcodes )] ); // Remove "r" shortcode (too short)
231
-
232
- $this->shortcodes = (array) apply_filters( 'syntaxhighlighter_shortcodes', $this->shortcodes );
233
-
234
-
235
- // Register each shortcode with a placeholder callback so that strip_shortcodes() will work
236
- // The proper callback and such is done in SyntaxHighlighter::shortcode_hack()
237
- foreach ( $this->shortcodes as $shortcode )
238
- add_shortcode( $shortcode, '__return_empty_string' );
239
-
240
-
241
- // Create list of themes and their human readable names
242
- // Plugins can add to this list: http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-theme/
243
- $this->themes = (array) apply_filters( 'syntaxhighlighter_themes', array(
244
- 'default' => __( 'Default', 'syntaxhighlighter' ),
245
- 'django' => __( 'Django', 'syntaxhighlighter' ),
246
- 'eclipse' => __( 'Eclipse', 'syntaxhighlighter' ),
247
- 'emacs' => __( 'Emacs', 'syntaxhighlighter' ),
248
- 'fadetogrey' => __( 'Fade to Grey', 'syntaxhighlighter' ),
249
- 'midnight' => __( 'Midnight', 'syntaxhighlighter' ),
250
- 'rdark' => __( 'RDark', 'syntaxhighlighter' ),
251
- 'none' => __( '[None]', 'syntaxhighlighter' ),
252
- ) );
253
-
254
- // Other special characters that need to be encoded before going into the database (namely to work around kses)
255
- $this->specialchars = (array) apply_filters( 'syntaxhighlighter_specialchars', array(
256
- '\0' => '&#92;&#48;',
257
- ) );
258
- }
259
-
260
-
261
- // Register the settings page
262
- function register_settings_page() {
263
- add_options_page( __( 'SyntaxHighlighter Settings', 'syntaxhighlighter' ), __( 'SyntaxHighlighter', 'syntaxhighlighter' ), 'manage_options', 'syntaxhighlighter', array( $this, 'settings_page' ) );
264
- }
265
-
266
-
267
- // Register the plugin's setting
268
- function register_setting() {
269
- register_setting( 'syntaxhighlighter_settings', 'syntaxhighlighter_settings', array( $this, 'validate_settings' ) );
270
- }
271
-
272
-
273
- // Add the custom TinyMCE plugin which wraps plugin shortcodes in <pre> in TinyMCE
274
- function add_tinymce_plugin( $plugins ) {
275
- global $tinymce_version;
276
-
277
- add_action( 'admin_print_footer_scripts', array( $this, 'output_shortcodes_for_tinymce' ), 9 );
278
-
279
- if ( substr( $tinymce_version, 0, 1 ) < 4 ) {
280
- $plugins['syntaxhighlighter'] = plugins_url( 'syntaxhighlighter_mce.js', __FILE__ );
281
- } else {
282
- $plugins['syntaxhighlighter'] = add_query_arg( 'ver', $this->pluginver, plugins_url( 'syntaxhighlighter_mce-4.js', __FILE__ ) );
283
- wp_enqueue_script( 'syntaxhighlighter', plugins_url( 'syntaxhighlighter.js', __FILE__ ), array(), false, true );
284
- }
285
-
286
- return $plugins;
287
- }
288
-
289
-
290
- // Break the TinyMCE cache
291
- function break_tinymce_cache( $version ) {
292
- return $version . '-sh' . $this->pluginver;
293
- }
294
-
295
-
296
- // Add a "Settings" link to the plugins page
297
- function settings_link( $links, $file ) {
298
- static $this_plugin;
299
-
300
- if( empty($this_plugin) )
301
- $this_plugin = plugin_basename(__FILE__);
302
-
303
- if ( $file == $this_plugin )
304
- $links[] = '<a href="' . admin_url( 'options-general.php?page=syntaxhighlighter' ) . '">' . __( 'Settings', 'syntaxhighlighter' ) . '</a>';
305
-
306
- return $links;
307
- }
308
-
309
-
310
- // Output list of shortcode tags for the TinyMCE plugin
311
- function output_shortcodes_for_tinymce() {
312
- $shortcodes = array();
313
-
314
- foreach ( $this->shortcodes as $shortcode )
315
- $shortcodes[] = preg_quote( $shortcode );
316
-
317
- echo "<script type='text/javascript'>\n";
318
- echo " var syntaxHLcodes = '" . implode( '|', $shortcodes ) . "';\n";
319
- echo "</script>\n";
320
- }
321
-
322
-
323
- /**
324
- * Process only this plugin's shortcodes.
325
- *
326
- * If we waited for the normal do_shortcode() call at priority 11,
327
- * then wpautop() and maybe others would mangle all of the code.
328
- *
329
- * So instead we hook in earlier with this function and process
330
- * just this plugins's shortcodes. To do this requires some trickery.
331
- *
332
- * First we need to clear out all existing shortcodes, then register
333
- * just this plugin's ones, process them, and then restore the original
334
- * list of shortcodes.
335
- *
336
- * To make matters more complicated, if someone has done [[code]foo[/code]]
337
- * in order to display the shortcode (not render it), then do_shortcode()
338
- * will strip the outside brackets and when do_shortcode() runs a second
339
- * time later on, it will render it.
340
- *
341
- * So instead before do_shortcode() runs for the first time, we add
342
- * even more brackets escaped shortcodes in order to result in
343
- * the shortcodes actually being displayed instead rendered.
344
- *
345
- * We only need to do this for this plugin's shortcodes however
346
- * as all other shortcodes such as [[gallery]] will be untouched
347
- * by this pass of do_shortcode.
348
- *
349
- * Phew!
350
- *
351
- * @param string $content The post content.
352
- * @param string $callback The callback function that should be used for add_shortcode()
353
- * @param bool $ignore_html When true, shortcodes inside HTML elements will be skipped.
354
- *
355
- * @return string The filtered content, with this plugin's shortcodes parsed.
356
- */
357
- function shortcode_hack( $content, $callback, $ignore_html = true ) {
358
- global $shortcode_tags;
359
-
360
- // Regex is slow. Let's do some strpos() checks first.
361
- if ( ! $this->string_has_shortcodes( $content, $this->shortcodes ) ) {
362
- return $content;
363
- }
364
-
365
- // Backup current registered shortcodes and clear them all out
366
- $orig_shortcode_tags = $shortcode_tags;
367
- remove_all_shortcodes();
368
-
369
- // Register all of this plugin's shortcodes
370
- foreach ( $this->shortcodes as $shortcode ) {
371
- add_shortcode( $shortcode, $callback );
372
- }
373
-
374
- $regex = '/' . get_shortcode_regex( $this->shortcodes ) . '/';
375
-
376
- // Parse the shortcodes (only this plugins's are registered)
377
- if ( $ignore_html ) {
378
- // Extra escape escaped shortcodes because do_shortcode_tag() called by do_shortcode() is going to strip a pair of square brackets when it runs
379
- $content = preg_replace_callback(
380
- $regex,
381
- array( $this, 'shortcode_hack_extra_escape_escaped_shortcodes' ),
382
- $content
383
- );
384
-
385
- // Normal, safe parsing
386
- $content = do_shortcode( $content, true );
387
- } else {
388
- // Extra escape escaped shortcodes because do_shortcode_tag() called by do_shortcode() is going to strip a pair of square brackets when it runs.
389
- // Then call do_shortcode_tag(). This is basically do_shortcode() without calling do_shortcodes_in_html_tags() which breaks things.
390
- // For context, see https://wordpress.org/support/topic/php-opening-closing-tags-break-code-blocks
391
- $content = preg_replace_callback(
392
- $regex,
393
- array( $this, 'shortcode_hack_extra_escape_escaped_shortcodes_and_parse' ),
394
- $content
395
- );
396
- }
397
-
398
- // Put the original shortcodes back
399
- $shortcode_tags = $orig_shortcode_tags;
400
-
401
- return $content;
402
- }
403
-
404
-
405
- /**
406
- * A quick checker to see if any of this plugin's shortcodes are in use in a string.
407
- * Since all of the tags can't be self-closing, we look for the closing tag.
408
- *
409
- * @param string $string The string to look through. This is a post's contents usually.
410
- * @param array $shortcodes The array of shortcodes to look for.
411
- *
412
- * @return bool Whether any shortcode usage was found.
413
- */
414
- function string_has_shortcodes( $string, $shortcodes ) {
415
- foreach ( $shortcodes as $shortcode ) {
416
- if ( false !== strpos( $string, "[/{$shortcode}]" ) ) {
417
- return true;
418
- }
419
- }
420
-
421
- return false;
422
- }
423
-
424
-
425
- /**
426
- * Add extra square brackets around escaped shortcodes.
427
- * This is to counteract the beginning of the do_shortcode_tag() function.
428
- *
429
- * @param array $match The array of matches generated by get_shortcode_regex()
430
- *
431
- * @return string What should be placed into the post content. In this case it's the raw match, or an extra-wrapped raw match.
432
- */
433
- function shortcode_hack_extra_escape_escaped_shortcodes( $match ) {
434
- if ( $match[1] == '[' && $match[6] == ']' ) {
435
- return '[' . $match[0] . ']';
436
- }
437
-
438
- return $match[0];
439
- }
440
-
441
- /**
442
- * This is a combination of this class's shortcode_hack_extra_escape_escaped_shortcodes()
443
- * and do_shortcode_tag() for performance reasons so that we don't have to run some regex twice.
444
- *
445
- * @param array $match Regular expression match array.
446
- *
447
- * @return string|false False on failure, otherwise a parse shortcode tag.
448
- */
449
- function shortcode_hack_extra_escape_escaped_shortcodes_and_parse( $match ) {
450
- $match[0] = $this->shortcode_hack_extra_escape_escaped_shortcodes( $match );
451
-
452
- return do_shortcode_tag( $match );
453
- }
454
-
455
-
456
- // The main filter for the post contents. The regular shortcode filter can't be used as it's post-wpautop().
457
- function parse_shortcodes( $content ) {
458
- return $this->shortcode_hack( $content, array( $this, 'shortcode_callback' ) );
459
- }
460
-
461
-
462
- // HTML entity encode the contents of shortcodes
463
- function encode_shortcode_contents( $content ) {
464
- return $this->shortcode_hack( $content, array( $this, 'encode_shortcode_contents_callback' ), false );
465
- }
466
-
467
-
468
- // HTML entity encode the contents of shortcodes. Expects slashed content.
469
- function encode_shortcode_contents_slashed( $content ) {
470
- return addslashes( $this->encode_shortcode_contents( stripslashes( $content ) ) );
471
- }
472
-
473
-
474
- // HTML entity encode the contents of shortcodes. Expects slashed content. Aborts if AJAX.
475
- function encode_shortcode_contents_slashed_noquickedit( $content ) {
476
-
477
- // In certain weird circumstances, the content gets run through "content_save_pre" twice
478
- // Keep track and don't allow this filter to be run twice
479
- // I couldn't easily figure out why this happens and didn't bother looking into it further as this works fine
480
- if ( true == $this->content_save_pre_ran ) {
481
- return $content;
482
- }
483
- $this->content_save_pre_ran = true;
484
-
485
- // Post quick edits aren't decoded for display, so we don't need to encode them (again)
486
- // This also aborts for (un)trashing to avoid extra encoding.
487
- if ( empty( $_POST ) || ( ! empty( $_POST['action'] ) && 'inline-save' == $_POST['action'] ) ) {
488
- return $content;
489
- }
490
-
491
- return $this->encode_shortcode_contents_slashed( $content );
492
- }
493
-
494
-
495
- // HTML entity decode the contents of shortcodes
496
- function decode_shortcode_contents( $content ) {
497
- return $this->shortcode_hack( $content, array( $this, 'decode_shortcode_contents_callback' ), false );
498
- }
499
-
500
-
501
- // The callback function for SyntaxHighlighter::encode_shortcode_contents()
502
- function encode_shortcode_contents_callback( $atts, $code = '', $tag = false ) {
503
- $this->encoded = true;
504
- $code = str_replace( array_keys($this->specialchars), array_values($this->specialchars), htmlspecialchars( $code ) );
505
- return '[' . $tag . $this->atts2string( $atts ) . "]{$code}[/$tag]";
506
- }
507
-
508
-
509
- // The callback function for SyntaxHighlighter::decode_shortcode_contents()
510
- // Shortcode attribute values need to not be quoted with TinyMCE disabled for some reason (weird bug)
511
- function decode_shortcode_contents_callback( $atts, $code = '', $tag = false ) {
512
- $quotes = ( user_can_richedit() ) ? true : false;
513
- $code = str_replace( array_values($this->specialchars), array_keys($this->specialchars), htmlspecialchars_decode( $code ) );
514
- return '[' . $tag . $this->atts2string( $atts, $quotes ) . "]{$code}[/$tag]";
515
- }
516
-
517
-
518
- // Dynamically format the post content for the edit form
519
- function the_editor_content( $content ) {
520
- global $post;
521
-
522
- // New code format (stored encoded in database)
523
- if ( 2 == $this->get_code_format( $post ) ) {
524
- // If TinyMCE is disabled or the HTML tab is set to be displayed first, we need to decode the HTML
525
- if ( !user_can_richedit() || 'html' == wp_default_editor() )
526
- $content = $this->decode_shortcode_contents( $content );
527
- }
528
-
529
- // Old code format (stored raw in database)
530
- else {
531
- // If TinyMCE is enabled and is set to be displayed first, we need to encode the HTML
532
- if ( user_can_richedit() && 'html' != wp_default_editor() )
533
- $content = $this->encode_shortcode_contents( $content );
534
- }
535
-
536
- return $content;
537
- }
538
-
539
-
540
- // Run SyntaxHighlighter::encode_shortcode_contents() on the contents of the text widget
541
- function widget_text_save( $instance, $new_instance, $old_instance, $widgetclass ) {
542
- if ( 'text' == $widgetclass->id_base ) {
543
- // Re-save the widget settings but this time with the shortcode contents encoded
544
- $new_instance['text'] = $this->encode_shortcode_contents( $new_instance['text'] );
545
- $instance = $widgetclass->update( $new_instance, $old_instance );
546
-
547
- // And flag it as encoded
548
- $instance['syntaxhighlighter_encoded'] = true;
549
- }
550
-
551
- return $instance;
552
- }
553
-
554
-
555
- // Run SyntaxHighlighter::decode_shortcode_contents_callback() on the contents of the text widget form
556
- function widget_text_form( $instance, $widgetclass ) {
557
- if ( 'text' == $widgetclass->id_base && !empty($instance['syntaxhighlighter_encoded']) ) {
558
- $instance['text'] = $this->shortcode_hack( $instance['text'], array( $this, 'decode_shortcode_contents_callback' ) );
559
- }
560
-
561
- return $instance;
562
- }
563
-
564
-
565
- // Run SyntaxHighlighter::parse_shortcodes() on the contents of a text widget
566
- function widget_text_output( $content, $instance = false ) {
567
- $this->codeformat = ( false === $instance || empty($instance['syntaxhighlighter_encoded']) ) ? 1 : 2;
568
- $content = $this->parse_shortcodes( $content );
569
- $this->codeformat = false;
570
-
571
- return $content;
572
- }
573
-
574
-
575
- // Run SyntaxHighlighter::parse_shortcodes() on the contents of a comment
576
- function parse_shortcodes_comment( $content ) {
577
- $this->codeformat = 2;
578
- $content = $this->parse_shortcodes( $content );
579
- $this->codeformat = false;
580
-
581
- return $content;
582
- }
583
-
584
-
585
- // This function determines what version of SyntaxHighlighter was used when the post was written
586
- // This is because the code was stored differently for different versions of SyntaxHighlighter
587
- function get_code_format( $post ) {
588
- if ( false !== $this->codeformat )
589
- return $this->codeformat;
590
-
591
- if ( empty($post) )
592
- $post = new stdClass();
593
-
594
- if ( null !== $version = apply_filters( 'syntaxhighlighter_pre_getcodeformat', null, $post ) )
595
- return $version;
596
-
597
- $version = ( empty($post->ID) || get_post_meta( $post->ID, '_syntaxhighlighter_encoded', true ) || get_post_meta( $post->ID, 'syntaxhighlighter_encoded', true ) ) ? 2 : 1;
598
-
599
- return apply_filters( 'syntaxhighlighter_getcodeformat', $version, $post );
600
- }
601
-
602
-
603
- // Adds a post meta saying that HTML entities are encoded (for backwards compatibility)
604
- function mark_as_encoded( $post_ID, $post ) {
605
- if ( false == $this->encoded || 'revision' == $post->post_type )
606
- return;
607
-
608
- delete_post_meta( $post_ID, 'syntaxhighlighter_encoded' ); // Previously used
609
- add_post_meta( $post_ID, '_syntaxhighlighter_encoded', true, true );
610
- }
611
-
612
-
613
- // Transforms an attributes array into a 'key="value"' format (i.e. reverses the process)
614
- function atts2string( $atts, $quotes = true ) {
615
- if ( empty($atts) )
616
- return '';
617
-
618
- $atts = $this->attributefix( $atts );
619
-
620
- // Re-map [code="php"] style tags
621
- if ( isset($atts[0]) ) {
622
- if ( empty($atts['language']) )
623
- $atts['language'] = $atts[0];
624
-
625
- unset($atts[0]);
626
- }
627
-
628
- $strings = array();
629
- foreach ( $atts as $key => $value )
630
- $strings[] = ( $quotes ) ? $key . '="' . esc_attr( $value ) . '"' : $key . '=' . esc_attr( $value );
631
-
632
- return ' ' . implode( ' ', $strings );
633
- }
634
-
635
-
636
- // Simple function for escaping just single quotes (the original js_escape() escapes more than we need)
637
- function js_escape_singlequotes( $string ) {
638
- return str_replace( "'", "\'", $string );
639
- }
640
-
641
-
642
- // Output an anchor in the header for the Javascript to use.
643
- // In the <head>, we don't know if we'll need this plugin's CSS and JavaScript yet but we will in the footer.
644
- function output_header_placeholder() {
645
- echo '<style type="text/css" id="syntaxhighlighteranchor"></style>' . "\n";
646
- }
647
-
648
-
649
- // Output any needed scripts. This is meant for the footer.
650
- function maybe_output_scripts() {
651
- global $wp_styles;
652
-
653
- if ( 1 == $this->settings['loadallbrushes'] )
654
- $this->usedbrushes = array_flip( array_values( $this->brushes ) );
655
-
656
- if ( empty($this->usedbrushes) )
657
- return;
658
-
659
- $scripts = array();
660
- foreach ( $this->usedbrushes as $brush => $unused )
661
- $scripts[] = 'syntaxhighlighter-brush-' . strtolower( $brush );
662
-
663
- wp_print_scripts( $scripts );
664
-
665
- // Stylesheets can't be in the footer, so inject them via Javascript
666
- echo "<script type='text/javascript'>\n";
667
- echo " (function(){\n";
668
- echo " var corecss = document.createElement('link');\n";
669
- echo " var themecss = document.createElement('link');\n";
670
-
671
- if ( !is_a($wp_styles, 'WP_Styles') )
672
- $wp_styles = new WP_Styles();
673
-
674
- $needcore = false;
675
- if ( 'none' == $this->settings['theme'] ) {
676
- $needcore = true;
677
- } else {
678
- $theme = ( !empty($this->themes[$this->settings['theme']]) ) ? strtolower($this->settings['theme']) : $this->defaultsettings['theme'];
679
- $theme = 'syntaxhighlighter-theme-' . $theme;
680
-
681
- // See if the requested theme has been registered
682
- if ( !empty($wp_styles) && !empty($wp_styles->registered) && !empty($wp_styles->registered[$theme]) && !empty($wp_styles->registered[$theme]->src) ) {
683
-
684
- // Users can register their own stylesheet and may opt to not load the core stylesheet if they wish for some reason
685
- if ( is_array($wp_styles->registered[$theme]->deps) && in_array( 'syntaxhighlighter-core', $wp_styles->registered[$theme]->deps ) )
686
- $needcore = true;
687
- }
688
-
689
- // Otherwise use the default theme
690
- else {
691
- $theme = 'syntaxhighlighter-theme-' . $this->defaultsettings['theme'];
692
- $needcore = true;
693
- }
694
- }
695
-
696
- if ( $needcore && !empty($wp_styles) && !empty($wp_styles->registered) && !empty($wp_styles->registered['syntaxhighlighter-core']) && !empty($wp_styles->registered['syntaxhighlighter-core']->src) ) :
697
- $corecssurl = add_query_arg( 'ver', $this->agshver, $wp_styles->registered['syntaxhighlighter-core']->src );
698
- $corecssurl = apply_filters( 'syntaxhighlighter_csscoreurl', $corecssurl );
699
- ?>
700
- var corecssurl = "<?php echo esc_js( $corecssurl ); ?>";
701
- if ( corecss.setAttribute ) {
702
- corecss.setAttribute( "rel", "stylesheet" );
703
- corecss.setAttribute( "type", "text/css" );
704
- corecss.setAttribute( "href", corecssurl );
705
- } else {
706
- corecss.rel = "stylesheet";
707
- corecss.href = corecssurl;
708
- }
709
- document.getElementsByTagName("head")[0].insertBefore( corecss, document.getElementById("syntaxhighlighteranchor") );
710
- <?php
711
- endif; // Endif $needcore
712
-
713
- if ( 'none' != $this->settings['theme'] ) : ?>
714
- var themecssurl = "<?php echo esc_js( apply_filters( 'syntaxhighlighter_cssthemeurl', add_query_arg( 'ver', $this->agshver, $wp_styles->registered[$theme]->src ) ) ); ?>";
715
- if ( themecss.setAttribute ) {
716
- themecss.setAttribute( "rel", "stylesheet" );
717
- themecss.setAttribute( "type", "text/css" );
718
- themecss.setAttribute( "href", themecssurl );
719
- } else {
720
- themecss.rel = "stylesheet";
721
- themecss.href = themecssurl;
722
- }
723
- //document.getElementById("syntaxhighlighteranchor").appendChild(themecss);
724
- document.getElementsByTagName("head")[0].insertBefore( themecss, document.getElementById("syntaxhighlighteranchor") );
725
- <?php
726
- endif; // Endif none != theme
727
-
728
- echo " })();\n";
729
-
730
- switch ( $this->settings['shversion'] ) {
731
- case 2:
732
- echo " SyntaxHighlighter.config.clipboardSwf = '" . esc_js( apply_filters( 'syntaxhighlighter_clipboardurl', plugins_url( 'syntaxhighlighter2/scripts/clipboard.swf', __FILE__ ) ) ) . "';\n";
733
- echo " SyntaxHighlighter.config.strings.expandSource = '" . $this->js_escape_singlequotes( __( 'show source', 'syntaxhighlighter' ) ) . "';\n";
734
- echo " SyntaxHighlighter.config.strings.viewSource = '" . $this->js_escape_singlequotes( __( 'view source', 'syntaxhighlighter' ) ) . "';\n";
735
- echo " SyntaxHighlighter.config.strings.copyToClipboard = '" . $this->js_escape_singlequotes( __( 'copy to clipboard', 'syntaxhighlighter' ) ) . "';\n";
736
- echo " SyntaxHighlighter.config.strings.copyToClipboardConfirmation = '" . $this->js_escape_singlequotes( __( 'The code is in your clipboard now', 'syntaxhighlighter' ) ) . "';\n";
737
- echo " SyntaxHighlighter.config.strings.print = '" . $this->js_escape_singlequotes( __( 'print', 'syntaxhighlighter' ) ) . "';\n";
738
- echo " SyntaxHighlighter.config.strings.help = '" . $this->js_escape_singlequotes( __( '?', 'syntaxhighlighter' ) ) . "';\n";
739
- echo " SyntaxHighlighter.config.strings.alert = '" . $this->js_escape_singlequotes( __( 'SyntaxHighlighter\n\n', 'syntaxhighlighter' ) ) . "';\n";
740
- echo " SyntaxHighlighter.config.strings.noBrush = '" . $this->js_escape_singlequotes( __( "Can't find brush for: ", 'syntaxhighlighter' ) ) . "';\n";
741
- echo " SyntaxHighlighter.config.strings.brushNotHtmlScript = '" . $this->js_escape_singlequotes( __( "Brush wasn't configured for html-script option: ", 'syntaxhighlighter' ) ) . "';\n";
742
- break;
743
- case 3:
744
- echo " SyntaxHighlighter.config.strings.expandSource = '" . $this->js_escape_singlequotes( __( '+ expand source', 'syntaxhighlighter' ) ) . "';\n";
745
- echo " SyntaxHighlighter.config.strings.help = '" . $this->js_escape_singlequotes( __( '?', 'syntaxhighlighter' ) ) . "';\n";
746
- echo " SyntaxHighlighter.config.strings.alert = '" . $this->js_escape_singlequotes( __( 'SyntaxHighlighter\n\n', 'syntaxhighlighter' ) ) . "';\n";
747
- echo " SyntaxHighlighter.config.strings.noBrush = '" . $this->js_escape_singlequotes( __( "Can't find brush for: ", 'syntaxhighlighter' ) ) . "';\n";
748
- echo " SyntaxHighlighter.config.strings.brushNotHtmlScript = '" . $this->js_escape_singlequotes( __( "Brush wasn't configured for html-script option: ", 'syntaxhighlighter' ) ) . "';\n";
749
- break;
750
- }
751
-
752
- if ( 1 != $this->settings['autolinks'] )
753
- echo " SyntaxHighlighter.defaults['auto-links'] = false;\n";
754
-
755
- if ( !empty($this->settings['classname']) )
756
- echo " SyntaxHighlighter.defaults['class-name'] = '" . $this->js_escape_singlequotes( $this->settings['classname'] ) . "';\n";
757
-
758
- if ( 1 == $this->settings['collapse'] )
759
- echo " SyntaxHighlighter.defaults['collapse'] = true;\n";
760
-
761
- if ( 1 != $this->settings['firstline'] )
762
- echo " SyntaxHighlighter.defaults['first-line'] = " . $this->settings['firstline'] . ";\n";
763
-
764
- if ( 1 != $this->settings['gutter'] )
765
- echo " SyntaxHighlighter.defaults['gutter'] = false;\n";
766
-
767
- /*
768
- if ( 1 == $this->settings['htmlscript'] )
769
- echo " SyntaxHighlighter.defaults['html-script'] = true;\n";
770
- */
771
-
772
- if ( 1 == $this->settings['light'] )
773
- echo " SyntaxHighlighter.defaults['light'] = true;\n";
774
-
775
- echo " SyntaxHighlighter.defaults['pad-line-numbers'] = ";
776
- switch ( $this->settings['padlinenumbers'] ) {
777
- case 'true':
778
- echo 'true';
779
- break;
780
- case 'false';
781
- echo 'false';
782
- break;
783
- default;
784
- echo (int) $this->settings['padlinenumbers'];
785
- }
786
- echo ";\n";
787
-
788
- if ( 1 != $this->settings['smarttabs'] )
789
- echo " SyntaxHighlighter.defaults['smart-tabs'] = false;\n";
790
-
791
- if ( 4 != $this->settings['tabsize'] )
792
- echo " SyntaxHighlighter.defaults['tab-size'] = " . $this->settings['tabsize'] . ";\n";
793
-
794
- if ( 1 != $this->settings['toolbar'] )
795
- echo " SyntaxHighlighter.defaults['toolbar'] = false;\n";
796
-
797
- // 2.x only for now
798
- if ( 1 != $this->settings['wraplines'] )
799
- echo " SyntaxHighlighter.defaults['wrap-lines'] = false;\n";
800
-
801
- ?> SyntaxHighlighter.all();
802
- </script>
803
- <?php
804
- }
805
-
806
-
807
- // No-name attribute fixing
808
- function attributefix( $atts = array() ) {
809
- if ( empty($atts[0]) )
810
- return $atts;
811
-
812
- // Quoted value
813
- if ( 0 !== preg_match( '#=("|\')(.*?)\1#', $atts[0], $match ) )
814
- $atts[0] = $match[2];
815
-
816
- // Unquoted value
817
- elseif ( '=' == substr( $atts[0], 0, 1 ) )
818
- $atts[0] = substr( $atts[0], 1 );
819
-
820
- return $atts;
821
- }
822
-
823
-
824
- // Shortcode handler for transforming the shortcodes to their final <pre>'s
825
- function shortcode_callback( $atts, $code = '', $tag = false ) {
826
- global $post;
827
-
828
- if ( false === $tag || empty($code) )
829
- return $code;
830
-
831
- // Avoid PHP notices
832
- if ( !isset($post) )
833
- $post = null;
834
-
835
- $code = apply_filters( 'syntaxhighlighter_precode', $code, $atts, $tag );
836
-
837
- // Error fixing for [tag="language"]
838
- if ( isset($atts[0]) ) {
839
- $atts = $this->attributefix( $atts );
840
- $atts['language'] = $atts[0];
841
- unset($atts[0]);
842
- }
843
-
844
- // Default out all of the available parameters to "false" (easy way to check if they're set or not)
845
- // Note this isn't the same as if the user passes the string "false" to the shortcode
846
- $atts = (array) apply_filters( 'syntaxhighlighter_shortcodeatts', shortcode_atts( array(
847
- 'language' => false,
848
- 'lang' => false,
849
- 'type' => false, // language alias
850
- 'autolinks' => false,
851
- 'classname' => false,
852
- 'collapse' => false,
853
- 'firstline' => false,
854
- 'fontsize' => false,
855
- 'gutter' => false,
856
- 'highlight' => false,
857
- 'htmlscript' => false,
858
- 'light' => false,
859
- 'padlinenumbers' => false,
860
- 'smarttabs' => false,
861
- 'tabsize' => false,
862
- 'title' => $this->settings['title'],
863
- 'toolbar' => false,
864
- 'wraplines' => false,
865
- ), $atts ) );
866
-
867
- // Check for language shortcode tag such as [php]code[/php]
868
- if ( isset($this->brushes[$tag]) ) {
869
- $lang = $tag;
870
- }
871
-
872
- // If a valid tag is not used, it must be sourcecode/source/code
873
- else {
874
- $atts = $this->attributefix( $atts );
875
-
876
- // Check for the "language" attribute
877
- if ( false !== $atts['language'] )
878
- $lang = $atts['language'];
879
-
880
- // Check for the "lang" attribute
881
- elseif ( false !== $atts['lang'] )
882
- $lang = $atts['lang'];
883
-
884
- // Default to plain text
885
- else
886
- $lang = 'text';
887
-
888
- // All language aliases are lowercase
889
- $lang = strtolower( $lang );
890
-
891
- // Validate passed attribute
892
- if ( !isset($this->brushes[$lang]) )
893
- return $code;
894
- }
895
-
896
- // Switch from the alias to the real brush name (so custom aliases can be used)
897
- $lang = $this->brushes[$lang];
898
-
899
- // Register this brush as used so it's script will be outputted
900
- $this->usedbrushes[$lang] = true;
901
-
902
- $params = array();
903
- $params[] = "brush: $lang;";
904
-
905
- // Fix bug that prevents collapse from working if the toolbar is off or light mode is on
906
- if ( 'true' == $atts['collapse'] || '1' === $atts['collapse'] || 1 == $this->settings['collapse'] ) {
907
- $atts['toolbar'] = 'true';
908
- $atts['light'] = 'false';
909
- }
910
-
911
- // Parameter renaming (the shortcode API doesn't like parameter names with dashes)
912
- $rename_map = array(
913
- 'autolinks' => 'auto-links',
914
- 'classname' => 'class-name',
915
- 'firstline' => 'first-line',
916
- 'fontsize' => 'font-size',
917
- 'htmlscript' => 'html-script',
918
- 'padlinenumbers' => 'pad-line-numbers',
919
- 'smarttabs' => 'smart-tabs',
920
- 'tabsize' => 'tab-size',
921
- 'wraplines' => 'wrap-lines',
922
- );
923
-
924
- // Allowed configuration parameters and their type
925
- // Use the proper names (see above)
926
- $allowed_atts = (array) apply_filters( 'syntaxhighlighter_allowedatts', array(
927
- 'auto-links' => 'boolean',
928
- 'class-name' => 'other',
929
- 'collapse' => 'boolean',
930
- 'first-line' => 'integer',
931
- 'font-size' => 'integer',
932
- 'gutter' => 'boolean',
933
- 'highlight' => 'other',
934
- 'html-script' => 'boolean',
935
- 'light' => 'boolean',
936
- 'pad-line-numbers' => 'other',
937
- 'smart-tabs' => 'boolean',
938
- 'tab-size' => 'integer',
939
- 'title' => 'other',
940
- 'toolbar' => 'boolean',
941
- 'wrap-lines' => 'boolean',
942
- ) );
943
-
944
- $title = '';
945
-
946
- // Sanitize configuration parameters and such
947
- foreach ( $atts as $key => $value ) {
948
- $key = strtolower( $key );
949
-
950
- // Put back parameter names that have been renamed for shortcode use
951
- if ( !empty($rename_map[$key]) )
952
- $key = $rename_map[$key];
953
-
954
- // This this parameter if it's unknown, not set, or the language which was already handled
955
- if ( empty($allowed_atts[$key]) || false === $value || in_array( $key, array( 'language', 'lang' ) ) )
956
- continue;
957
-
958
- // Sanitize values
959
- switch ( $allowed_atts[$key] ) {
960
- case 'boolean':
961
- $value = strtolower( $value );
962
- if ( 'true' === $value || '1' === $value || 'on' == $value )
963
- $value = 'true';
964
- elseif ( 'false' === $value || '0' === $value || 'off' == $value )
965
- $value = 'false';
966
- else
967
- continue 2; // Invalid value, ditch parameter
968
- break;
969
-
970
- // integer
971
- case 'integer':
972
- $value = (int) $value;
973
- break;
974
- }
975
-
976
- // Sanitize the "classname" parameter
977
- if ( 'class-name' == $key )
978
- $value = trim( preg_replace( '/[^a-zA-Z0-9 _-]/i', '', $value ) );
979
-
980
- // Special sanitization for "pad-line-numbers"
981
- if ( 'pad-line-numbers' == $key ) {
982
- $value = strtolower( $value );
983
- if ( 'true' === $value || '1' === $value )
984
- $value = 'true';
985
- elseif ( 'false' === $value || '0' === $value )
986
- $value = 'false';
987
- else
988
- $value = (int) $value;
989
- }
990
-
991
- // Add % sign to "font-size"
992
- if ( 'font-size' == $key )
993
- $value = $value . '%';
994
-
995
- // If "html-script", then include the XML brush as it's needed
996
- if ( 'html-script' == $key && 'true' == $value )
997
- $this->usedbrushes['xml'] = true;
998
-
999
- // Sanitize row highlights
1000
- if ( 'highlight' == $key ) {
1001
- if ( false === strpos( $value, ',' ) && false === strpos( $value, '-' ) ) {
1002
- $value = (int) $value;
1003
- } else {
1004
- $lines = explode( ',', $value );
1005
- $highlights = array();
1006
-
1007
- foreach ( $lines as $line ) {
1008
- // Line range
1009
- if ( false !== strpos( $line, '-' ) ) {
1010
- list( $range_start, $range_end ) = array_map( 'intval', explode( '-', $line ) );
1011
- if ( ! $range_start || ! $range_end || $range_end <= $range_start )
1012
- continue;
1013
-
1014
- for ( $i = $range_start; $i <= $range_end; $i++ )
1015
- $highlights[] = $i;
1016
- } else {
1017
- $highlights[] = (int) $line;
1018
- }
1019
- }
1020
-
1021
- natsort( $highlights );
1022
-
1023
- $value = implode( ',', $highlights );
1024
- }
1025
-
1026
- if ( empty( $value ) )
1027
- continue;
1028
-
1029
- // Wrap highlight in [ ]
1030
- $params[] = "$key: [$value];";
1031
- continue;
1032
- }
1033
-
1034
- // Don't allow HTML in the title parameter
1035
- if ( 'title' == $key ) {
1036
- $value = strip_tags( html_entity_decode( strip_tags( $value ) ) );
1037
- }
1038
-
1039
- $params[] = "$key: $value;";
1040
-
1041
- // Set the title variable if the title parameter is set (but not for feeds)
1042
- if ( 'title' == $key && ! is_feed() )
1043
- $title = ' title="' . esc_attr( $value ) . '"';
1044
- }
1045
-
1046
- $code = ( false === strpos( $code, '<' ) && false === strpos( $code, '>' ) && 2 == $this->get_code_format($post) ) ? strip_tags( $code ) : htmlspecialchars( $code );
1047
-
1048
- $params[] = 'notranslate'; // For Google, see http://otto42.com/9k
1049
-
1050
- $params = apply_filters( 'syntaxhighlighter_cssclasses', $params ); // Use this to add additional CSS classes / SH parameters
1051
-
1052
- return apply_filters( 'syntaxhighlighter_htmlresult', '<pre class="' . esc_attr( implode( ' ', $params ) ) . '"' . $title . '>' . $code . '</pre>' );;
1053
- }
1054
-
1055
-
1056
- // Settings page
1057
- function settings_page() { ?>
1058
-
1059
- <script type="text/javascript">
1060
- // <![CDATA[
1061
- jQuery(document).ready(function($) {
1062
- // Confirm pressing of the "Reset to Defaults" button
1063
- $("#syntaxhighlighter-defaults").click(function(){
1064
- var areyousure = confirm("<?php echo esc_js( __( 'Are you sure you want to reset your settings to the defaults?', 'syntaxhighlighter' ) ); ?>");
1065
- if ( true != areyousure ) return false;
1066
- });
1067
- <?php if ( !empty( $_GET['defaults'] ) ) : ?>
1068
- $("#message p strong").text("<?php echo esc_js( __( 'Settings reset to defaults.', 'syntaxhighlighter' ) ); ?>");
1069
- <?php endif; ?>
1070
- });
1071
- // ]]>
1072
- </script>
1073
-
1074
- <div class="wrap">
1075
- <?php if ( function_exists('screen_icon') ) screen_icon(); ?>
1076
- <h2><?php _e( 'SyntaxHighlighter Settings', 'syntaxhighlighter' ); ?></h2>
1077
-
1078
- <form method="post" action="options.php">
1079
-
1080
- <?php settings_fields('syntaxhighlighter_settings'); ?>
1081
-
1082
-
1083
- <table class="form-table">
1084
- <tr valign="top">
1085
- <th scope="row"><label for="syntaxhighlighter-shversion"><?php _e( 'Highlighter Version', 'syntaxhighlighter' ); ?></label></th>
1086
- <td>
1087
- <select name="syntaxhighlighter_settings[shversion]" id="syntaxhighlighter-shversion" class="postform">
1088
- <?php
1089
- $versions = array(
1090
- 3 => __( 'Version 3.x', 'syntaxhighlighter' ),
1091
- 2 => __( 'Version 2.x', 'syntaxhighlighter' ),
1092
- );
1093
-
1094
- foreach ( $versions as $version => $name ) {
1095
- echo ' <option value="' . esc_attr( $version ) . '"' . selected( $this->settings['shversion'], $version, false ) . '>' . esc_html( $name ) . "&nbsp;</option>\n";
1096
- }
1097
- ?>
1098
- </select><br />
1099
- <?php _e( 'Version 3 allows visitors to easily highlight portions of your code with their mouse (either by dragging or double-clicking) and copy it to their clipboard. No toolbar containing a Flash-based button is required.', 'syntaxhighlighter' ); ?><br />
1100
- <?php _e( 'Version 2 allows for line wrapping, something that version 3 does not do at this time.', 'syntaxhighlighter' ); ?>
1101
- </td>
1102
- </tr>
1103
- <tr valign="top">
1104
- <th scope="row"><label for="syntaxhighlighter-theme"><?php _e( 'Color Theme', 'syntaxhighlighter' ); ?></label></th>
1105
- <td>
1106
- <select name="syntaxhighlighter_settings[theme]" id="syntaxhighlighter-theme" class="postform">
1107
- <?php
1108
- foreach ( $this->themes as $theme => $name ) {
1109
- echo ' <option value="' . esc_attr( $theme ) . '"' . selected( $this->settings['theme'], $theme, false ) . '>' . esc_html( $name ) . "&nbsp;</option>\n";
1110
- }
1111
- ?>
1112
- </select>
1113
- </td>
1114
- </tr>
1115
- <tr valign="top">
1116
- <th scope="row"><?php _e( 'Load All Brushes', 'syntaxhighlighter' ); ?></th>
1117
- <td>
1118
- <fieldset>
1119
- <legend class="hidden"><?php _e( 'Load All Brushes', 'syntaxhighlighter' ); ?></legend>
1120
- <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>&lt;pre&gt;</code> tags rather than shortcodes)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If left unchecked (default), then language files will only be loaded when needed<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If unsure, leave this box unchecked', 'syntaxhighlighter' ); ?></label>
1121
- </fieldset>
1122
- </td>
1123
- </tr>
1124
- </table>
1125
-
1126
- <h3><?php _e( 'Defaults', 'syntaxhighlighter' ); ?></h3>
1127
-
1128
- <p><?php _e( 'All of the settings below can be configured on a per-code block basis, but you can control the defaults of all code blocks here.', 'syntaxhighlighter' ); ?></p>
1129
-
1130
- <table class="form-table">
1131
- <tr valign="top">
1132
- <th scope="row"><?php _e( 'Miscellaneous', 'syntaxhighlighter' ); ?></th>
1133
- <td>
1134
- <fieldset>
1135
- <legend class="hidden"><?php _e( 'Miscellaneous', 'syntaxhighlighter' ); ?></legend>
1136
-
1137
- <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 />
1138
- <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 />
1139
- <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 />
1140
- <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 />
1141
- <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 />
1142
- <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 />
1143
- <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 (v2.x only, disabling this will make a scrollbar show instead)', 'syntaxhighlighter' ); ?></label><br />
1144
- <!--<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 &quot;HTML script&quot; 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>-->
1145
- </fieldset>
1146
- </td>
1147
- </tr>
1148
- <tr valign="top">
1149
- <th scope="row"><label for="syntaxhighlighter-classname"><?php _e( 'Additional CSS Class(es)', 'syntaxhighlighter' ); ?></label></th>
1150
- <td><input name="syntaxhighlighter_settings[classname]" type="text" id="syntaxhighlighter-classname" value="<?php echo esc_attr( $this->settings['classname'] ); ?>" class="regular-text" /></td>
1151
- </tr>
1152
- <tr valign="top">
1153
- <th scope="row"><label for="syntaxhighlighter-firstline"><?php _e( 'Starting Line Number', 'syntaxhighlighter' ); ?></label></th>
1154
- <td><input name="syntaxhighlighter_settings[firstline]" type="text" id="syntaxhighlighter-firstline" value="<?php echo esc_attr( $this->settings['firstline'] ); ?>" class="small-text" /></td>
1155
- </tr>
1156
- <tr valign="top">
1157
- <th scope="row"><label for="syntaxhighlighter-padlinenumbers"><?php _e( 'Line Number Padding', 'syntaxhighlighter' ); ?></label></th>
1158
- <td>
1159
- <select name="syntaxhighlighter_settings[padlinenumbers]" id="syntaxhighlighter-padlinenumbers" class="postform">
1160
- <?php
1161
- $linepaddings = array(
1162
- 'false' => __( 'Off', 'syntaxhighlighter' ),
1163
- 'true' => __( 'Automatic', 'syntaxhighlighter' ),
1164
- 1 => 1,
1165
- 2 => 2,
1166
- 3 => 3,
1167
- 4 => 4,
1168
- 5 => 5,
1169
- );
1170
-
1171
- foreach ( $linepaddings as $value => $name ) {
1172
- echo ' <option value="' . esc_attr( $value ) . '"' . selected( $this->settings['padlinenumbers'], $value, false ) . '>' . esc_html( $name ) . "&nbsp;</option>\n";
1173
- }
1174
- ?>
1175
- </select>
1176
- </td>
1177
- </tr>
1178
- <tr valign="top">
1179
- <th scope="row"><label for="syntaxhighlighter-tabsize"><?php _e( 'Tab Size', 'syntaxhighlighter' ); ?></label></th>
1180
- <td><input name="syntaxhighlighter_settings[tabsize]" type="text" id="syntaxhighlighter-tabsize" value="<?php echo esc_attr( $this->settings['tabsize'] ); ?>" class="small-text" /></td>
1181
- </tr>
1182
- <tr valign="top">
1183
- <th scope="row"><label for="syntaxhighlighter-title"><?php _e( 'Title', 'syntaxhighlighter' ); ?></label></th>
1184
- <td>
1185
- <input name="syntaxhighlighter_settings[title]" type="text" id="syntaxhighlighter-title" value="<?php echo esc_attr( $this->settings['title'] ); ?>" class="regular-text" /><br />
1186
- <?php _e( 'Some optional default text to display above each code block or as the clickable text for collapsed code blocks.', 'syntaxhighlighter' ); ?>
1187
- </td>
1188
- </tr>
1189
- </table>
1190
-
1191
- <p class="submit">
1192
- <?php
1193
- if ( function_exists( 'submit_button' ) ) {
1194
- submit_button( null, 'primary', 'syntaxhighlighter-submit', false );
1195
- echo ' ';
1196
- submit_button( __( 'Reset to Defaults', 'syntaxhighlighter' ), 'primary', 'syntaxhighlighter-defaults', false );
1197
- } else {
1198
- echo '<input type="submit" name="syntaxhighlighter-submit" class="button-primary" value="' . __( 'Save Changes') . '" />' . "\n";
1199
- echo '<input type="submit" name="syntaxhighlighter-defaults" id="syntaxhighlighter-defaults" class="button-primary" value="' . __( 'Reset to Defaults', 'syntaxhighlighter' ) . '" />' . "\n";
1200
- }
1201
- ?>
1202
- </p>
1203
-
1204
- </form>
1205
-
1206
- <h3><?php _e( 'Preview', 'syntaxhighlighter' ); ?></h3>
1207
-
1208
- <p><?php _e( 'Click &quot;Save Changes&quot; to update this preview.', 'syntaxhighlighter' ); ?>
1209
-
1210
- <?php
1211
-
1212
- echo '<div';
1213
- if ( ! empty( $GLOBALS['content_width'] ) )
1214
- echo ' style="max-width:' . intval( $GLOBALS['content_width'] ) . 'px"';
1215
- echo '>';
1216
-
1217
- $title = ( empty( $this->settings['title'] ) && 1 != $this->settings['collapse'] ) ? ' title="Code example: (this example was added using the title parameter)"' : '';
1218
-
1219
- // Site owners may opt to disable the short tags, i.e. [php]
1220
- $democode = apply_filters( 'syntaxhighlighter_democode', '[sourcecode language="php" htmlscript="true" highlight="12"' . $title . ']<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1221
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1222
- <head>
1223
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
1224
- <title>PHP Code Example</title>
1225
- </head>
1226
- <body>
1227
- <h1>' . __( 'PHP Code Example', 'syntaxhighlighter' ) . '</h1>
1228
-
1229
- <p><?php echo \'' . __( 'Hello World!', 'syntaxhighlighter' ) . '\'; ?></p>
1230
-
1231
- <p>' . __( 'This line is highlighted.', 'syntaxhighlighter' ) . '</p>
1232
-
1233
- <div class="foobar">
1234
- ' . __( ' This is an
1235
- example of smart
1236
- tabs.', 'syntaxhighlighter' ) . '
1237
- </div>
1238
-
1239
- <p><a href="http://wordpress.org/">' . __( 'WordPress' ) . '</a></p>
1240
- </body>
1241
- </html>[/sourcecode]' );
1242
-
1243
- $this->codeformat = 1;
1244
- echo $this->parse_shortcodes( $democode );
1245
- $this->codeformat = false;
1246
-
1247
- echo '</div>';
1248
- ?>
1249
-
1250
- <h3 style="margin-top:30px"><?php _e( 'Shortcode Parameters', 'syntaxhighlighter' ); ?></h3>
1251
-
1252
- <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>
1253
-
1254
- <ul class="ul-disc">
1255
- <li><?php printf( _x( '%1$s or %2$s &#8212; 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 &quot;aliases&quot;).', 'language parameter', 'syntaxhighlighter' ), '<code>lang</code>', '<code>language</code>', 'http://alexgorbatchev.com/wiki/SyntaxHighlighter:Brushes' ); ?></li>
1256
- <li><?php printf( _x( '%s &#8212; Toggle automatic URL linking.', 'autolinks parameter', 'syntaxhighlighter' ), '<code>autolinks</code>' ); ?></li>
1257
- <li><?php printf( _x( '%s &#8212; Add an additional CSS class to the code box.', 'classname parameter', 'syntaxhighlighter' ), '<code>classname</code>' ); ?></li>
1258
- <li><?php printf( _x( '%s &#8212; Toggle collapsing the code box by default, requiring a click to expand it. Good for large code posts.', 'collapse parameter', 'syntaxhighlighter' ), '<code>collapse</code>' ); ?></li>
1259
- <li><?php printf( _x( '%s &#8212; An interger specifying what number the first line should be (for the line numbering).', 'firstline parameter', 'syntaxhighlighter' ), '<code>firstline</code>' ); ?></li>
1260
- <li><?php printf( _x( '%s &#8212; Toggle the left-side line numbering.', 'gutter parameter', 'syntaxhighlighter' ), '<code>gutter</code>' ); ?></li>
1261
- <li><?php printf( _x( '%1$s &#8212; A comma-separated list of line numbers to highlight. You can also specify a range. Example: %2$s', 'highlight parameter', 'syntaxhighlighter' ), '<code>highlight</code>', '<code>2,5-10,12</code>' ); ?></li>
1262
- <li><?php printf( _x( "%s &#8212; 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.", 'htmlscript parameter', 'syntaxhighlighter' ), '<code>htmlscript</code>' ); ?></li>
1263
- <li><?php printf( _x( '%s &#8212; Toggle light mode which disables the gutter and toolbar all at once.', 'light parameter', 'syntaxhighlighter' ), '<code>light</code>' ); ?></li>
1264
- <li><?php printf( _x( '%s &#8212; Controls line number padding. Valid values are <code>false</code> (no padding), <code>true</code> (automatic padding), or an integer (forced padding).', 'padlinenumbers parameter', 'syntaxhighlighter' ), '<code>padlinenumbers</code>' ); ?></li>
1265
- <li><?php printf( _x( '%1$s (v3 only) &#8212; Sets some text to show up before the code. Very useful when combined with the %2$s parameter.', 'title parameter', 'syntaxhighlighter' ), '<code>title</code>', '<code>collapse</code>' ); ?></li>
1266
- <li><?php printf( _x( '%s &#8212; Toggle the toolbar (buttons in v2, the about question mark in v3)', 'toolbar parameter', 'syntaxhighlighter' ), '<code>toolbar</code>' ); ?></li>
1267
- <li><?php printf( _x( '%s (v2 only) &#8212; Toggle line wrapping.', 'wraplines parameter', 'syntaxhighlighter'), '<code>wraplines</code>' ); ?></li>
1268
- </ul>
1269
-
1270
- <p><?php _e( 'Some example shortcodes:', 'syntaxhighlighter' ); ?></p>
1271
-
1272
- <ul class="ul-disc">
1273
- <li><code>[php]<?php _e( 'your code here', 'syntaxhighlighter' ); ?>[/php]</code></li>
1274
- <li><code>[css autolinks=&quot;false&quot; classname=&quot;myclass&quot; collapse=&quot;false&quot; firstline=&quot;1&quot; gutter=&quot;true&quot; highlight=&quot;1-3,6,9&quot; htmlscript=&quot;false&quot; light=&quot;false&quot; padlinenumbers=&quot;false&quot; smarttabs=&quot;true&quot; tabsize=&quot;4&quot; toolbar=&quot;true&quot; title=&quot;<?php _e( 'example-filename.php', 'syntaxhighlighter' ); ?>&quot;]<?php _e( 'your code here', 'syntaxhighlighter' ); ?>[/css]</code></li>
1275
- <li><code>[code lang=&quot;js&quot;]<?php _e( 'your code here', 'syntaxhighlighter' ); ?>[/code]</code></li>
1276
- <li><code>[sourcecode language=&quot;plain&quot;]<?php _e( 'your code here', 'syntaxhighlighter' ); ?>[/sourcecode]</code></li>
1277
- </ul>
1278
-
1279
- <?php $this->maybe_output_scripts(); ?>
1280
-
1281
- </div>
1282
-
1283
- <?php
1284
- }
1285
-
1286
-
1287
- // Validate the settings sent from the settings page
1288
- function validate_settings( $settings ) {
1289
- if ( !empty($_POST['syntaxhighlighter-defaults']) ) {
1290
- $settings = $this->defaultsettings;
1291
- $_REQUEST['_wp_http_referer'] = add_query_arg( 'defaults', 'true', $_REQUEST['_wp_http_referer'] );
1292
- } else {
1293
- $settings['shversion'] = ( ! empty($settings['shversion']) && 2 == $settings['shversion'] ) ? 2 : 3;
1294
-
1295
- $settings['theme'] = ( ! empty($settings['theme']) && isset($this->themes[$settings['theme']]) ) ? strtolower($settings['theme']) : $this->defaultsettings['theme'];
1296
-
1297
- $settings['loadallbrushes'] = ( ! empty($settings['loadallbrushes']) ) ? 1 : 0;
1298
- $settings['autolinks'] = ( ! empty($settings['autolinks']) ) ? 1 : 0;
1299
- $settings['collapse'] = ( ! empty($settings['collapse']) ) ? 1 : 0;
1300
- $settings['gutter'] = ( ! empty($settings['gutter']) ) ? 1 : 0;
1301
- $settings['light'] = ( ! empty($settings['light']) ) ? 1 : 0;
1302
- $settings['smarttabs'] = ( ! empty($settings['smarttabs']) ) ? 1 : 0;
1303
- $settings['toolbar'] = ( ! empty($settings['toolbar']) ) ? 1 : 0; // May be overridden below
1304
- $settings['wraplines'] = ( ! empty($settings['wraplines']) ) ? 1 : 0; // 2.x only for now
1305
-
1306
- // If the version changed, then force change the toolbar version setting
1307
- if ( $settings['shversion'] != $this->settings['shversion'] ) {
1308
- $settings['toolbar'] = ( 2 == $settings['shversion'] ) ? 1 : 0;
1309
- }
1310
-
1311
- if ( 'true' != $settings['padlinenumbers'] && 'false' != $settings['padlinenumbers'] )
1312
- $settings['padlinenumbers'] = (int) $settings['padlinenumbers'];
1313
-
1314
- $settings['classname'] = ( !empty($settings['classname']) ) ? preg_replace( '/[^ A-Za-z0-9_-]*/', '', $settings['classname'] ) : '';
1315
- $settings['firstline'] = (int) ( ( !empty($settings['firstline']) ) ? $settings['firstline'] : $this->defaultsettings['firstline'] );
1316
- $settings['tabsize'] = (int) ( ( !empty($settings['tabsize']) ) ? $settings['tabsize'] : $this->defaultsettings['tabsize'] );
1317
- }
1318
-
1319
- return $settings;
1320
- }
1321
- }
1322
-
1323
-
1324
- // Start this plugin once all other plugins are fully loaded
1325
- add_action( 'init', 'SyntaxHighlighter', 5 );
1326
- function SyntaxHighlighter() {
1327
- global $SyntaxHighlighter;
1328
- $SyntaxHighlighter = new SyntaxHighlighter();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1329
  }
1
+ <?php /*
2
+
3
+ **************************************************************************
4
+
5
+ Plugin Name: SyntaxHighlighter Evolved
6
+ Plugin URI: http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/
7
+ Version: 3.3.2
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>. <strong>TIP:</strong> Don't use the Visual editor if you don't want your code mangled. TinyMCE will "clean up" your HTML.
9
+ Author: Alex Mills (Viper007Bond)
10
+ Author URI: http://www.viper007bond.com/
11
+
12
+ **************************************************************************
13
+
14
+ Thanks to:
15
+
16
+ * Alex Gorbatchev for writing the Javascript-powered syntax highlighter script
17
+
18
+ * Andrew Ozz for writing the TinyMCE plugin
19
+
20
+ **************************************************************************/
21
+
22
+ class SyntaxHighlighter {
23
+ // All of these variables are private. Filters are provided for things that can be modified.
24
+ var $pluginver = '3.3.2'; // Plugin version
25
+ var $agshver = false; // Alex Gorbatchev's SyntaxHighlighter version (dynamically set below due to v2 vs v3)
26
+ var $shfolder = false; // Controls what subfolder to load SyntaxHighlighter from (v2 or v3)
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( 'do_shortcodes_in_html_tags' ) )
40
+ return;
41
+
42
+ // Load localization domain
43
+ load_plugin_textdomain( 'syntaxhighlighter', false, '/syntaxhighlighter/localization' );
44
+
45
+ // Display hooks
46
+ add_filter( 'the_content', array( $this, 'parse_shortcodes' ), 7 ); // Posts
47
+ add_filter( 'comment_text', array( $this, 'parse_shortcodes_comment' ), 7 ); // Comments
48
+ add_filter( 'bp_get_the_topic_post_content', array( $this, 'parse_shortcodes' ), 7 ); // BuddyPress
49
+
50
+ // Into the database
51
+ add_filter( 'content_save_pre', array( $this, 'encode_shortcode_contents_slashed_noquickedit' ), 1 ); // Posts
52
+ add_filter( 'pre_comment_content', array( $this, 'encode_shortcode_contents_slashed' ), 1 ); // Comments
53
+ add_filter( 'group_forum_post_text_before_save', array( $this, 'encode_shortcode_contents_slashed' ), 1 ); // BuddyPress
54
+ add_filter( 'group_forum_topic_text_before_save', array( $this, 'encode_shortcode_contents_slashed' ), 1 ); // BuddyPress
55
+
56
+ // Out of the database for editing
57
+ add_filter( 'the_editor_content', array( $this, 'the_editor_content' ), 1 ); // Posts
58
+ add_filter( 'comment_edit_pre', array( $this, 'decode_shortcode_contents' ), 1 ); // Comments
59
+ add_filter( 'bp_get_the_topic_text', array( $this, 'decode_shortcode_contents' ), 1 ); // BuddyPress
60
+ add_filter( 'bp_get_the_topic_post_edit_text', array( $this, 'decode_shortcode_contents' ), 1 ); // BuddyPress
61
+
62
+ // Outputting SyntaxHighlighter's JS and CSS
63
+ add_action( 'wp_head', array( $this, 'output_header_placeholder' ), 15 );
64
+ add_action( 'admin_head', array( $this, 'output_header_placeholder' ), 15 ); // For comments
65
+ add_action( 'wp_footer', array( $this, 'maybe_output_scripts' ), 15 );
66
+ add_action( 'admin_footer', array( $this, 'maybe_output_scripts' ), 15 ); // For comments
67
+
68
+ // Admin hooks
69
+ add_action( 'admin_init', array( $this, 'register_setting' ) );
70
+ add_action( 'admin_menu', array( $this, 'register_settings_page' ) );
71
+ add_filter( 'mce_external_plugins', array( $this, 'add_tinymce_plugin' ) );
72
+ add_filter( 'save_post', array( $this, 'mark_as_encoded' ), 10, 2 );
73
+ add_filter( 'plugin_action_links', array( $this, 'settings_link' ), 10, 2 );
74
+
75
+ // Gutenberg Blocks
76
+ if ( function_exists( 'gutenberg_pre_init' ) ) {
77
+ add_action( 'enqueue_block_editor_assets', array( $this, 'enqueue_block_editor_assets' ) );
78
+ add_action( 'the_content', array( $this, 'enable_brushes_used_in_blocks' ), 0 );
79
+ }
80
+
81
+ // Register widget hooks
82
+ add_filter( 'widget_text', array( $this, 'widget_text_output' ), 7, 2 );
83
+ add_filter( 'widget_update_callback', array( $this, 'widget_text_save' ), 1, 4 );
84
+ add_filter( 'widget_form_callback', array( $this, 'widget_text_form' ), 1, 2 );
85
+
86
+
87
+ // Create array of default settings (you can use the filter to modify these)
88
+ $this->defaultsettings = (array) apply_filters( 'syntaxhighlighter_defaultsettings', array(
89
+ 'theme' => 'default',
90
+ 'loadallbrushes' => 0,
91
+ 'shversion' => 3,
92
+ 'title' => '',
93
+ 'autolinks' => 1,
94
+ 'classname' => '',
95
+ 'collapse' => 0,
96
+ 'firstline' => 1,
97
+ 'gutter' => 1,
98
+ 'htmlscript' => 0,
99
+ 'light' => 0,
100
+ 'padlinenumbers' => 'false',
101
+ 'smarttabs' => 1,
102
+ 'tabsize' => 4,
103
+ 'toolbar' => 0,
104
+ 'wraplines' => 1, // 2.x only
105
+ ) );
106
+
107
+ // Create the settings array by merging the user's settings and the defaults
108
+ $usersettings = (array) get_option('syntaxhighlighter_settings');
109
+ $this->settings = wp_parse_args( $usersettings, $this->defaultsettings );
110
+
111
+ // Dynamically set folder and version names for SynaxHighlighter
112
+ if ( 2 == $this->settings['shversion'] ) {
113
+ $this->shfolder = 'syntaxhighlighter2';
114
+ $this->agshver = '2.1.364';
115
+ } else {
116
+ $this->shfolder = 'syntaxhighlighter3';
117
+ $this->agshver = '3.0.9b';
118
+ }
119
+
120
+ // Register brush scripts
121
+ wp_register_script( 'syntaxhighlighter-core', plugins_url( $this->shfolder . '/scripts/shCore.js', __FILE__ ), array(), $this->agshver );
122
+ wp_register_script( 'syntaxhighlighter-brush-as3', plugins_url( $this->shfolder . '/scripts/shBrushAS3.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
123
+ wp_register_script( 'syntaxhighlighter-brush-bash', plugins_url( $this->shfolder . '/scripts/shBrushBash.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
124
+ wp_register_script( 'syntaxhighlighter-brush-coldfusion', plugins_url( $this->shfolder . '/scripts/shBrushColdFusion.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
125
+ wp_register_script( 'syntaxhighlighter-brush-cpp', plugins_url( $this->shfolder . '/scripts/shBrushCpp.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
126
+ wp_register_script( 'syntaxhighlighter-brush-csharp', plugins_url( $this->shfolder . '/scripts/shBrushCSharp.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
127
+ wp_register_script( 'syntaxhighlighter-brush-css', plugins_url( $this->shfolder . '/scripts/shBrushCss.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
128
+ wp_register_script( 'syntaxhighlighter-brush-delphi', plugins_url( $this->shfolder . '/scripts/shBrushDelphi.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
129
+ wp_register_script( 'syntaxhighlighter-brush-diff', plugins_url( $this->shfolder . '/scripts/shBrushDiff.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
130
+ wp_register_script( 'syntaxhighlighter-brush-erlang', plugins_url( $this->shfolder . '/scripts/shBrushErlang.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
131
+ wp_register_script( 'syntaxhighlighter-brush-groovy', plugins_url( $this->shfolder . '/scripts/shBrushGroovy.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
132
+ wp_register_script( 'syntaxhighlighter-brush-java', plugins_url( $this->shfolder . '/scripts/shBrushJava.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
133
+ wp_register_script( 'syntaxhighlighter-brush-javafx', plugins_url( $this->shfolder . '/scripts/shBrushJavaFX.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
134
+ wp_register_script( 'syntaxhighlighter-brush-jscript', plugins_url( $this->shfolder . '/scripts/shBrushJScript.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
135
+ wp_register_script( 'syntaxhighlighter-brush-perl', plugins_url( $this->shfolder . '/scripts/shBrushPerl.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
136
+ wp_register_script( 'syntaxhighlighter-brush-php', plugins_url( $this->shfolder . '/scripts/shBrushPhp.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
137
+ wp_register_script( 'syntaxhighlighter-brush-plain', plugins_url( $this->shfolder . '/scripts/shBrushPlain.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
138
+ wp_register_script( 'syntaxhighlighter-brush-powershell', plugins_url( $this->shfolder . '/scripts/shBrushPowerShell.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
139
+ wp_register_script( 'syntaxhighlighter-brush-python', plugins_url( $this->shfolder . '/scripts/shBrushPython.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
140
+ wp_register_script( 'syntaxhighlighter-brush-ruby', plugins_url( $this->shfolder . '/scripts/shBrushRuby.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
141
+ wp_register_script( 'syntaxhighlighter-brush-scala', plugins_url( $this->shfolder . '/scripts/shBrushScala.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
142
+ wp_register_script( 'syntaxhighlighter-brush-sql', plugins_url( $this->shfolder . '/scripts/shBrushSql.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
143
+ wp_register_script( 'syntaxhighlighter-brush-vb', plugins_url( $this->shfolder . '/scripts/shBrushVb.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
144
+ wp_register_script( 'syntaxhighlighter-brush-xml', plugins_url( $this->shfolder . '/scripts/shBrushXml.js', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
145
+
146
+ // Register some popular third-party brushes
147
+ wp_register_script( 'syntaxhighlighter-brush-clojure', plugins_url( 'third-party-brushes/shBrushClojure.js', __FILE__ ), array('syntaxhighlighter-core'), '20090602' );
148
+ wp_register_script( 'syntaxhighlighter-brush-fsharp', plugins_url( 'third-party-brushes/shBrushFSharp.js', __FILE__ ), array('syntaxhighlighter-core'), '20091003' );
149
+ wp_register_script( 'syntaxhighlighter-brush-latex', plugins_url( 'third-party-brushes/shBrushLatex.js', __FILE__ ), array('syntaxhighlighter-core'), '20090613' );
150
+ wp_register_script( 'syntaxhighlighter-brush-matlabkey', plugins_url( 'third-party-brushes/shBrushMatlabKey.js', __FILE__ ), array('syntaxhighlighter-core'), '20091209' );
151
+ wp_register_script( 'syntaxhighlighter-brush-objc', plugins_url( 'third-party-brushes/shBrushObjC.js', __FILE__ ), array('syntaxhighlighter-core'), '20091207' );
152
+ wp_register_script( 'syntaxhighlighter-brush-r', plugins_url( 'third-party-brushes/shBrushR.js', __FILE__ ), array('syntaxhighlighter-core'), '20100919' );
153
+
154
+ // Register theme stylesheets
155
+ wp_register_style( 'syntaxhighlighter-core', plugins_url( $this->shfolder . '/styles/shCore.css', __FILE__ ), array(), $this->agshver );
156
+ wp_register_style( 'syntaxhighlighter-theme-default', plugins_url( $this->shfolder . '/styles/shThemeDefault.css', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
157
+ wp_register_style( 'syntaxhighlighter-theme-django', plugins_url( $this->shfolder . '/styles/shThemeDjango.css', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
158
+ wp_register_style( 'syntaxhighlighter-theme-eclipse', plugins_url( $this->shfolder . '/styles/shThemeEclipse.css', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
159
+ wp_register_style( 'syntaxhighlighter-theme-emacs', plugins_url( $this->shfolder . '/styles/shThemeEmacs.css', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
160
+ wp_register_style( 'syntaxhighlighter-theme-fadetogrey', plugins_url( $this->shfolder . '/styles/shThemeFadeToGrey.css', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
161
+ wp_register_style( 'syntaxhighlighter-theme-midnight', plugins_url( $this->shfolder . '/styles/shThemeMidnight.css', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
162
+ wp_register_style( 'syntaxhighlighter-theme-rdark', plugins_url( $this->shfolder . '/styles/shThemeRDark.css', __FILE__ ), array('syntaxhighlighter-core'), $this->agshver );
163
+
164
+
165
+ // Create list of brush aliases and map them to their real brushes
166
+ // The key is the language alias
167
+ // The value is the script handle suffix: syntaxhighlighter-brush-ThisBitHere (your plugin needs to register the script itself)
168
+ $this->brushes = (array) apply_filters( 'syntaxhighlighter_brushes', array(
169
+ 'as3' => 'as3',
170
+ 'actionscript3' => 'as3',
171
+ 'bash' => 'bash',
172
+ 'shell' => 'bash',
173
+ 'coldfusion' => 'coldfusion',
174
+ 'cf' => 'coldfusion',
175
+ 'clojure' => 'clojure',
176
+ 'clj' => 'clojure',
177
+ 'cpp' => 'cpp',
178
+ 'c' => 'cpp',
179
+ 'c-sharp' => 'csharp',
180
+ 'csharp' => 'csharp',
181
+ 'css' => 'css',
182
+ 'delphi' => 'delphi',
183
+ 'pas' => 'delphi',
184
+ 'pascal' => 'delphi',
185
+ 'diff' => 'diff',
186
+ 'patch' => 'diff',
187
+ 'erl' => 'erlang',
188
+ 'erlang' => 'erlang',
189
+ 'fsharp' => 'fsharp',
190
+ 'groovy' => 'groovy',
191
+ 'java' => 'java',
192
+ 'jfx' => 'javafx',
193
+ 'javafx' => 'javafx',
194
+ 'js' => 'jscript',
195
+ 'jscript' => 'jscript',
196
+ 'javascript' => 'jscript',
197
+ 'latex' => 'latex', // Not used as a shortcode
198
+ 'tex' => 'latex',
199
+ 'matlab' => 'matlabkey',
200
+ 'objc' => 'objc',
201
+ 'obj-c' => 'objc',
202
+ 'perl' => 'perl',
203
+ 'pl' => 'perl',
204
+ 'php' => 'php',
205
+ 'plain' => 'plain',
206
+ 'text' => 'plain',
207
+ 'ps' => 'powershell',
208
+ 'powershell' => 'powershell',
209
+ 'py' => 'python',
210
+ 'python' => 'python',
211
+ 'r' => 'r', // Not used as a shortcode
212
+ 'splus' => 'r',
213
+ 'rails' => 'ruby',
214
+ 'rb' => 'ruby',
215
+ 'ror' => 'ruby',
216
+ 'ruby' => 'ruby',
217
+ 'scala' => 'scala',
218
+ 'sql' => 'sql',
219
+ 'vb' => 'vb',
220
+ 'vbnet' => 'vb',
221
+ 'xml' => 'xml',
222
+ 'xhtml' => 'xml',
223
+ 'xslt' => 'xml',
224
+ 'html' => 'xml',
225
+ ) );
226
+
227
+ $this->brush_names = (array) apply_filters( 'syntaxhighlighter_brush_names', array(
228
+ 'as3' => __( 'ActionScript', 'syntaxhighlighter' ),
229
+ 'bash' => __( 'BASH / Shell', 'syntaxhighlighter' ),
230
+ 'coldfusion' => __( 'ColdFusion', 'syntaxhighlighter' ),
231
+ 'clojure' => __( 'Clojure', 'syntaxhighlighter' ),
232
+ 'cpp' => __( 'C / C++', 'syntaxhighlighter' ),
233
+ 'csharp' => __( 'C#', 'syntaxhighlighter' ),
234
+ 'css' => __( 'CSS', 'syntaxhighlighter' ),
235
+ 'delphi' => __( 'Delphi / Pascal', 'syntaxhighlighter' ),
236
+ 'diff' => __( 'diff / patch', 'syntaxhighlighter' ),
237
+ 'erlang' => __( 'Erlang', 'syntaxhighlighter' ),
238
+ 'fsharp' => __( 'F#', 'syntaxhighlighter' ),
239
+ 'groovy' => __( 'Groovy', 'syntaxhighlighter' ),
240
+ 'java' => __( 'Java', 'syntaxhighlighter' ),
241
+ 'javafx' => __( 'JavaFX', 'syntaxhighlighter' ),
242
+ 'jscript' => __( 'JavaScript', 'syntaxhighlighter' ),
243
+ 'latex' => __( 'LaTeX', 'syntaxhighlighter' ),
244
+ 'matlabkey' => __( 'MATLAB', 'syntaxhighlighter' ),
245
+ 'objc' => __( 'Objective-C', 'syntaxhighlighter' ),
246
+ 'perl' => __( 'Perl', 'syntaxhighlighter' ),
247
+ 'php' => __( 'PHP', 'syntaxhighlighter' ),
248
+ 'plain' => __( 'Plain Text', 'syntaxhighlighter' ),
249
+ 'powershell' => __( 'PowerShell', 'syntaxhighlighter' ),
250
+ 'python' => __( 'Python', 'syntaxhighlighter' ),
251
+ 'r' => __( 'R', 'syntaxhighlighter' ),
252
+ 'ruby' => __( 'Ruby / Ruby on Rails', 'syntaxhighlighter' ),
253
+ 'scala' => __( 'Scala', 'syntaxhighlighter' ),
254
+ 'sql' => __( 'SQL', 'syntaxhighlighter' ),
255
+ 'vb' => __( 'Visual Basic', 'syntaxhighlighter' ),
256
+ 'xml' => __( 'HTML / XHTML / XML / XSLT', 'syntaxhighlighter' ),
257
+ ) );
258
+
259
+ // Create a list of shortcodes to use. You can use the filter to add/remove ones.
260
+ // If the language/lang parameter is left out, it's assumed the shortcode name is the language.
261
+ // If that's invalid, then "plain" is used.
262
+ $this->shortcodes = array( 'sourcecode', 'source', 'code' );
263
+ $this->shortcodes = array_merge( $this->shortcodes, array_keys( $this->brushes ) );
264
+
265
+ // Remove some shortcodes we don't want while still supporting them as language values
266
+ unset( $this->shortcodes[array_search( 'latex', $this->shortcodes )] ); // Remove "latex" shortcode (it'll collide)
267
+ unset( $this->shortcodes[array_search( 'r', $this->shortcodes )] ); // Remove "r" shortcode (too short)
268
+
269
+ $this->shortcodes = (array) apply_filters( 'syntaxhighlighter_shortcodes', $this->shortcodes );
270
+
271
+
272
+ // Register each shortcode with a placeholder callback so that strip_shortcodes() will work
273
+ // The proper callback and such is done in SyntaxHighlighter::shortcode_hack()
274
+ foreach ( $this->shortcodes as $shortcode )
275
+ add_shortcode( $shortcode, '__return_empty_string' );
276
+
277
+
278
+ // Create list of themes and their human readable names
279
+ // Plugins can add to this list: http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/adding-a-new-theme/
280
+ $this->themes = (array) apply_filters( 'syntaxhighlighter_themes', array(
281
+ 'default' => __( 'Default', 'syntaxhighlighter' ),
282
+ 'django' => __( 'Django', 'syntaxhighlighter' ),
283
+ 'eclipse' => __( 'Eclipse', 'syntaxhighlighter' ),
284
+ 'emacs' => __( 'Emacs', 'syntaxhighlighter' ),
285
+ 'fadetogrey' => __( 'Fade to Grey', 'syntaxhighlighter' ),
286
+ 'midnight' => __( 'Midnight', 'syntaxhighlighter' ),
287
+ 'rdark' => __( 'RDark', 'syntaxhighlighter' ),
288
+ 'none' => __( '[None]', 'syntaxhighlighter' ),
289
+ ) );
290
+
291
+ // Other special characters that need to be encoded before going into the database (namely to work around kses)
292
+ $this->specialchars = (array) apply_filters( 'syntaxhighlighter_specialchars', array(
293
+ '\0' => '&#92;&#48;',
294
+ ) );
295
+ }
296
+
297
+
298
+ // Register the settings page
299
+ function register_settings_page() {
300
+ add_options_page( __( 'SyntaxHighlighter Settings', 'syntaxhighlighter' ), __( 'SyntaxHighlighter', 'syntaxhighlighter' ), 'manage_options', 'syntaxhighlighter', array( $this, 'settings_page' ) );
301
+ }
302
+
303
+
304
+ // Register the plugin's setting
305
+ function register_setting() {
306
+ register_setting( 'syntaxhighlighter_settings', 'syntaxhighlighter_settings', array( $this, 'validate_settings' ) );
307
+ }
308
+
309
+ // Enqueue block assets for the Editor
310
+ function enqueue_block_editor_assets() {
311
+ wp_enqueue_script(
312
+ 'syntaxhighlighter-blocks',
313
+ plugins_url( 'blocks/index.min.js', __FILE__ ),
314
+ array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor' ),
315
+ ( defined( 'WP_DEBUG' ) && WP_DEBUG )
316
+ ? filemtime( plugin_dir_path( __FILE__ ) . 'blocks/index.min.js' )
317
+ : $this->pluginver
318
+ );
319
+
320
+ natsort( $this->brush_names );
321
+
322
+ wp_add_inline_script(
323
+ 'syntaxhighlighter-blocks',
324
+ sprintf( '
325
+ var syntaxHighlighterData = {
326
+ localeData: %s,
327
+ brushes: %s,
328
+ };',
329
+ json_encode( gutenberg_get_jed_locale_data( 'syntaxhighlighter' ) ),
330
+ json_encode( $this->brush_names )
331
+ ),
332
+ 'before'
333
+ );
334
+ }
335
+
336
+ /**
337
+ * Enable the brushes that are used in blocks.
338
+ *
339
+ * For the shortcode, brushes are activated by `shortcode_callback()`, but that won't detect brushes that were
340
+ * used in blocks. For that, we need to extract the data from the block's attributes.
341
+ */
342
+ function enable_brushes_used_in_blocks( $content ) {
343
+ /*
344
+ * Return early on the backend because SyntaxHighlighting is only active on the front end, see
345
+ * `syntaxHighlighterCode::edit()` block for details.
346
+ */
347
+ if ( is_admin() ) {
348
+ return $content;
349
+ }
350
+
351
+ // Lower overhead than a full parse.
352
+ if ( ! has_block( 'syntaxhighlighter/code', $content ) ) {
353
+ return $content;
354
+ }
355
+
356
+ $blocks = gutenberg_parse_blocks( $content );
357
+
358
+ foreach ( $blocks as $block ) {
359
+ if ( empty( $block['blockName'] ) || 'syntaxhighlighter/code' !== $block['blockName'] ) {
360
+ continue;
361
+ }
362
+
363
+ $language = ( ! empty( $block['attrs']['language'] ) ) ? $block['attrs']['language'] : 'plain';
364
+
365
+ if ( in_array( $language, $this->brushes, true ) ) {
366
+ $this->usedbrushes[ $this->brushes[ $language ] ] = true;
367
+ }
368
+ }
369
+
370
+ return $content;
371
+ }
372
+
373
+ // Add the custom TinyMCE plugin which wraps plugin shortcodes in <pre> in TinyMCE
374
+ function add_tinymce_plugin( $plugins ) {
375
+ global $tinymce_version;
376
+
377
+ add_action( 'admin_print_footer_scripts', array( $this, 'output_shortcodes_for_tinymce' ), 9 );
378
+
379
+ if ( substr( $tinymce_version, 0, 1 ) < 4 ) {
380
+ $plugins['syntaxhighlighter'] = plugins_url( 'syntaxhighlighter_mce.js', __FILE__ );
381
+ } else {
382
+ $plugins['syntaxhighlighter'] = add_query_arg( 'ver', $this->pluginver, plugins_url( 'syntaxhighlighter_mce-4.js', __FILE__ ) );
383
+ wp_enqueue_script( 'syntaxhighlighter', plugins_url( 'syntaxhighlighter.js', __FILE__ ), array(), false, true );
384
+ }
385
+
386
+ return $plugins;
387
+ }
388
+
389
+
390
+ // Break the TinyMCE cache
391
+ function break_tinymce_cache( $version ) {
392
+ return $version . '-sh' . $this->pluginver;
393
+ }
394
+
395
+
396
+ // Add a "Settings" link to the plugins page
397
+ function settings_link( $links, $file ) {
398
+ static $this_plugin;
399
+
400
+ if( empty($this_plugin) )
401
+ $this_plugin = plugin_basename(__FILE__);
402
+
403
+ if ( $file == $this_plugin )
404
+ $links[] = '<a href="' . admin_url( 'options-general.php?page=syntaxhighlighter' ) . '">' . __( 'Settings', 'syntaxhighlighter' ) . '</a>';
405
+
406
+ return $links;
407
+ }
408
+
409
+
410
+ // Output list of shortcode tags for the TinyMCE plugin
411
+ function output_shortcodes_for_tinymce() {
412
+ $shortcodes = array();
413
+
414
+ foreach ( $this->shortcodes as $shortcode )
415
+ $shortcodes[] = preg_quote( $shortcode );
416
+
417
+ echo "<script type='text/javascript'>\n";
418
+ echo " var syntaxHLcodes = '" . implode( '|', $shortcodes ) . "';\n";
419
+ echo "</script>\n";
420
+ }
421
+
422
+
423
+ /**
424
+ * Process only this plugin's shortcodes.
425
+ *
426
+ * If we waited for the normal do_shortcode() call at priority 11,
427
+ * then wpautop() and maybe others would mangle all of the code.
428
+ *
429
+ * So instead we hook in earlier with this function and process
430
+ * just this plugins's shortcodes. To do this requires some trickery.
431
+ *
432
+ * First we need to clear out all existing shortcodes, then register
433
+ * just this plugin's ones, process them, and then restore the original
434
+ * list of shortcodes.
435
+ *
436
+ * To make matters more complicated, if someone has done [[code]foo[/code]]
437
+ * in order to display the shortcode (not render it), then do_shortcode()
438
+ * will strip the outside brackets and when do_shortcode() runs a second
439
+ * time later on, it will render it.
440
+ *
441
+ * So instead before do_shortcode() runs for the first time, we add
442
+ * even more brackets escaped shortcodes in order to result in
443
+ * the shortcodes actually being displayed instead rendered.
444
+ *
445
+ * We only need to do this for this plugin's shortcodes however
446
+ * as all other shortcodes such as [[gallery]] will be untouched
447
+ * by this pass of do_shortcode.
448
+ *
449
+ * Phew!
450
+ *
451
+ * @param string $content The post content.
452
+ * @param array $callback The callback function that should be used for add_shortcode()
453
+ * @param bool $ignore_html When true, shortcodes inside HTML elements will be skipped.
454
+ *
455
+ * @return string The filtered content, with this plugin's shortcodes parsed.
456
+ */
457
+ function shortcode_hack( $content, $callback, $ignore_html = true ) {
458
+ global $shortcode_tags;
459
+
460
+ // Regex is slow. Let's do some strpos() checks first.
461
+ if ( ! $this->string_has_shortcodes( $content, $this->shortcodes ) ) {
462
+ return $content;
463
+ }
464
+
465
+ // Backup current registered shortcodes and clear them all out
466
+ $orig_shortcode_tags = $shortcode_tags;
467
+ remove_all_shortcodes();
468
+
469
+ // Register all of this plugin's shortcodes
470
+ foreach ( $this->shortcodes as $shortcode ) {
471
+ add_shortcode( $shortcode, $callback );
472
+ }
473
+
474
+ $regex = '/' . get_shortcode_regex( $this->shortcodes ) . '/';
475
+
476
+ // Parse the shortcodes (only this plugins's are registered)
477
+ if ( $ignore_html ) {
478
+ // Extra escape escaped shortcodes because do_shortcode_tag() called by do_shortcode() is going to strip a pair of square brackets when it runs
479
+ $content = preg_replace_callback(
480
+ $regex,
481
+ array( $this, 'shortcode_hack_extra_escape_escaped_shortcodes' ),
482
+ $content
483
+ );
484
+
485
+ // Normal, safe parsing
486
+ $content = do_shortcode( $content, true );
487
+ } else {
488
+ // Extra escape escaped shortcodes because do_shortcode_tag() called by do_shortcode() is going to strip a pair of square brackets when it runs.
489
+ // Then call do_shortcode_tag(). This is basically do_shortcode() without calling do_shortcodes_in_html_tags() which breaks things.
490
+ // For context, see https://wordpress.org/support/topic/php-opening-closing-tags-break-code-blocks
491
+ $content = preg_replace_callback(
492
+ $regex,
493
+ array( $this, 'shortcode_hack_extra_escape_escaped_shortcodes_and_parse' ),
494
+ $content
495
+ );
496
+ }
497
+
498
+ // Put the original shortcodes back
499
+ $shortcode_tags = $orig_shortcode_tags;
500
+
501
+ return $content;
502
+ }
503
+
504
+
505
+ /**
506
+ * A quick checker to see if any of this plugin's shortcodes are in use in a string.
507
+ * Since all of the tags can't be self-closing, we look for the closing tag.
508
+ *
509
+ * @param string $string The string to look through. This is a post's contents usually.
510
+ * @param array $shortcodes The array of shortcodes to look for.
511
+ *
512
+ * @return bool Whether any shortcode usage was found.
513
+ */
514
+ function string_has_shortcodes( $string, $shortcodes ) {
515
+ foreach ( $shortcodes as $shortcode ) {
516
+ if ( false !== strpos( $string, "[/{$shortcode}]" ) ) {
517
+ return true;
518
+ }
519
+ }
520
+
521
+ return false;
522
+ }
523
+
524
+
525
+ /**
526
+ * Add extra square brackets around escaped shortcodes.
527
+ * This is to counteract the beginning of the do_shortcode_tag() function.
528
+ *
529
+ * @param array $match The array of matches generated by get_shortcode_regex()
530
+ *
531
+ * @return string What should be placed into the post content. In this case it's the raw match, or an extra-wrapped raw match.
532
+ */
533
+ function shortcode_hack_extra_escape_escaped_shortcodes( $match ) {
534
+ if ( $match[1] == '[' && $match[6] == ']' ) {
535
+ return '[' . $match[0] . ']';
536
+ }
537
+
538
+ return $match[0];
539
+ }
540
+
541
+ /**
542
+ * This is a combination of this class's shortcode_hack_extra_escape_escaped_shortcodes()
543
+ * and do_shortcode_tag() for performance reasons so that we don't have to run some regex twice.
544
+ *
545
+ * @param array $match Regular expression match array.
546
+ *
547
+ * @return string|false False on failure, otherwise a parse shortcode tag.
548
+ */
549
+ function shortcode_hack_extra_escape_escaped_shortcodes_and_parse( $match ) {
550
+ $match[0] = $this->shortcode_hack_extra_escape_escaped_shortcodes( $match );
551
+
552
+ return do_shortcode_tag( $match );
553
+ }
554
+
555
+
556
+ // The main filter for the post contents. The regular shortcode filter can't be used as it's post-wpautop().
557
+ function parse_shortcodes( $content ) {
558
+ return $this->shortcode_hack( $content, array( $this, 'shortcode_callback' ) );
559
+ }
560
+
561
+
562
+ // HTML entity encode the contents of shortcodes
563
+ function encode_shortcode_contents( $content ) {
564
+ return $this->shortcode_hack( $content, array( $this, 'encode_shortcode_contents_callback' ), false );
565
+ }
566
+
567
+
568
+ // HTML entity encode the contents of shortcodes. Expects slashed content.
569
+ function encode_shortcode_contents_slashed( $content ) {
570
+ return addslashes( $this->encode_shortcode_contents( stripslashes( $content ) ) );
571
+ }
572
+
573
+
574
+ // HTML entity encode the contents of shortcodes. Expects slashed content. Aborts if AJAX.
575
+ function encode_shortcode_contents_slashed_noquickedit( $content ) {
576
+
577
+ // In certain weird circumstances, the content gets run through "content_save_pre" twice
578
+ // Keep track and don't allow this filter to be run twice
579
+ // I couldn't easily figure out why this happens and didn't bother looking into it further as this works fine
580
+ if ( true == $this->content_save_pre_ran ) {
581
+ return $content;
582
+ }
583
+ $this->content_save_pre_ran = true;
584
+
585
+ // Post quick edits aren't decoded for display, so we don't need to encode them (again)
586
+ // This also aborts for (un)trashing to avoid extra encoding.
587
+ if ( empty( $_POST ) || ( ! empty( $_POST['action'] ) && 'inline-save' == $_POST['action'] ) ) {
588
+ return $content;
589
+ }
590
+
591
+ return $this->encode_shortcode_contents_slashed( $content );
592
+ }
593
+
594
+
595
+ // HTML entity decode the contents of shortcodes
596
+ function decode_shortcode_contents( $content ) {
597
+ return $this->shortcode_hack( $content, array( $this, 'decode_shortcode_contents_callback' ), false );
598
+ }
599
+
600
+
601
+ // The callback function for SyntaxHighlighter::encode_shortcode_contents()
602
+ function encode_shortcode_contents_callback( $atts, $code = '', $tag = false ) {
603
+ $this->encoded = true;
604
+ $code = str_replace( array_keys($this->specialchars), array_values($this->specialchars), htmlspecialchars( $code ) );
605
+ return '[' . $tag . $this->atts2string( $atts ) . "]{$code}[/$tag]";
606
+ }
607
+
608
+
609
+ // The callback function for SyntaxHighlighter::decode_shortcode_contents()
610
+ // Shortcode attribute values need to not be quoted with TinyMCE disabled for some reason (weird bug)
611
+ function decode_shortcode_contents_callback( $atts, $code = '', $tag = false ) {
612
+ $quotes = ( user_can_richedit() ) ? true : false;
613
+ $code = str_replace( array_values($this->specialchars), array_keys($this->specialchars), htmlspecialchars_decode( $code ) );
614
+ return '[' . $tag . $this->atts2string( $atts, $quotes ) . "]{$code}[/$tag]";
615
+ }
616
+
617
+
618
+ // Dynamically format the post content for the edit form
619
+ function the_editor_content( $content ) {
620
+ global $post;
621
+
622
+ // New code format (stored encoded in database)
623
+ if ( 2 == $this->get_code_format( $post ) ) {
624
+ // If TinyMCE is disabled or the HTML tab is set to be displayed first, we need to decode the HTML
625
+ if ( !user_can_richedit() || 'html' == wp_default_editor() )
626
+ $content = $this->decode_shortcode_contents( $content );
627
+ }
628
+
629
+ // Old code format (stored raw in database)
630
+ else {
631
+ // If TinyMCE is enabled and is set to be displayed first, we need to encode the HTML
632
+ if ( user_can_richedit() && 'html' != wp_default_editor() )
633
+ $content = $this->encode_shortcode_contents( $content );
634
+ }
635
+
636
+ return $content;
637
+ }
638
+
639
+
640
+ // Run SyntaxHighlighter::encode_shortcode_contents() on the contents of the text widget
641
+ function widget_text_save( $instance, $new_instance, $old_instance, $widgetclass ) {
642
+ if ( 'text' == $widgetclass->id_base ) {
643
+ // Re-save the widget settings but this time with the shortcode contents encoded
644
+ $new_instance['text'] = $this->encode_shortcode_contents( $new_instance['text'] );
645
+ $instance = $widgetclass->update( $new_instance, $old_instance );
646
+
647
+ // And flag it as encoded
648
+ $instance['syntaxhighlighter_encoded'] = true;
649
+ }
650
+
651
+ return $instance;
652
+ }
653
+
654
+
655
+ // Run SyntaxHighlighter::decode_shortcode_contents_callback() on the contents of the text widget form
656
+ function widget_text_form( $instance, $widgetclass ) {
657
+ if ( 'text' == $widgetclass->id_base && !empty($instance['syntaxhighlighter_encoded']) ) {
658
+ $instance['text'] = $this->shortcode_hack( $instance['text'], array( $this, 'decode_shortcode_contents_callback' ) );
659
+ }
660
+
661
+ return $instance;
662
+ }
663
+
664
+
665
+ // Run SyntaxHighlighter::parse_shortcodes() on the contents of a text widget
666
+ function widget_text_output( $content, $instance = false ) {
667
+ $this->codeformat = ( false === $instance || empty($instance['syntaxhighlighter_encoded']) ) ? 1 : 2;
668
+ $content = $this->parse_shortcodes( $content );
669
+ $this->codeformat = false;
670
+
671
+ return $content;
672
+ }
673
+
674
+
675
+ // Run SyntaxHighlighter::parse_shortcodes() on the contents of a comment
676
+ function parse_shortcodes_comment( $content ) {
677
+ $this->codeformat = 2;
678
+ $content = $this->parse_shortcodes( $content );
679
+ $this->codeformat = false;
680
+
681
+ return $content;
682
+ }
683
+
684
+
685
+ // This function determines what version of SyntaxHighlighter was used when the post was written
686
+ // This is because the code was stored differently for different versions of SyntaxHighlighter
687
+ function get_code_format( $post ) {
688
+ if ( false !== $this->codeformat )
689
+ return $this->codeformat;
690
+
691
+ if ( empty($post) )
692
+ $post = new stdClass();
693
+
694
+ if ( null !== $version = apply_filters( 'syntaxhighlighter_pre_getcodeformat', null, $post ) )
695
+ return $version;
696
+
697
+ $version = ( empty($post->ID) || get_post_meta( $post->ID, '_syntaxhighlighter_encoded', true ) || get_post_meta( $post->ID, 'syntaxhighlighter_encoded', true ) ) ? 2 : 1;
698
+
699
+ return apply_filters( 'syntaxhighlighter_getcodeformat', $version, $post );
700
+ }
701
+
702
+
703
+ // Adds a post meta saying that HTML entities are encoded (for backwards compatibility)
704
+ function mark_as_encoded( $post_ID, $post ) {
705
+ if ( false == $this->encoded || 'revision' == $post->post_type )
706
+ return;
707
+
708
+ delete_post_meta( $post_ID, 'syntaxhighlighter_encoded' ); // Previously used
709
+ add_post_meta( $post_ID, '_syntaxhighlighter_encoded', true, true );
710
+ }
711
+
712
+
713
+ // Transforms an attributes array into a 'key="value"' format (i.e. reverses the process)
714
+ function atts2string( $atts, $quotes = true ) {
715
+ if ( empty($atts) )
716
+ return '';
717
+
718
+ $atts = $this->attributefix( $atts );
719
+
720
+ // Re-map [code="php"] style tags
721
+ if ( isset($atts[0]) ) {
722
+ if ( empty($atts['language']) )
723
+ $atts['language'] = $atts[0];
724
+
725
+ unset($atts[0]);
726
+ }
727
+
728
+ $strings = array();
729
+ foreach ( $atts as $key => $value )
730
+ $strings[] = ( $quotes ) ? $key . '="' . esc_attr( $value ) . '"' : $key . '=' . esc_attr( $value );
731
+
732
+ return ' ' . implode( ' ', $strings );
733
+ }
734
+
735
+
736
+ // Simple function for escaping just single quotes (the original js_escape() escapes more than we need)
737
+ function js_escape_singlequotes( $string ) {
738
+ return str_replace( "'", "\'", $string );
739
+ }
740
+
741
+
742
+ // Output an anchor in the header for the Javascript to use.
743
+ // In the <head>, we don't know if we'll need this plugin's CSS and JavaScript yet but we will in the footer.
744
+ function output_header_placeholder() {
745
+ echo '<style type="text/css" id="syntaxhighlighteranchor"></style>' . "\n";
746
+ }
747
+
748
+
749
+ // Output any needed scripts. This is meant for the footer.
750
+ function maybe_output_scripts() {
751
+ global $wp_styles;
752
+
753
+ if ( 1 == $this->settings['loadallbrushes'] )
754
+ $this->usedbrushes = array_flip( array_values( $this->brushes ) );
755
+
756
+ if ( empty($this->usedbrushes) )
757
+ return;
758
+
759
+ $scripts = array();
760
+ foreach ( $this->usedbrushes as $brush => $unused )
761
+ $scripts[] = 'syntaxhighlighter-brush-' . strtolower( $brush );
762
+
763
+ wp_print_scripts( $scripts );
764
+
765
+ // Stylesheets can't be in the footer, so inject them via Javascript
766
+ echo "<script type='text/javascript'>\n";
767
+ echo " (function(){\n";
768
+ echo " var corecss = document.createElement('link');\n";
769
+ echo " var themecss = document.createElement('link');\n";
770
+
771
+ if ( !is_a($wp_styles, 'WP_Styles') )
772
+ $wp_styles = new WP_Styles();
773
+
774
+ $needcore = false;
775
+ if ( 'none' == $this->settings['theme'] ) {
776
+ $needcore = true;
777
+ } else {
778
+ $theme = ( !empty($this->themes[$this->settings['theme']]) ) ? strtolower($this->settings['theme']) : $this->defaultsettings['theme'];
779
+ $theme = 'syntaxhighlighter-theme-' . $theme;
780
+
781
+ // See if the requested theme has been registered
782
+ if ( !empty($wp_styles) && !empty($wp_styles->registered) && !empty($wp_styles->registered[$theme]) && !empty($wp_styles->registered[$theme]->src) ) {
783
+
784
+ // Users can register their own stylesheet and may opt to not load the core stylesheet if they wish for some reason
785
+ if ( is_array($wp_styles->registered[$theme]->deps) && in_array( 'syntaxhighlighter-core', $wp_styles->registered[$theme]->deps ) )
786
+ $needcore = true;
787
+ }
788
+
789
+ // Otherwise use the default theme
790
+ else {
791
+ $theme = 'syntaxhighlighter-theme-' . $this->defaultsettings['theme'];
792
+ $needcore = true;
793
+ }
794
+ }
795
+
796
+ if ( $needcore && !empty($wp_styles) && !empty($wp_styles->registered) && !empty($wp_styles->registered['syntaxhighlighter-core']) && !empty($wp_styles->registered['syntaxhighlighter-core']->src) ) :
797
+ $corecssurl = add_query_arg( 'ver', $this->agshver, $wp_styles->registered['syntaxhighlighter-core']->src );
798
+ $corecssurl = apply_filters( 'syntaxhighlighter_csscoreurl', $corecssurl );
799
+ ?>
800
+ var corecssurl = "<?php echo esc_js( $corecssurl ); ?>";
801
+ if ( corecss.setAttribute ) {
802
+ corecss.setAttribute( "rel", "stylesheet" );
803
+ corecss.setAttribute( "type", "text/css" );
804
+ corecss.setAttribute( "href", corecssurl );
805
+ } else {
806
+ corecss.rel = "stylesheet";
807
+ corecss.href = corecssurl;
808
+ }
809
+ document.getElementsByTagName("head")[0].insertBefore( corecss, document.getElementById("syntaxhighlighteranchor") );
810
+ <?php
811
+ endif; // Endif $needcore
812
+
813
+ if ( 'none' != $this->settings['theme'] ) : ?>
814
+ var themecssurl = "<?php echo esc_js( apply_filters( 'syntaxhighlighter_cssthemeurl', add_query_arg( 'ver', $this->agshver, $wp_styles->registered[$theme]->src ) ) ); ?>";
815
+ if ( themecss.setAttribute ) {
816
+ themecss.setAttribute( "rel", "stylesheet" );
817
+ themecss.setAttribute( "type", "text/css" );
818
+ themecss.setAttribute( "href", themecssurl );
819
+ } else {
820
+ themecss.rel = "stylesheet";
821
+ themecss.href = themecssurl;
822
+ }
823
+ //document.getElementById("syntaxhighlighteranchor").appendChild(themecss);
824
+ document.getElementsByTagName("head")[0].insertBefore( themecss, document.getElementById("syntaxhighlighteranchor") );
825
+ <?php
826
+ endif; // Endif none != theme
827
+
828
+ echo " })();\n";
829
+
830
+ switch ( $this->settings['shversion'] ) {
831
+ case 2:
832
+ echo " SyntaxHighlighter.config.clipboardSwf = '" . esc_js( apply_filters( 'syntaxhighlighter_clipboardurl', plugins_url( 'syntaxhighlighter2/scripts/clipboard.swf', __FILE__ ) ) ) . "';\n";
833
+ echo " SyntaxHighlighter.config.strings.expandSource = '" . $this->js_escape_singlequotes( __( 'show source', 'syntaxhighlighter' ) ) . "';\n";
834
+ echo " SyntaxHighlighter.config.strings.viewSource = '" . $this->js_escape_singlequotes( __( 'view source', 'syntaxhighlighter' ) ) . "';\n";
835
+ echo " SyntaxHighlighter.config.strings.copyToClipboard = '" . $this->js_escape_singlequotes( __( 'copy to clipboard', 'syntaxhighlighter' ) ) . "';\n";
836
+ echo " SyntaxHighlighter.config.strings.copyToClipboardConfirmation = '" . $this->js_escape_singlequotes( __( 'The code is in your clipboard now', 'syntaxhighlighter' ) ) . "';\n";
837
+ echo " SyntaxHighlighter.config.strings.print = '" . $this->js_escape_singlequotes( __( 'print', 'syntaxhighlighter' ) ) . "';\n";
838
+ echo " SyntaxHighlighter.config.strings.help = '" . $this->js_escape_singlequotes( __( '?', 'syntaxhighlighter' ) ) . "';\n";
839
+ echo " SyntaxHighlighter.config.strings.alert = '" . $this->js_escape_singlequotes( __( 'SyntaxHighlighter\n\n', 'syntaxhighlighter' ) ) . "';\n";
840
+ echo " SyntaxHighlighter.config.strings.noBrush = '" . $this->js_escape_singlequotes( __( "Can't find brush for: ", 'syntaxhighlighter' ) ) . "';\n";
841
+ echo " SyntaxHighlighter.config.strings.brushNotHtmlScript = '" . $this->js_escape_singlequotes( __( "Brush wasn't configured for html-script option: ", 'syntaxhighlighter' ) ) . "';\n";
842
+ break;
843
+ case 3:
844
+ echo " SyntaxHighlighter.config.strings.expandSource = '" . $this->js_escape_singlequotes( __( '+ expand source', 'syntaxhighlighter' ) ) . "';\n";
845
+ echo " SyntaxHighlighter.config.strings.help = '" . $this->js_escape_singlequotes( __( '?', 'syntaxhighlighter' ) ) . "';\n";
846
+ echo " SyntaxHighlighter.config.strings.alert = '" . $this->js_escape_singlequotes( __( 'SyntaxHighlighter\n\n', 'syntaxhighlighter' ) ) . "';\n";
847
+ echo " SyntaxHighlighter.config.strings.noBrush = '" . $this->js_escape_singlequotes( __( "Can't find brush for: ", 'syntaxhighlighter' ) ) . "';\n";
848
+ echo " SyntaxHighlighter.config.strings.brushNotHtmlScript = '" . $this->js_escape_singlequotes( __( "Brush wasn't configured for html-script option: ", 'syntaxhighlighter' ) ) . "';\n";
849
+ break;
850
+ }
851
+
852
+ if ( 1 != $this->settings['autolinks'] )
853
+ echo " SyntaxHighlighter.defaults['auto-links'] = false;\n";
854
+
855
+ if ( !empty($this->settings['classname']) )
856
+ echo " SyntaxHighlighter.defaults['class-name'] = '" . $this->js_escape_singlequotes( $this->settings['classname'] ) . "';\n";
857
+
858
+ if ( 1 == $this->settings['collapse'] )
859
+ echo " SyntaxHighlighter.defaults['collapse'] = true;\n";
860
+
861
+ if ( 1 != $this->settings['firstline'] )
862
+ echo " SyntaxHighlighter.defaults['first-line'] = " . $this->settings['firstline'] . ";\n";
863
+
864
+ if ( 1 != $this->settings['gutter'] )
865
+ echo " SyntaxHighlighter.defaults['gutter'] = false;\n";
866
+
867
+ /*
868
+ if ( 1 == $this->settings['htmlscript'] )
869
+ echo " SyntaxHighlighter.defaults['html-script'] = true;\n";
870
+ */
871
+
872
+ if ( 1 == $this->settings['light'] )
873
+ echo " SyntaxHighlighter.defaults['light'] = true;\n";
874
+
875
+ echo " SyntaxHighlighter.defaults['pad-line-numbers'] = ";
876
+ switch ( $this->settings['padlinenumbers'] ) {
877
+ case 'true':
878
+ echo 'true';
879
+ break;
880
+ case 'false';
881
+ echo 'false';
882
+ break;
883
+ default;
884
+ echo (int) $this->settings['padlinenumbers'];
885
+ }
886
+ echo ";\n";
887
+
888
+ if ( 1 != $this->settings['smarttabs'] )
889
+ echo " SyntaxHighlighter.defaults['smart-tabs'] = false;\n";
890
+
891
+ if ( 4 != $this->settings['tabsize'] )
892
+ echo " SyntaxHighlighter.defaults['tab-size'] = " . $this->settings['tabsize'] . ";\n";
893
+
894
+ if ( 1 != $this->settings['toolbar'] )
895
+ echo " SyntaxHighlighter.defaults['toolbar'] = false;\n";
896
+
897
+ // 2.x only for now
898
+ if ( 1 != $this->settings['wraplines'] )
899
+ echo " SyntaxHighlighter.defaults['wrap-lines'] = false;\n";
900
+
901
+ ?> SyntaxHighlighter.all();
902
+
903
+ // Infinite scroll support
904
+ if ( typeof( jQuery ) !== 'undefined' ) {
905
+ jQuery( function( $ ) {
906
+ $( document.body ).on( 'post-load', function() {
907
+ SyntaxHighlighter.highlight();
908
+ } );
909
+ } );
910
+ }
911
+ </script>
912
+ <?php
913
+
914
+ do_action( 'syntaxhighlighter_after_script_output' );
915
+
916
+ }
917
+
918
+
919
+ // No-name attribute fixing
920
+ function attributefix( $atts = array() ) {
921
+ if ( empty($atts[0]) )
922
+ return $atts;
923
+
924
+ // Quoted value
925
+ if ( 0 !== preg_match( '#=("|\')(.*?)\1#', $atts[0], $match ) )
926
+ $atts[0] = $match[2];
927
+
928
+ // Unquoted value
929
+ elseif ( '=' == substr( $atts[0], 0, 1 ) )
930
+ $atts[0] = substr( $atts[0], 1 );
931
+
932
+ return $atts;
933
+ }
934
+
935
+
936
+ // Shortcode handler for transforming the shortcodes to their final <pre>'s
937
+ function shortcode_callback( $atts, $code = '', $tag = false ) {
938
+ global $post;
939
+
940
+ if ( false === $tag || empty($code) )
941
+ return $code;
942
+
943
+ // Avoid PHP notices
944
+ if ( !isset($post) )
945
+ $post = null;
946
+
947
+ $code = apply_filters( 'syntaxhighlighter_precode', $code, $atts, $tag );
948
+
949
+ // Error fixing for [tag="language"]
950
+ if ( isset($atts[0]) ) {
951
+ $atts = $this->attributefix( $atts );
952
+ $atts['language'] = $atts[0];
953
+ unset($atts[0]);
954
+ }
955
+
956
+ // Default out all of the available parameters to "false" (easy way to check if they're set or not)
957
+ // Note this isn't the same as if the user passes the string "false" to the shortcode
958
+ $atts = (array) apply_filters( 'syntaxhighlighter_shortcodeatts', shortcode_atts( array(
959
+ 'language' => false,
960
+ 'lang' => false,
961
+ 'type' => false, // language alias
962
+ 'autolinks' => false,
963
+ 'classname' => false,
964
+ 'collapse' => false,
965
+ 'firstline' => false,
966
+ 'fontsize' => false,
967
+ 'gutter' => false,
968
+ 'highlight' => false,
969
+ 'htmlscript' => false,
970
+ 'light' => false,
971
+ 'padlinenumbers' => false,
972
+ 'smarttabs' => false,
973
+ 'tabsize' => false,
974
+ 'title' => $this->settings['title'],
975
+ 'toolbar' => false,
976
+ 'wraplines' => false,
977
+ ), $atts ) );
978
+
979
+ // Check for language shortcode tag such as [php]code[/php]
980
+ if ( isset($this->brushes[$tag]) ) {
981
+ $lang = $tag;
982
+ }
983
+
984
+ // If a valid tag is not used, it must be sourcecode/source/code
985
+ else {
986
+ $atts = $this->attributefix( $atts );
987
+
988
+ // Check for the "language" attribute
989
+ if ( false !== $atts['language'] )
990
+ $lang = $atts['language'];
991
+
992
+ // Check for the "lang" attribute
993
+ elseif ( false !== $atts['lang'] )
994
+ $lang = $atts['lang'];
995
+
996
+ // Default to plain text
997
+ else
998
+ $lang = 'text';
999
+
1000
+ // All language aliases are lowercase
1001
+ $lang = strtolower( $lang );
1002
+
1003
+ // Validate passed attribute
1004
+ if ( !isset($this->brushes[$lang]) )
1005
+ return $code;
1006
+ }
1007
+
1008
+ // Switch from the alias to the real brush name (so custom aliases can be used)
1009
+ $lang = $this->brushes[$lang];
1010
+
1011
+ // Register this brush as used so it's script will be outputted
1012
+ $this->usedbrushes[$lang] = true;
1013
+
1014
+ $params = array();
1015
+ $params[] = "brush: $lang;";
1016
+
1017
+ // Fix bug that prevents collapse from working if the toolbar is off or light mode is on
1018
+ if ( 'true' == $atts['collapse'] || '1' === $atts['collapse'] || 1 == $this->settings['collapse'] ) {
1019
+ $atts['toolbar'] = 'true';
1020
+ $atts['light'] = 'false';
1021
+ }
1022
+
1023
+ // Parameter renaming (the shortcode API doesn't like parameter names with dashes)
1024
+ $rename_map = array(
1025
+ 'autolinks' => 'auto-links',
1026
+ 'classname' => 'class-name',
1027
+ 'firstline' => 'first-line',
1028
+ 'fontsize' => 'font-size',
1029
+ 'htmlscript' => 'html-script',
1030
+ 'padlinenumbers' => 'pad-line-numbers',
1031
+ 'smarttabs' => 'smart-tabs',
1032
+ 'tabsize' => 'tab-size',
1033
+ 'wraplines' => 'wrap-lines',
1034
+ );
1035
+
1036
+ // Allowed configuration parameters and their type
1037
+ // Use the proper names (see above)
1038
+ $allowed_atts = (array) apply_filters( 'syntaxhighlighter_allowedatts', array(
1039
+ 'auto-links' => 'boolean',
1040
+ 'class-name' => 'other',
1041
+ 'collapse' => 'boolean',
1042
+ 'first-line' => 'integer',
1043
+ 'font-size' => 'integer',
1044
+ 'gutter' => 'boolean',
1045
+ 'highlight' => 'other',
1046
+ 'html-script' => 'boolean',
1047
+ 'light' => 'boolean',
1048
+ 'pad-line-numbers' => 'other',
1049
+ 'smart-tabs' => 'boolean',
1050
+ 'tab-size' => 'integer',
1051
+ 'title' => 'other',
1052
+ 'toolbar' => 'boolean',
1053
+ 'wrap-lines' => 'boolean',
1054
+ ) );
1055
+
1056
+ $title = '';
1057
+
1058
+ // Sanitize configuration parameters and such
1059
+ foreach ( $atts as $key => $value ) {
1060
+ $key = strtolower( $key );
1061
+
1062
+ // Put back parameter names that have been renamed for shortcode use
1063
+ if ( !empty($rename_map[$key]) )
1064
+ $key = $rename_map[$key];
1065
+
1066
+ // This this parameter if it's unknown, not set, or the language which was already handled
1067
+ if ( empty($allowed_atts[$key]) || false === $value || in_array( $key, array( 'language', 'lang' ) ) )
1068
+ continue;
1069
+
1070
+ // Sanitize values
1071
+ switch ( $allowed_atts[$key] ) {
1072
+ case 'boolean':
1073
+ $value = strtolower( $value );
1074
+ if ( 'true' === $value || '1' === $value || 'on' == $value )
1075
+ $value = 'true';
1076
+ elseif ( 'false' === $value || '0' === $value || 'off' == $value )
1077
+ $value = 'false';
1078
+ else
1079
+ continue 2; // Invalid value, ditch parameter
1080
+ break;
1081
+
1082
+ // integer
1083
+ case 'integer':
1084
+ $value = (int) $value;
1085
+ break;
1086
+ }
1087
+
1088
+ // Sanitize the "classname" parameter
1089
+ if ( 'class-name' == $key )
1090
+ $value = trim( preg_replace( '/[^a-zA-Z0-9 _-]/i', '', $value ) );
1091
+
1092
+ // Special sanitization for "pad-line-numbers"
1093
+ if ( 'pad-line-numbers' == $key ) {
1094
+ $value = strtolower( $value );
1095
+ if ( 'true' === $value || '1' === $value )
1096
+ $value = 'true';
1097
+ elseif ( 'false' === $value || '0' === $value )
1098
+ $value = 'false';
1099
+ else
1100
+ $value = (int) $value;
1101
+ }
1102
+
1103
+ // Add % sign to "font-size"
1104
+ if ( 'font-size' == $key )
1105
+ $value = $value . '%';
1106
+
1107
+ // If "html-script", then include the XML brush as it's needed
1108
+ if ( 'html-script' == $key && 'true' == $value )
1109
+ $this->usedbrushes['xml'] = true;
1110
+
1111
+ // Sanitize row highlights
1112
+ if ( 'highlight' == $key ) {
1113
+ if ( false === strpos( $value, ',' ) && false === strpos( $value, '-' ) ) {
1114
+ $value = (int) $value;
1115
+ } else {
1116
+ $lines = explode( ',', $value );
1117
+ $highlights = array();
1118
+
1119
+ foreach ( $lines as $line ) {
1120
+ // Line range
1121
+ if ( false !== strpos( $line, '-' ) ) {
1122
+ list( $range_start, $range_end ) = array_map( 'intval', explode( '-', $line ) );
1123
+ if ( ! $range_start || ! $range_end || $range_end <= $range_start )
1124
+ continue;
1125
+
1126
+ for ( $i = $range_start; $i <= $range_end; $i++ )
1127
+ $highlights[] = $i;
1128
+ } else {
1129
+ $highlights[] = (int) $line;
1130
+ }
1131
+ }
1132
+
1133
+ natsort( $highlights );
1134
+
1135
+ $value = implode( ',', $highlights );
1136
+ }
1137
+
1138
+ if ( empty( $value ) )
1139
+ continue;
1140
+
1141
+ // Wrap highlight in [ ]
1142
+ $params[] = "$key: [$value];";
1143
+ continue;
1144
+ }
1145
+
1146
+ // Don't allow HTML in the title parameter
1147
+ if ( 'title' == $key ) {
1148
+ $value = strip_tags( html_entity_decode( strip_tags( $value ) ) );
1149
+ }
1150
+
1151
+ $params[] = "$key: $value;";
1152
+
1153
+ // Set the title variable if the title parameter is set (but not for feeds)
1154
+ if ( 'title' == $key && ! is_feed() )
1155
+ $title = ' title="' . esc_attr( $value ) . '"';
1156
+ }
1157
+
1158
+ $code = ( false === strpos( $code, '<' ) && false === strpos( $code, '>' ) && 2 == $this->get_code_format($post) ) ? strip_tags( $code ) : htmlspecialchars( $code );
1159
+
1160
+ $params[] = 'notranslate'; // For Google, see http://otto42.com/9k
1161
+
1162
+ $params = apply_filters( 'syntaxhighlighter_cssclasses', $params ); // Use this to add additional CSS classes / SH parameters
1163
+
1164
+ return apply_filters( 'syntaxhighlighter_htmlresult', '<pre class="' . esc_attr( implode( ' ', $params ) ) . '"' . $title . '>' . $code . '</pre>' );;
1165
+ }
1166
+
1167
+
1168
+ // Settings page
1169
+ function settings_page() { ?>
1170
+
1171
+ <script type="text/javascript">
1172
+ // <![CDATA[
1173
+ jQuery(document).ready(function($) {
1174
+ // Confirm pressing of the "Reset to Defaults" button
1175
+ $("#syntaxhighlighter-defaults").click(function(){
1176
+ var areyousure = confirm("<?php echo esc_js( __( 'Are you sure you want to reset your settings to the defaults?', 'syntaxhighlighter' ) ); ?>");
1177
+ if ( true != areyousure ) return false;
1178
+ });
1179
+ <?php if ( !empty( $_GET['defaults'] ) ) : ?>
1180
+ $("#message p strong").text("<?php echo esc_js( __( 'Settings reset to defaults.', 'syntaxhighlighter' ) ); ?>");
1181
+ <?php endif; ?>
1182
+ });
1183
+ // ]]>
1184
+ </script>
1185
+
1186
+ <div class="wrap">
1187
+ <?php if ( function_exists('screen_icon') ) screen_icon(); ?>
1188
+ <h2><?php _e( 'SyntaxHighlighter Settings', 'syntaxhighlighter' ); ?></h2>
1189
+
1190
+ <form method="post" action="options.php">
1191
+
1192
+ <?php settings_fields('syntaxhighlighter_settings'); ?>
1193
+
1194
+
1195
+ <table class="form-table">
1196
+ <tr valign="top">
1197
+ <th scope="row"><label for="syntaxhighlighter-shversion"><?php _e( 'Highlighter Version', 'syntaxhighlighter' ); ?></label></th>
1198
+ <td>
1199
+ <select name="syntaxhighlighter_settings[shversion]" id="syntaxhighlighter-shversion" class="postform">
1200
+ <?php
1201
+ $versions = array(
1202
+ 3 => __( 'Version 3.x', 'syntaxhighlighter' ),
1203
+ 2 => __( 'Version 2.x', 'syntaxhighlighter' ),
1204
+ );
1205
+
1206
+ foreach ( $versions as $version => $name ) {
1207
+ echo ' <option value="' . esc_attr( $version ) . '"' . selected( $this->settings['shversion'], $version, false ) . '>' . esc_html( $name ) . "&nbsp;</option>\n";
1208
+ }
1209
+ ?>
1210
+ </select><br />
1211
+ <?php _e( 'Version 3 allows visitors to easily highlight portions of your code with their mouse (either by dragging or double-clicking) and copy it to their clipboard. No toolbar containing a Flash-based button is required.', 'syntaxhighlighter' ); ?><br />
1212
+ <?php _e( 'Version 2 allows for line wrapping, something that version 3 does not do at this time.', 'syntaxhighlighter' ); ?>
1213
+ </td>
1214
+ </tr>
1215
+ <tr valign="top">
1216
+ <th scope="row"><label for="syntaxhighlighter-theme"><?php _e( 'Color Theme', 'syntaxhighlighter' ); ?></label></th>
1217
+ <td>
1218
+ <select name="syntaxhighlighter_settings[theme]" id="syntaxhighlighter-theme" class="postform">
1219
+ <?php
1220
+ foreach ( $this->themes as $theme => $name ) {
1221
+ echo ' <option value="' . esc_attr( $theme ) . '"' . selected( $this->settings['theme'], $theme, false ) . '>' . esc_html( $name ) . "&nbsp;</option>\n";
1222
+ }
1223
+ ?>
1224
+ </select>
1225
+ </td>
1226
+ </tr>
1227
+ <tr valign="top">
1228
+ <th scope="row"><?php _e( 'Load All Brushes', 'syntaxhighlighter' ); ?></th>
1229
+ <td>
1230
+ <fieldset>
1231
+ <legend class="hidden"><?php _e( 'Load All Brushes', 'syntaxhighlighter' ); ?></legend>
1232
+ <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>&lt;pre&gt;</code> tags rather than shortcodes)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If left unchecked (default), then language files will only be loaded when needed<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If unsure, leave this box unchecked', 'syntaxhighlighter' ); ?></label>
1233
+ </fieldset>
1234
+ </td>
1235
+ </tr>
1236
+ </table>
1237
+
1238
+ <h3><?php _e( 'Defaults', 'syntaxhighlighter' ); ?></h3>
1239
+
1240
+ <p><?php _e( 'All of the settings below can be configured on a per-code block basis, but you can control the defaults of all code blocks here.', 'syntaxhighlighter' ); ?></p>
1241
+
1242
+ <table class="form-table">
1243
+ <tr valign="top">
1244
+ <th scope="row"><?php _e( 'Miscellaneous', 'syntaxhighlighter' ); ?></th>
1245
+ <td>
1246
+ <fieldset>
1247
+ <legend class="hidden"><?php _e( 'Miscellaneous', 'syntaxhighlighter' ); ?></legend>
1248
+
1249
+ <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 />
1250
+ <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 />
1251
+ <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 />
1252
+ <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 />
1253
+ <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 />
1254
+ <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 />
1255
+ <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 (v2.x only, disabling this will make a scrollbar show instead)', 'syntaxhighlighter' ); ?></label><br />
1256
+ <!--<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 &quot;HTML script&quot; 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>-->
1257
+ </fieldset>
1258
+ </td>
1259
+ </tr>
1260
+ <tr valign="top">
1261
+ <th scope="row"><label for="syntaxhighlighter-classname"><?php _e( 'Additional CSS Class(es)', 'syntaxhighlighter' ); ?></label></th>
1262
+ <td><input name="syntaxhighlighter_settings[classname]" type="text" id="syntaxhighlighter-classname" value="<?php echo esc_attr( $this->settings['classname'] ); ?>" class="regular-text" /></td>
1263
+ </tr>
1264
+ <tr valign="top">
1265
+ <th scope="row"><label for="syntaxhighlighter-firstline"><?php _e( 'Starting Line Number', 'syntaxhighlighter' ); ?></label></th>
1266
+ <td><input name="syntaxhighlighter_settings[firstline]" type="text" id="syntaxhighlighter-firstline" value="<?php echo esc_attr( $this->settings['firstline'] ); ?>" class="small-text" /></td>
1267
+ </tr>
1268
+ <tr valign="top">
1269
+ <th scope="row"><label for="syntaxhighlighter-padlinenumbers"><?php _e( 'Line Number Padding', 'syntaxhighlighter' ); ?></label></th>
1270
+ <td>
1271
+ <select name="syntaxhighlighter_settings[padlinenumbers]" id="syntaxhighlighter-padlinenumbers" class="postform">
1272
+ <?php
1273
+ $linepaddings = array(
1274
+ 'false' => __( 'Off', 'syntaxhighlighter' ),
1275
+ 'true' => __( 'Automatic', 'syntaxhighlighter' ),
1276
+ 1 => 1,
1277
+ 2 => 2,
1278
+ 3 => 3,
1279
+ 4 => 4,
1280
+ 5 => 5,
1281
+ );
1282
+
1283
+ foreach ( $linepaddings as $value => $name ) {
1284
+ echo ' <option value="' . esc_attr( $value ) . '"' . selected( $this->settings['padlinenumbers'], $value, false ) . '>' . esc_html( $name ) . "&nbsp;</option>\n";
1285
+ }
1286
+ ?>
1287
+ </select>
1288
+ </td>
1289
+ </tr>
1290
+ <tr valign="top">
1291
+ <th scope="row"><label for="syntaxhighlighter-tabsize"><?php _e( 'Tab Size', 'syntaxhighlighter' ); ?></label></th>
1292
+ <td><input name="syntaxhighlighter_settings[tabsize]" type="text" id="syntaxhighlighter-tabsize" value="<?php echo esc_attr( $this->settings['tabsize'] ); ?>" class="small-text" /></td>
1293
+ </tr>
1294
+ <tr valign="top">
1295
+ <th scope="row"><label for="syntaxhighlighter-title"><?php _e( 'Title', 'syntaxhighlighter' ); ?></label></th>
1296
+ <td>
1297
+ <input name="syntaxhighlighter_settings[title]" type="text" id="syntaxhighlighter-title" value="<?php echo esc_attr( $this->settings['title'] ); ?>" class="regular-text" /><br />
1298
+ <?php _e( 'Some optional default text to display above each code block or as the clickable text for collapsed code blocks.', 'syntaxhighlighter' ); ?>
1299
+ </td>
1300
+ </tr>
1301
+ </table>
1302
+
1303
+ <p class="submit">
1304
+ <?php
1305
+ if ( function_exists( 'submit_button' ) ) {
1306
+ submit_button( null, 'primary', 'syntaxhighlighter-submit', false );
1307
+ echo ' ';
1308
+ submit_button( __( 'Reset to Defaults', 'syntaxhighlighter' ), 'primary', 'syntaxhighlighter-defaults', false );
1309
+ } else {
1310
+ echo '<input type="submit" name="syntaxhighlighter-submit" class="button-primary" value="' . __( 'Save Changes') . '" />' . "\n";
1311
+ echo '<input type="submit" name="syntaxhighlighter-defaults" id="syntaxhighlighter-defaults" class="button-primary" value="' . __( 'Reset to Defaults', 'syntaxhighlighter' ) . '" />' . "\n";
1312
+ }
1313
+ ?>
1314
+ </p>
1315
+
1316
+ </form>
1317
+
1318
+ <h3><?php _e( 'Preview', 'syntaxhighlighter' ); ?></h3>
1319
+
1320
+ <p><?php _e( 'Click &quot;Save Changes&quot; to update this preview.', 'syntaxhighlighter' ); ?>
1321
+
1322
+ <?php
1323
+
1324
+ echo '<div';
1325
+ if ( ! empty( $GLOBALS['content_width'] ) )
1326
+ echo ' style="max-width:' . intval( $GLOBALS['content_width'] ) . 'px"';
1327
+ echo '>';
1328
+
1329
+ $title = ( empty( $this->settings['title'] ) && 1 != $this->settings['collapse'] ) ? ' title="Code example: (this example was added using the title parameter)"' : '';
1330
+
1331
+ // Site owners may opt to disable the short tags, i.e. [php]
1332
+ $democode = apply_filters( 'syntaxhighlighter_democode', '[sourcecode language="php" htmlscript="true" highlight="12"' . $title . ']<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1333
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1334
+ <head>
1335
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
1336
+ <title>PHP Code Example</title>
1337
+ </head>
1338
+ <body>
1339
+ <h1>' . __( 'PHP Code Example', 'syntaxhighlighter' ) . '</h1>
1340
+
1341
+ <p><?php echo \'' . __( 'Hello World!', 'syntaxhighlighter' ) . '\'; ?></p>
1342
+
1343
+ <p>' . __( 'This line is highlighted.', 'syntaxhighlighter' ) . '</p>
1344
+
1345
+ <div class="foobar">
1346
+ ' . __( ' This is an
1347
+ example of smart
1348
+ tabs.', 'syntaxhighlighter' ) . '
1349
+ </div>
1350
+
1351
+ <p><a href="http://wordpress.org/">' . __( 'WordPress' ) . '</a></p>
1352
+ </body>
1353
+ </html>[/sourcecode]' );
1354
+
1355
+ $this->codeformat = 1;
1356
+ echo $this->parse_shortcodes( $democode );
1357
+ $this->codeformat = false;
1358
+
1359
+ echo '</div>';
1360
+ ?>
1361
+
1362
+ <h3 style="margin-top:30px"><?php _e( 'Shortcode Parameters', 'syntaxhighlighter' ); ?></h3>
1363
+
1364
+ <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>
1365
+
1366
+ <ul class="ul-disc">
1367
+ <li><?php printf( _x( '%1$s or %2$s &#8212; 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 &quot;aliases&quot;).', 'language parameter', 'syntaxhighlighter' ), '<code>lang</code>', '<code>language</code>', 'http://alexgorbatchev.com/wiki/SyntaxHighlighter:Brushes' ); ?></li>
1368
+ <li><?php printf( _x( '%s &#8212; Toggle automatic URL linking.', 'autolinks parameter', 'syntaxhighlighter' ), '<code>autolinks</code>' ); ?></li>
1369
+ <li><?php printf( _x( '%s &#8212; Add an additional CSS class to the code box.', 'classname parameter', 'syntaxhighlighter' ), '<code>classname</code>' ); ?></li>
1370
+ <li><?php printf( _x( '%s &#8212; Toggle collapsing the code box by default, requiring a click to expand it. Good for large code posts.', 'collapse parameter', 'syntaxhighlighter' ), '<code>collapse</code>' ); ?></li>
1371
+ <li><?php printf( _x( '%s &#8212; An interger specifying what number the first line should be (for the line numbering).', 'firstline parameter', 'syntaxhighlighter' ), '<code>firstline</code>' ); ?></li>
1372
+ <li><?php printf( _x( '%s &#8212; Toggle the left-side line numbering.', 'gutter parameter', 'syntaxhighlighter' ), '<code>gutter</code>' ); ?></li>
1373
+ <li><?php printf( _x( '%1$s &#8212; A comma-separated list of line numbers to highlight. You can also specify a range. Example: %2$s', 'highlight parameter', 'syntaxhighlighter' ), '<code>highlight</code>', '<code>2,5-10,12</code>' ); ?></li>
1374
+ <li><?php printf( _x( "%s &#8212; 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.", 'htmlscript parameter', 'syntaxhighlighter' ), '<code>htmlscript</code>' ); ?></li>
1375
+ <li><?php printf( _x( '%s &#8212; Toggle light mode which disables the gutter and toolbar all at once.', 'light parameter', 'syntaxhighlighter' ), '<code>light</code>' ); ?></li>
1376
+ <li><?php printf( _x( '%s &#8212; Controls line number padding. Valid values are <code>false</code> (no padding), <code>true</code> (automatic padding), or an integer (forced padding).', 'padlinenumbers parameter', 'syntaxhighlighter' ), '<code>padlinenumbers</code>' ); ?></li>
1377
+ <li><?php printf( _x( '%1$s (v3 only) &#8212; Sets some text to show up before the code. Very useful when combined with the %2$s parameter.', 'title parameter', 'syntaxhighlighter' ), '<code>title</code>', '<code>collapse</code>' ); ?></li>
1378
+ <li><?php printf( _x( '%s &#8212; Toggle the toolbar (buttons in v2, the about question mark in v3)', 'toolbar parameter', 'syntaxhighlighter' ), '<code>toolbar</code>' ); ?></li>
1379
+ <li><?php printf( _x( '%s (v2 only) &#8212; Toggle line wrapping.', 'wraplines parameter', 'syntaxhighlighter'), '<code>wraplines</code>' ); ?></li>
1380
+ </ul>
1381
+
1382
+ <p><?php _e( 'Some example shortcodes:', 'syntaxhighlighter' ); ?></p>
1383
+
1384
+ <ul class="ul-disc">
1385
+ <li><code>[php]<?php _e( 'your code here', 'syntaxhighlighter' ); ?>[/php]</code></li>
1386
+ <li><code>[css autolinks=&quot;false&quot; classname=&quot;myclass&quot; collapse=&quot;false&quot; firstline=&quot;1&quot; gutter=&quot;true&quot; highlight=&quot;1-3,6,9&quot; htmlscript=&quot;false&quot; light=&quot;false&quot; padlinenumbers=&quot;false&quot; smarttabs=&quot;true&quot; tabsize=&quot;4&quot; toolbar=&quot;true&quot; title=&quot;<?php _e( 'example-filename.php', 'syntaxhighlighter' ); ?>&quot;]<?php _e( 'your code here', 'syntaxhighlighter' ); ?>[/css]</code></li>
1387
+ <li><code>[code lang=&quot;js&quot;]<?php _e( 'your code here', 'syntaxhighlighter' ); ?>[/code]</code></li>
1388
+ <li><code>[sourcecode language=&quot;plain&quot;]<?php _e( 'your code here', 'syntaxhighlighter' ); ?>[/sourcecode]</code></li>
1389
+ </ul>
1390
+
1391
+ <?php $this->maybe_output_scripts(); ?>
1392
+
1393
+ </div>
1394
+
1395
+ <?php
1396
+ }
1397
+
1398
+
1399
+ // Validate the settings sent from the settings page
1400
+ function validate_settings( $settings ) {
1401
+ if ( !empty($_POST['syntaxhighlighter-defaults']) ) {
1402
+ $settings = $this->defaultsettings;
1403
+ $_REQUEST['_wp_http_referer'] = add_query_arg( 'defaults', 'true', $_REQUEST['_wp_http_referer'] );
1404
+ } else {
1405
+ $settings['shversion'] = ( ! empty($settings['shversion']) && 2 == $settings['shversion'] ) ? 2 : 3;
1406
+
1407
+ $settings['theme'] = ( ! empty($settings['theme']) && isset($this->themes[$settings['theme']]) ) ? strtolower($settings['theme']) : $this->defaultsettings['theme'];
1408
+
1409
+ $settings['loadallbrushes'] = ( ! empty($settings['loadallbrushes']) ) ? 1 : 0;
1410
+ $settings['autolinks'] = ( ! empty($settings['autolinks']) ) ? 1 : 0;
1411
+ $settings['collapse'] = ( ! empty($settings['collapse']) ) ? 1 : 0;
1412
+ $settings['gutter'] = ( ! empty($settings['gutter']) ) ? 1 : 0;
1413
+ $settings['light'] = ( ! empty($settings['light']) ) ? 1 : 0;
1414
+ $settings['smarttabs'] = ( ! empty($settings['smarttabs']) ) ? 1 : 0;
1415
+ $settings['toolbar'] = ( ! empty($settings['toolbar']) ) ? 1 : 0; // May be overridden below
1416
+ $settings['wraplines'] = ( ! empty($settings['wraplines']) ) ? 1 : 0; // 2.x only for now
1417
+
1418
+ // If the version changed, then force change the toolbar version setting
1419
+ if ( $settings['shversion'] != $this->settings['shversion'] ) {
1420
+ $settings['toolbar'] = ( 2 == $settings['shversion'] ) ? 1 : 0;
1421
+ }
1422
+
1423
+ if ( 'true' != $settings['padlinenumbers'] && 'false' != $settings['padlinenumbers'] )
1424
+ $settings['padlinenumbers'] = (int) $settings['padlinenumbers'];
1425
+
1426
+ $settings['classname'] = ( !empty($settings['classname']) ) ? preg_replace( '/[^ A-Za-z0-9_-]*/', '', $settings['classname'] ) : '';
1427
+ $settings['firstline'] = (int) ( ( !empty($settings['firstline']) ) ? $settings['firstline'] : $this->defaultsettings['firstline'] );
1428
+ $settings['tabsize'] = (int) ( ( !empty($settings['tabsize']) ) ? $settings['tabsize'] : $this->defaultsettings['tabsize'] );
1429
+ }
1430
+
1431
+ return $settings;
1432
+ }
1433
+ }
1434
+
1435
+
1436
+ // Start this plugin once all other plugins are fully loaded
1437
+ add_action( 'init', 'SyntaxHighlighter', 5 );
1438
+ function SyntaxHighlighter() {
1439
+ global $SyntaxHighlighter;
1440
+ $SyntaxHighlighter = new SyntaxHighlighter();
1441
  }
syntaxhighlighter3/LGPL-LICENSE CHANGED
@@ -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 CHANGED
@@ -1,20 +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.
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 CHANGED
@@ -1,138 +1,138 @@
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- (function() {
18
-
19
- var sh = SyntaxHighlighter;
20
-
21
- /**
22
- * Provides functionality to dynamically load only the brushes that a needed to render the current page.
23
- *
24
- * There are two syntaxes that autoload understands. For example:
25
- *
26
- * SyntaxHighlighter.autoloader(
27
- * [ 'applescript', 'Scripts/shBrushAppleScript.js' ],
28
- * [ 'actionscript3', 'as3', 'Scripts/shBrushAS3.js' ]
29
- * );
30
- *
31
- * or a more easily comprehendable one:
32
- *
33
- * SyntaxHighlighter.autoloader(
34
- * 'applescript Scripts/shBrushAppleScript.js',
35
- * 'actionscript3 as3 Scripts/shBrushAS3.js'
36
- * );
37
- */
38
- sh.autoloader = function()
39
- {
40
- var list = arguments,
41
- elements = sh.findElements(),
42
- brushes = {},
43
- scripts = {},
44
- all = SyntaxHighlighter.all,
45
- allCalled = false,
46
- allParams = null,
47
- i
48
- ;
49
-
50
- SyntaxHighlighter.all = function(params)
51
- {
52
- allParams = params;
53
- allCalled = true;
54
- };
55
-
56
- function addBrush(aliases, url)
57
- {
58
- for (var i = 0; i < aliases.length; i++)
59
- brushes[aliases[i]] = url;
60
- };
61
-
62
- function getAliases(item)
63
- {
64
- return item.pop
65
- ? item
66
- : item.split(/\s+/)
67
- ;
68
- }
69
-
70
- // create table of aliases and script urls
71
- for (i = 0; i < list.length; i++)
72
- {
73
- var aliases = getAliases(list[i]),
74
- url = aliases.pop()
75
- ;
76
-
77
- addBrush(aliases, url);
78
- }
79
-
80
- // dynamically add <script /> tags to the document body
81
- for (i = 0; i < elements.length; i++)
82
- {
83
- var url = brushes[elements[i].params.brush];
84
-
85
- if(url && scripts[url] === undefined)
86
- {
87
- if(elements[i].params['html-script'] === 'true')
88
- {
89
- if(scripts[brushes['xml']] === undefined) {
90
- loadScript(brushes['xml']);
91
- scripts[url] = false;
92
- }
93
- }
94
-
95
- scripts[url] = false;
96
- loadScript(url);
97
- }
98
- }
99
-
100
- function loadScript(url)
101
- {
102
- var script = document.createElement('script'),
103
- done = false
104
- ;
105
-
106
- script.src = url;
107
- script.type = 'text/javascript';
108
- script.language = 'javascript';
109
- script.onload = script.onreadystatechange = function()
110
- {
111
- if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete'))
112
- {
113
- done = true;
114
- scripts[url] = true;
115
- checkAll();
116
-
117
- // Handle memory leak in IE
118
- script.onload = script.onreadystatechange = null;
119
- script.parentNode.removeChild(script);
120
- }
121
- };
122
-
123
- // sync way of adding script tags to the page
124
- document.body.appendChild(script);
125
- };
126
-
127
- function checkAll()
128
- {
129
- for(var url in scripts)
130
- if (scripts[url] == false)
131
- return;
132
-
133
- if (allCalled)
134
- SyntaxHighlighter.highlight(allParams);
135
- };
136
- };
137
-
138
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ (function() {
18
+
19
+ var sh = SyntaxHighlighter;
20
+
21
+ /**
22
+ * Provides functionality to dynamically load only the brushes that a needed to render the current page.
23
+ *
24
+ * There are two syntaxes that autoload understands. For example:
25
+ *
26
+ * SyntaxHighlighter.autoloader(
27
+ * [ 'applescript', 'Scripts/shBrushAppleScript.js' ],
28
+ * [ 'actionscript3', 'as3', 'Scripts/shBrushAS3.js' ]
29
+ * );
30
+ *
31
+ * or a more easily comprehendable one:
32
+ *
33
+ * SyntaxHighlighter.autoloader(
34
+ * 'applescript Scripts/shBrushAppleScript.js',
35
+ * 'actionscript3 as3 Scripts/shBrushAS3.js'
36
+ * );
37
+ */
38
+ sh.autoloader = function()
39
+ {
40
+ var list = arguments,
41
+ elements = sh.findElements(),
42
+ brushes = {},
43
+ scripts = {},
44
+ all = SyntaxHighlighter.all,
45
+ allCalled = false,
46
+ allParams = null,
47
+ i
48
+ ;
49
+
50
+ SyntaxHighlighter.all = function(params)
51
+ {
52
+ allParams = params;
53
+ allCalled = true;
54
+ };
55
+
56
+ function addBrush(aliases, url)
57
+ {
58
+ for (var i = 0; i < aliases.length; i++)
59
+ brushes[aliases[i]] = url;
60
+ };
61
+
62
+ function getAliases(item)
63
+ {
64
+ return item.pop
65
+ ? item
66
+ : item.split(/\s+/)
67
+ ;
68
+ }
69
+
70
+ // create table of aliases and script urls
71
+ for (i = 0; i < list.length; i++)
72
+ {
73
+ var aliases = getAliases(list[i]),
74
+ url = aliases.pop()
75
+ ;
76
+
77
+ addBrush(aliases, url);
78
+ }
79
+
80
+ // dynamically add <script /> tags to the document body
81
+ for (i = 0; i < elements.length; i++)
82
+ {
83
+ var url = brushes[elements[i].params.brush];
84
+
85
+ if(url && scripts[url] === undefined)
86
+ {
87
+ if(elements[i].params['html-script'] === 'true')
88
+ {
89
+ if(scripts[brushes['xml']] === undefined) {
90
+ loadScript(brushes['xml']);
91
+ scripts[url] = false;
92
+ }
93
+ }
94
+
95
+ scripts[url] = false;
96
+ loadScript(url);
97
+ }
98
+ }
99
+
100
+ function loadScript(url)
101
+ {
102
+ var script = document.createElement('script'),
103
+ done = false
104
+ ;
105
+
106
+ script.src = url;
107
+ script.type = 'text/javascript';
108
+ script.language = 'javascript';
109
+ script.onload = script.onreadystatechange = function()
110
+ {
111
+ if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete'))
112
+ {
113
+ done = true;
114
+ scripts[url] = true;
115
+ checkAll();
116
+
117
+ // Handle memory leak in IE
118
+ script.onload = script.onreadystatechange = null;
119
+ script.parentNode.removeChild(script);
120
+ }
121
+ };
122
+
123
+ // sync way of adding script tags to the page
124
+ document.body.appendChild(script);
125
+ };
126
+
127
+ function checkAll()
128
+ {
129
+ for(var url in scripts)
130
+ if (scripts[url] == false)
131
+ return;
132
+
133
+ if (allCalled)
134
+ SyntaxHighlighter.highlight(allParams);
135
+ };
136
+ };
137
+
138
+ })();
syntaxhighlighter3/scripts/shBrushAS3.js CHANGED
@@ -1,59 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 CHANGED
@@ -1,100 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 ask attachment boolean class constant delete duplicate empty exists id integer list make message modal modified new no pi properties quit real record remove rest result reveal reverse run running save string 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, // operators
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|clipboard info|set the clipboard to|(the )?clipboard|entire contents|document( (edited|file|nib name))?|file( (name|type))?|(info )?for|giving up after|(name )?extension|return(ed)?|second(?! item)(s)?|list (disks|folder)|(Unicode )?text|(disk )?item(s)?|((current|list) )?view|((container|key) )?window|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|starting at|hidden( answer)?|open(ed| (location|untitled))?|error (handling|reporting)|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))?)|(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)|(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: 'color4' },
61
-
62
- { regex: /\b(?:tracks|paragraph|text item(s)?)\b/g,
63
- css: 'classes' },
64
-
65
- { regex: /\b(?:AppleScript|album|video kind|grouping|length|text item delimiters|quoted form|POSIX path(?= of))\b/g,
66
- css: 'properties' },
67
-
68
- { regex: /\b(?:run|exists|count)\b/g,
69
- css: 'commandNames' },
70
-
71
- { regex: /\b(?:POSIX (file|path))\b/g,
72
- css: 'additionClasses' },
73
-
74
- { regex: /\b(?:message|with (data|icon( (caution|note|stop))?|parameter(s)?|prompt|properties|seed|title)|regexp|string result|using( delimiters)?|default (answer|button|color|country code|entr(y|ies)|identifiers|items|name|location|script editor))\b/g,
75
- css: 'additionParameterNames' },
76
-
77
- { regex: /\b(?:display(ing| (alert|dialog|mode))?|choose( ((remote )?application|color|folder|from list|URL))?|(do( shell)?|load|run|store) script|re_compile|find text)\b/g,
78
- css: 'additionCommandNames' },
79
-
80
- { regex: /\b(?:xxx)\b/g,
81
- css: 'parameterNames' },
82
-
83
- { regex: /\b(?:true|false|none)\b/g,
84
- css: 'enumeratedValues' },
85
-
86
-
87
- { regex: new RegExp(this.getKeywords(specials), 'gm'), css: 'color3' },
88
- { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
89
- { regex: new RegExp(this.getKeywords(ordinals), 'gm'), css: 'keyword' }
90
- ];
91
- };
92
-
93
- Brush.prototype = new SyntaxHighlighter.Highlighter();
94
- Brush.aliases = ['applescript'];
95
-
96
- SyntaxHighlighter.brushes.AppleScript = Brush;
97
-
98
- // CommonJS
99
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 ask attachment boolean class constant delete duplicate empty exists id integer list make message modal modified new no pi properties quit real record remove rest result reveal reverse run running save string 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, // operators
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|clipboard info|set the clipboard to|(the )?clipboard|entire contents|document( (edited|file|nib name))?|file( (name|type))?|(info )?for|giving up after|(name )?extension|return(ed)?|second(?! item)(s)?|list (disks|folder)|(Unicode )?text|(disk )?item(s)?|((current|list) )?view|((container|key) )?window|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|starting at|hidden( answer)?|open(ed| (location|untitled))?|error (handling|reporting)|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))?)|(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)|(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: 'color4' },
61
+
62
+ { regex: /\b(?:tracks|paragraph|text item(s)?)\b/g,
63
+ css: 'classes' },
64
+
65
+ { regex: /\b(?:AppleScript|album|video kind|grouping|length|text item delimiters|quoted form|POSIX path(?= of))\b/g,
66
+ css: 'properties' },
67
+
68
+ { regex: /\b(?:run|exists|count)\b/g,
69
+ css: 'commandNames' },
70
+
71
+ { regex: /\b(?:POSIX (file|path))\b/g,
72
+ css: 'additionClasses' },
73
+
74
+ { regex: /\b(?:message|with (data|icon( (caution|note|stop))?|parameter(s)?|prompt|properties|seed|title)|regexp|string result|using( delimiters)?|default (answer|button|color|country code|entr(y|ies)|identifiers|items|name|location|script editor))\b/g,
75
+ css: 'additionParameterNames' },
76
+
77
+ { regex: /\b(?:display(ing| (alert|dialog|mode))?|choose( ((remote )?application|color|folder|from list|URL))?|(do( shell)?|load|run|store) script|re_compile|find text)\b/g,
78
+ css: 'additionCommandNames' },
79
+
80
+ { regex: /\b(?:xxx)\b/g,
81
+ css: 'parameterNames' },
82
+
83
+ { regex: /\b(?:true|false|none)\b/g,
84
+ css: 'enumeratedValues' },
85
+
86
+
87
+ { regex: new RegExp(this.getKeywords(specials), 'gm'), css: 'color3' },
88
+ { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
89
+ { regex: new RegExp(this.getKeywords(ordinals), 'gm'), css: 'keyword' }
90
+ ];
91
+ };
92
+
93
+ Brush.prototype = new SyntaxHighlighter.Highlighter();
94
+ Brush.aliases = ['applescript'];
95
+
96
+ SyntaxHighlighter.brushes.AppleScript = Brush;
97
+
98
+ // CommonJS
99
+ typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
100
  })();
syntaxhighlighter3/scripts/shBrushBash.js CHANGED
@@ -1,75 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21
-
22
- function Brush()
23
- {
24
- function hereDocProcess(match, regexInfo)
25
- {
26
- var constructor = SyntaxHighlighter.Match,
27
- result = []
28
- ;
29
- if (match.here_doc != null)
30
- result.push(new constructor(match.here_doc, match.index + match[0].indexOf(match.here_doc), 'string'));
31
-
32
- if (match.full_tag != null)
33
- result.push(new constructor(match.full_tag, match.index, 'preprocessor'));
34
-
35
- if (match.end_tag != null)
36
- result.push(new constructor(match.end_tag, match.index + match[0].lastIndexOf(match.end_tag), 'preprocessor'));
37
- return result;
38
- }
39
- var keywords = 'if fi then elif else for do done until while break continue case esac function return in eq ne ge le';
40
- var commands = 'alias apropos awk basename base64 bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chroot' +
41
- 'cksum clear cmp comm command cp cron crontab crypt csplit cut date dc dd ddrescue declare df ' +
42
- 'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval ' +
43
- 'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format ' +
44
- 'free fsck ftp gawk gcc gdb getconf getopts grep groups gzip hash head history hostname id ifconfig ' +
45
- 'import install join kill less let ln local locate logname logout look lpc lpr lprint ' +
46
- 'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools ' +
47
- 'mv nasm nc ndisasm netstat nice nl nohup nslookup objdump od open op passwd paste pathchk ping popd pr printcap ' +
48
- 'printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice ' +
49
- 'remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown ' +
50
- 'sleep sort source split ssh strace strings su sudo sum symlink sync tail tar tee test time ' +
51
- 'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias ' +
52
- 'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir ' +
53
- 'vi watch wc whereis which who whoami Wget xargs xxd yes chsh'
54
- ;
55
-
56
- this.regexList = [
57
- { regex: /^#!.*$/gm, css: 'preprocessor bold' },
58
- { regex: /\/[\w-\/]+/gm, css: 'plain' },
59
- { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
60
- { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
61
- { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
62
- { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
63
- { regex: new RegExp(this.getKeywords(commands), 'gm'), css: 'functions' }, // commands
64
- { regex: new XRegExp("(?<full_tag>(&lt;|<){2}(?<tag>\\w+)) .*$(?<here_doc>[\\s\\S]*)(?<end_tag>^\\k<tag>$)",'gm'), func: hereDocProcess }
65
- ];
66
- }
67
-
68
- Brush.prototype = new SyntaxHighlighter.Highlighter();
69
- Brush.aliases = ['bash', 'shell', 'sh'];
70
-
71
- SyntaxHighlighter.brushes.Bash = Brush;
72
-
73
- // CommonJS
74
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21
+
22
+ function Brush()
23
+ {
24
+ function hereDocProcess(match, regexInfo)
25
+ {
26
+ var constructor = SyntaxHighlighter.Match,
27
+ result = []
28
+ ;
29
+ if (match.here_doc != null)
30
+ result.push(new constructor(match.here_doc, match.index + match[0].indexOf(match.here_doc), 'string'));
31
+
32
+ if (match.full_tag != null)
33
+ result.push(new constructor(match.full_tag, match.index, 'preprocessor'));
34
+
35
+ if (match.end_tag != null)
36
+ result.push(new constructor(match.end_tag, match.index + match[0].lastIndexOf(match.end_tag), 'preprocessor'));
37
+ return result;
38
+ }
39
+ var keywords = 'if fi then elif else for do done until while break continue case esac function return in eq ne ge le';
40
+ var commands = 'alias apropos awk basename base64 bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chroot' +
41
+ 'cksum clear cmp comm command cp cron crontab crypt csplit cut date dc dd ddrescue declare df ' +
42
+ 'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval ' +
43
+ 'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format ' +
44
+ 'free fsck ftp gawk gcc gdb getconf getopts grep groups gzip hash head history hostname id ifconfig ' +
45
+ 'import install join kill less let ln local locate logname logout look lpc lpr lprint ' +
46
+ 'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools ' +
47
+ 'mv nasm nc ndisasm netstat nice nl nohup nslookup objdump od open op passwd paste pathchk ping popd pr printcap ' +
48
+ 'printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice ' +
49
+ 'remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown ' +
50
+ 'sleep sort source split ssh strace strings su sudo sum symlink sync tail tar tee test time ' +
51
+ 'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias ' +
52
+ 'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir ' +
53
+ 'vi watch wc whereis which who whoami Wget xargs xxd yes chsh'
54
+ ;
55
+
56
+ this.regexList = [
57
+ { regex: /^#!.*$/gm, css: 'preprocessor bold' },
58
+ { regex: /\/[\w-\/]+/gm, css: 'plain' },
59
+ { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
60
+ { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
61
+ { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
62
+ { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
63
+ { regex: new RegExp(this.getKeywords(commands), 'gm'), css: 'functions' }, // commands
64
+ { regex: new XRegExp("(?<full_tag>(&lt;|<){2}(?<tag>\\w+)) .*$(?<here_doc>[\\s\\S]*)(?<end_tag>^\\k<tag>$)",'gm'), func: hereDocProcess }
65
+ ];
66
+ }
67
+
68
+ Brush.prototype = new SyntaxHighlighter.Highlighter();
69
+ Brush.aliases = ['bash', 'shell', 'sh'];
70
+
71
+ SyntaxHighlighter.brushes.Bash = Brush;
72
+
73
+ // CommonJS
74
+ typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
75
+ })();
syntaxhighlighter3/scripts/shBrushCSharp.js CHANGED
@@ -1,65 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21
-
22
- function Brush()
23
- {
24
- var keywords = 'abstract as async await base bool break byte case catch char checked class const ' +
25
- 'continue decimal default delegate do double else enum event explicit volatile ' +
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 var ' +
31
- 'from group by into select let where orderby join on equals ascending descending';
32
-
33
- function fixComments(match, regexInfo)
34
- {
35
- var css = (match[0].indexOf("///") == 0)
36
- ? 'color1'
37
- : 'comments'
38
- ;
39
-
40
- return [new SyntaxHighlighter.Match(match[0], match.index, css)];
41
- }
42
-
43
- this.regexList = [
44
- { regex: SyntaxHighlighter.regexLib.singleLineCComments, func : fixComments }, // one line comments
45
- { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
46
- { regex: /@"(?:[^"]|"")*"/g, css: 'string' }, // @-quoted strings
47
- { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
48
- { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
49
- { regex: /^\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
50
- { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // c# keyword
51
- { regex: /\bpartial(?=\s+(?:class|interface|struct)\b)/g, css: 'keyword' }, // contextual keyword: 'partial'
52
- { regex: /\byield(?=\s+(?:return|break)\b)/g, css: 'keyword' } // contextual keyword: 'yield'
53
- ];
54
-
55
- this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
56
- };
57
-
58
- Brush.prototype = new SyntaxHighlighter.Highlighter();
59
- Brush.aliases = ['c#', 'c-sharp', 'csharp'];
60
-
61
- SyntaxHighlighter.brushes.CSharp = Brush;
62
-
63
- // CommonJS
64
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21
+
22
+ function Brush()
23
+ {
24
+ var keywords = 'abstract as async await base bool break byte case catch char checked class const ' +
25
+ 'continue decimal default delegate do double else enum event explicit volatile ' +
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 var ' +
31
+ 'from group by into select let where orderby join on equals ascending descending';
32
+
33
+ function fixComments(match, regexInfo)
34
+ {
35
+ var css = (match[0].indexOf("///") == 0)
36
+ ? 'color1'
37
+ : 'comments'
38
+ ;
39
+
40
+ return [new SyntaxHighlighter.Match(match[0], match.index, css)];
41
+ }
42
+
43
+ this.regexList = [
44
+ { regex: SyntaxHighlighter.regexLib.singleLineCComments, func : fixComments }, // one line comments
45
+ { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
46
+ { regex: /@"(?:[^"]|"")*"/g, css: 'string' }, // @-quoted strings
47
+ { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
48
+ { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
49
+ { regex: /^\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
50
+ { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // c# keyword
51
+ { regex: /\bpartial(?=\s+(?:class|interface|struct)\b)/g, css: 'keyword' }, // contextual keyword: 'partial'
52
+ { regex: /\byield(?=\s+(?:return|break)\b)/g, css: 'keyword' } // contextual keyword: 'yield'
53
+ ];
54
+
55
+ this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
56
+ };
57
+
58
+ Brush.prototype = new SyntaxHighlighter.Highlighter();
59
+ Brush.aliases = ['c#', 'c-sharp', 'csharp'];
60
+
61
+ SyntaxHighlighter.brushes.CSharp = Brush;
62
+
63
+ // CommonJS
64
+ typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
65
+ })();
syntaxhighlighter3/scripts/shBrushColdFusion.js CHANGED
@@ -1,100 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 CHANGED
@@ -1,97 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 char16_t char32_t 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 = 'alignas alignof auto break case catch class const constexpr decltype __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 noexcept nullptr ' +
56
- 'ref register reinterpret_cast return selectany ' +
57
- 'sizeof static static_cast static_assert struct switch template this ' +
58
- 'thread thread_local 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', 'cc', 'c++', 'c', 'h', 'hpp', 'h++'];
92
-
93
- SyntaxHighlighter.brushes.Cpp = Brush;
94
-
95
- // CommonJS
96
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 char16_t char32_t 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 = 'alignas alignof auto break case catch class const constexpr decltype __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 noexcept nullptr ' +
56
+ 'ref register reinterpret_cast return selectany ' +
57
+ 'sizeof static static_cast static_assert struct switch template this ' +
58
+ 'thread thread_local 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', 'cc', 'c++', 'c', 'h', 'hpp', 'h++'];
92
+
93
+ SyntaxHighlighter.brushes.Cpp = Brush;
94
+
95
+ // CommonJS
96
+ typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
97
+ })();
syntaxhighlighter3/scripts/shBrushCss.js CHANGED
@@ -1,91 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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: /(&lt;|<)\s*style.*?(&gt;|>)/gi,
80
- right: /(&lt;|<)\/\s*style\s*(&gt;|>)/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
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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: /(&lt;|<)\s*style.*?(&gt;|>)/gi,
80
+ right: /(&lt;|<)\/\s*style\s*(&gt;|>)/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 CHANGED
@@ -1,55 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 CHANGED
@@ -1,41 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21
-
22
- function Brush()
23
- {
24
- this.regexList = [
25
- { regex: /^\+\+\+ .*$/gm, css: 'color2' }, // new file
26
- { regex: /^\-\-\- .*$/gm, css: 'color2' }, // old file
27
- { regex: /^\s.*$/gm, css: 'color1' }, // unchanged
28
- { regex: /^@@.*@@.*$/gm, css: 'variable' }, // location
29
- { regex: /^\+.*$/gm, css: 'string' }, // additions
30
- { regex: /^\-.*$/gm, css: 'color3' } // deletions
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
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21
+
22
+ function Brush()
23
+ {
24
+ this.regexList = [
25
+ { regex: /^\+\+\+ .*$/gm, css: 'color2' }, // new file
26
+ { regex: /^\-\-\- .*$/gm, css: 'color2' }, // old file
27
+ { regex: /^\s.*$/gm, css: 'color1' }, // unchanged
28
+ { regex: /^@@.*@@.*$/gm, css: 'variable' }, // location
29
+ { regex: /^\+.*$/gm, css: 'string' }, // additions
30
+ { regex: /^\-.*$/gm, css: 'color3' } // deletions
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 CHANGED
@@ -1,52 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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.Erlang = Brush;
49
-
50
- // CommonJS
51
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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.Erlang = Brush;
49
+
50
+ // CommonJS
51
+ typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
52
+ })();
syntaxhighlighter3/scripts/shBrushGroovy.js CHANGED
@@ -1,67 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 CHANGED
@@ -1,52 +1,53 @@
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21
-
22
- function Brush()
23
- {
24
- var keywords = 'break case catch class continue ' +
25
- 'default delete do else enum export extends false ' +
26
- 'for function if implements import in instanceof ' +
27
- 'interface let new null package private protected ' +
28
- 'static return super switch ' +
29
- 'this throw true try typeof var while with yield';
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', 'json'];
47
-
48
- SyntaxHighlighter.brushes.JScript = Brush;
49
-
50
- // CommonJS
51
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21
+
22
+ function Brush()
23
+ {
24
+ var keywords = 'break case catch class continue ' +
25
+ 'default delete do else enum export extends false ' +
26
+ 'for function if implements import in instanceof ' +
27
+ 'interface let new null package private protected ' +
28
+ 'static return super switch ' +
29
+ 'this throw true try typeof var while with yield ' +
30
+ 'async await';
31
+
32
+ var r = SyntaxHighlighter.regexLib;
33
+
34
+ this.regexList = [
35
+ { regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
36
+ { regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
37
+ { regex: r.singleLineCComments, css: 'comments' }, // one line comments
38
+ { regex: r.multiLineCComments, css: 'comments' }, // multiline comments
39
+ { regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
40
+ { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords
41
+ ];
42
+
43
+ this.forHtmlScript(r.scriptScriptTags);
44
+ };
45
+
46
+ Brush.prototype = new SyntaxHighlighter.Highlighter();
47
+ Brush.aliases = ['js', 'jscript', 'javascript', 'json'];
48
+
49
+ SyntaxHighlighter.brushes.JScript = Brush;
50
+
51
+ // CommonJS
52
+ typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
53
+ })();
syntaxhighlighter3/scripts/shBrushJava.js CHANGED
@@ -1,57 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 : /(&lt;|<)%[@!=]?/g,
46
- right : /%(&gt;|>)/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
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 : /(&lt;|<)%[@!=]?/g,
46
+ right : /%(&gt;|>)/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 CHANGED
@@ -1,58 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 CHANGED
@@ -1,96 +1,96 @@
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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
- // feature
47
- 'say';
48
-
49
- var keywords =
50
- 'bless caller continue dbmclose dbmopen die do dump else elsif eval exit ' +
51
- 'for foreach goto if import last local my next no our package redo ref ' +
52
- 'require return sub tie tied unless untie until use wantarray while ' +
53
- // feature
54
- 'given when default ' +
55
- // Try::Tiny
56
- 'try catch finally ' +
57
- // Moose
58
- 'has extends with before after around override augment';
59
-
60
- this.regexList = [
61
- { regex: /(<<|&lt;&lt;)((\w+)|(['"])(.+?)\4)[\s\S]+?\n\3\5\n/g, css: 'string' }, // here doc (maybe html encoded)
62
- { regex: /#.*$/gm, css: 'comments' },
63
- { regex: /^#!.*\n/g, css: 'preprocessor' }, // shebang
64
- { regex: /-?\w+(?=\s*=(>|&gt;))/g, css: 'string' }, // fat comma
65
-
66
- // is this too much?
67
- { regex: /\bq[qwxr]?\([\s\S]*?\)/g, css: 'string' }, // quote-like operators ()
68
- { regex: /\bq[qwxr]?\{[\s\S]*?\}/g, css: 'string' }, // quote-like operators {}
69
- { regex: /\bq[qwxr]?\[[\s\S]*?\]/g, css: 'string' }, // quote-like operators []
70
- { regex: /\bq[qwxr]?(<|&lt;)[\s\S]*?(>|&gt;)/g, css: 'string' }, // quote-like operators <>
71
- { regex: /\bq[qwxr]?([^\w({<[])[\s\S]*?\1/g, css: 'string' }, // quote-like operators non-paired
72
-
73
- { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
74
- { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
75
- // currently ignoring single quote package separator and utf8 names
76
- { regex: /(?:&amp;|[$@%*]|\$#)\$?[a-zA-Z_](\w+|::)*/g, css: 'variable' },
77
- { regex: /\b__(?:END|DATA)__\b[\s\S]*$/g, css: 'comments' },
78
-
79
- // don't capture the newline after =cut so that =cut\n\n=head1 will start a new pod section
80
- { regex: /(^|\n)=\w[\s\S]*?(\n=cut\s*(?=\n)|$)/g, css: 'comments' }, // pod
81
-
82
- { regex: new RegExp(this.getKeywords(funcs), 'gm'), css: 'functions' },
83
- { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
84
- ];
85
-
86
- this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
87
- }
88
-
89
- Brush.prototype = new SyntaxHighlighter.Highlighter();
90
- Brush.aliases = ['perl', 'Perl', 'pl'];
91
-
92
- SyntaxHighlighter.brushes.Perl = Brush;
93
-
94
- // CommonJS
95
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
96
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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
+ // feature
47
+ 'say';
48
+
49
+ var keywords =
50
+ 'bless caller continue dbmclose dbmopen die do dump else elsif eval exit ' +
51
+ 'for foreach goto if import last local my next no our package redo ref ' +
52
+ 'require return sub tie tied unless untie until use wantarray while ' +
53
+ // feature
54
+ 'given when default ' +
55
+ // Try::Tiny
56
+ 'try catch finally ' +
57
+ // Moose
58
+ 'has extends with before after around override augment';
59
+
60
+ this.regexList = [
61
+ { regex: /(<<|&lt;&lt;)((\w+)|(['"])(.+?)\4)[\s\S]+?\n\3\5\n/g, css: 'string' }, // here doc (maybe html encoded)
62
+ { regex: /#.*$/gm, css: 'comments' },
63
+ { regex: /^#!.*\n/g, css: 'preprocessor' }, // shebang
64
+ { regex: /-?\w+(?=\s*=(>|&gt;))/g, css: 'string' }, // fat comma
65
+
66
+ // is this too much?
67
+ { regex: /\bq[qwxr]?\([\s\S]*?\)/g, css: 'string' }, // quote-like operators ()
68
+ { regex: /\bq[qwxr]?\{[\s\S]*?\}/g, css: 'string' }, // quote-like operators {}
69
+ { regex: /\bq[qwxr]?\[[\s\S]*?\]/g, css: 'string' }, // quote-like operators []
70
+ { regex: /\bq[qwxr]?(<|&lt;)[\s\S]*?(>|&gt;)/g, css: 'string' }, // quote-like operators <>
71
+ { regex: /\bq[qwxr]?([^\w({<[])[\s\S]*?\1/g, css: 'string' }, // quote-like operators non-paired
72
+
73
+ { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
74
+ { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
75
+ // currently ignoring single quote package separator and utf8 names
76
+ { regex: /(?:&amp;|[$@%*]|\$#)\$?[a-zA-Z_](\w+|::)*/g, css: 'variable' },
77
+ { regex: /\b__(?:END|DATA)__\b[\s\S]*$/g, css: 'comments' },
78
+
79
+ // don't capture the newline after =cut so that =cut\n\n=head1 will start a new pod section
80
+ { regex: /(^|\n)=\w[\s\S]*?(\n=cut\s*(?=\n)|$)/g, css: 'comments' }, // pod
81
+
82
+ { regex: new RegExp(this.getKeywords(funcs), 'gm'), css: 'functions' },
83
+ { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
84
+ ];
85
+
86
+ this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
87
+ }
88
+
89
+ Brush.prototype = new SyntaxHighlighter.Highlighter();
90
+ Brush.aliases = ['perl', 'Perl', 'pl'];
91
+
92
+ SyntaxHighlighter.brushes.Perl = Brush;
93
+
94
+ // CommonJS
95
+ typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
96
+ })();
syntaxhighlighter3/scripts/shBrushPhp.js CHANGED
@@ -1,88 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 finally for foreach ' +
61
- 'function global goto if implements include include_once interface instanceof insteadof namespace new ' +
62
- 'old_function or private protected public return require require_once static switch ' +
63
- 'trait throw try use var while xor yield ';
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
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 finally for foreach ' +
61
+ 'function global goto if implements include include_once interface instanceof insteadof namespace new ' +
62
+ 'old_function or private protected public return require require_once static switch ' +
63
+ 'trait throw try use var while xor yield ';
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 CHANGED
@@ -1,33 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 CHANGED
@@ -1,75 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21
-
22
- function Brush()
23
- {
24
- // Contributed by Joel 'Jaykul' Bennett, http://PoshCode.org | http://HuddledMasses.org
25
- var keywords = 'while validateset validaterange validatepattern validatelength validatecount ' +
26
- 'until trap switch return ref process param parameter in if global: '+
27
- 'function foreach for finally filter end elseif else dynamicparam do default ' +
28
- 'continue cmdletbinding break begin alias \\? % #script #private #local #global '+
29
- 'mandatory parametersetname position valuefrompipeline ' +
30
- 'valuefrompipelinebypropertyname valuefromremainingarguments helpmessage ';
31
-
32
- var operators = ' and as band bnot bor bxor casesensitive ccontains ceq cge cgt cle ' +
33
- 'clike clt cmatch cne cnotcontains cnotlike cnotmatch contains ' +
34
- 'creplace eq exact f file ge gt icontains ieq ige igt ile ilike ilt ' +
35
- 'imatch ine inotcontains inotlike inotmatch ireplace is isnot le like ' +
36
- 'lt match ne not notcontains notlike notmatch or regex replace wildcard';
37
-
38
- var verbs = 'write where wait use update unregister undo trace test tee take suspend ' +
39
- 'stop start split sort skip show set send select scroll resume restore ' +
40
- 'restart resolve resize reset rename remove register receive read push ' +
41
- 'pop ping out new move measure limit join invoke import group get format ' +
42
- 'foreach export expand exit enter enable disconnect disable debug cxnew ' +
43
- 'copy convertto convertfrom convert connect complete compare clear ' +
44
- 'checkpoint aggregate add';
45
-
46
- // I can't find a way to match the comment based help in multi-line comments, because SH won't highlight in highlights, and javascript doesn't support lookbehind
47
- var commenthelp = ' component description example externalhelp forwardhelpcategory forwardhelptargetname forwardhelptargetname functionality inputs link notes outputs parameter remotehelprunspace role synopsis';
48
-
49
- this.regexList = [
50
- { regex: new RegExp('^\\s*#[#\\s]*\\.('+this.getKeywords(commenthelp)+').*$', 'gim'), css: 'preprocessor help bold' }, // comment-based help
51
- { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
52
- { regex: /(&lt;|<)#[\s\S]*?#(&gt;|>)/gm, css: 'comments here' }, // multi-line comments
53
-
54
- { regex: new RegExp('@"\\n[\\s\\S]*?\\n"@', 'gm'), css: 'script string here' }, // double quoted here-strings
55
- { regex: new RegExp("@'\\n[\\s\\S]*?\\n'@", 'gm'), css: 'script string single here' }, // single quoted here-strings
56
- { regex: new RegExp('"(?:\\$\\([^\\)]*\\)|[^"]|`"|"")*[^`]"','g'), css: 'string' }, // double quoted strings
57
- { regex: new RegExp("'(?:[^']|'')*'", 'g'), css: 'string single' }, // single quoted strings
58
-
59
- { regex: new RegExp('[\\$|@|@@](?:(?:global|script|private|env):)?[A-Z0-9_]+', 'gi'), css: 'variable' }, // $variables
60
- { regex: new RegExp('(?:\\b'+verbs.replace(/ /g, '\\b|\\b')+')-[a-zA-Z_][a-zA-Z0-9_]*', 'gmi'), css: 'functions' }, // functions and cmdlets
61
- { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' }, // keywords
62
- { regex: new RegExp('-'+this.getKeywords(operators), 'gmi'), css: 'operator value' }, // operators
63
- { regex: new RegExp('\\[[A-Z_\\[][A-Z0-9_. `,\\[\\]]*\\]', 'gi'), css: 'constants' }, // .Net [Type]s
64
- { regex: new RegExp('\\s+-(?!'+this.getKeywords(operators)+')[a-zA-Z_][a-zA-Z0-9_]*', 'gmi'), css: 'color1' }, // parameters
65
- ];
66
- };
67
-
68
- Brush.prototype = new SyntaxHighlighter.Highlighter();
69
- Brush.aliases = ['powershell', 'ps', 'posh'];
70
-
71
- SyntaxHighlighter.brushes.PowerShell = Brush;
72
-
73
- // CommonJS
74
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
21
+
22
+ function Brush()
23
+ {
24
+ // Contributed by Joel 'Jaykul' Bennett, http://PoshCode.org | http://HuddledMasses.org
25
+ var keywords = 'while validateset validaterange validatepattern validatelength validatecount ' +
26
+ 'until trap switch return ref process param parameter in if global: '+
27
+ 'function foreach for finally filter end elseif else dynamicparam do default ' +
28
+ 'continue cmdletbinding break begin alias \\? % #script #private #local #global '+
29
+ 'mandatory parametersetname position valuefrompipeline ' +
30
+ 'valuefrompipelinebypropertyname valuefromremainingarguments helpmessage ';
31
+
32
+ var operators = ' and as band bnot bor bxor casesensitive ccontains ceq cge cgt cle ' +
33
+ 'clike clt cmatch cne cnotcontains cnotlike cnotmatch contains ' +
34
+ 'creplace eq exact f file ge gt icontains ieq ige igt ile ilike ilt ' +
35
+ 'imatch ine inotcontains inotlike inotmatch ireplace is isnot le like ' +
36
+ 'lt match ne not notcontains notlike notmatch or regex replace wildcard';
37
+
38
+ var verbs = 'write where wait use update unregister undo trace test tee take suspend ' +
39
+ 'stop start split sort skip show set send select scroll resume restore ' +
40
+ 'restart resolve resize reset rename remove register receive read push ' +
41
+ 'pop ping out new move measure limit join invoke import group get format ' +
42
+ 'foreach export expand exit enter enable disconnect disable debug cxnew ' +
43
+ 'copy convertto convertfrom convert connect complete compare clear ' +
44
+ 'checkpoint aggregate add';
45
+
46
+ // I can't find a way to match the comment based help in multi-line comments, because SH won't highlight in highlights, and javascript doesn't support lookbehind
47
+ var commenthelp = ' component description example externalhelp forwardhelpcategory forwardhelptargetname forwardhelptargetname functionality inputs link notes outputs parameter remotehelprunspace role synopsis';
48
+
49
+ this.regexList = [
50
+ { regex: new RegExp('^\\s*#[#\\s]*\\.('+this.getKeywords(commenthelp)+').*$', 'gim'), css: 'preprocessor help bold' }, // comment-based help
51
+ { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
52
+ { regex: /(&lt;|<)#[\s\S]*?#(&gt;|>)/gm, css: 'comments here' }, // multi-line comments
53
+
54
+ { regex: new RegExp('@"\\n[\\s\\S]*?\\n"@', 'gm'), css: 'script string here' }, // double quoted here-strings
55
+ { regex: new RegExp("@'\\n[\\s\\S]*?\\n'@", 'gm'), css: 'script string single here' }, // single quoted here-strings
56
+ { regex: new RegExp('"(?:\\$\\([^\\)]*\\)|[^"]|`"|"")*[^`]"','g'), css: 'string' }, // double quoted strings
57
+ { regex: new RegExp("'(?:[^']|'')*'", 'g'), css: 'string single' }, // single quoted strings
58
+
59
+ { regex: new RegExp('[\\$|@|@@](?:(?:global|script|private|env):)?[A-Z0-9_]+', 'gi'), css: 'variable' }, // $variables
60
+ { regex: new RegExp('(?:\\b'+verbs.replace(/ /g, '\\b|\\b')+')-[a-zA-Z_][a-zA-Z0-9_]*', 'gmi'), css: 'functions' }, // functions and cmdlets
61
+ { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' }, // keywords
62
+ { regex: new RegExp('-'+this.getKeywords(operators), 'gmi'), css: 'operator value' }, // operators
63
+ { regex: new RegExp('\\[[A-Z_\\[][A-Z0-9_. `,\\[\\]]*\\]', 'gi'), css: 'constants' }, // .Net [Type]s
64
+ { regex: new RegExp('\\s+-(?!'+this.getKeywords(operators)+')[a-zA-Z_][a-zA-Z0-9_]*', 'gmi'), css: 'color1' }, // parameters
65
+ ];
66
+ };
67
+
68
+ Brush.prototype = new SyntaxHighlighter.Highlighter();
69
+ Brush.aliases = ['powershell', 'ps', 'posh'];
70
+
71
+ SyntaxHighlighter.brushes.PowerShell = Brush;
72
+
73
+ // CommonJS
74
+ typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
75
+ })();
syntaxhighlighter3/scripts/shBrushPython.js CHANGED
@@ -1,64 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 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
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 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 CHANGED
@@ -1,55 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 CHANGED
@@ -1,99 +1,99 @@
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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
- function getKeywordsPrependedBy(keywords, by)
35
- {
36
- return '(?:' + keywords.replace(/^\s+|\s+$/g, '').replace(/\s+/g, '|' + by + '\\b').replace(/^/, by + '\\b') + ')\\b';
37
- }
38
-
39
- var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' +
40
- 'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +
41
- 'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +
42
- 'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +
43
- 'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' +
44
- 'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +
45
- 'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +
46
- 'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +
47
- 'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' +
48
- 'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' +
49
- 'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +
50
- 'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' +
51
- 'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' +
52
- 'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index zoom';
53
-
54
- var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+
55
- 'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+
56
- 'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero digits disc dotted double '+
57
- 'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+
58
- 'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+
59
- 'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+
60
- 'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+
61
- 'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+
62
- 'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+
63
- 'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+
64
- 'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+
65
- 'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+
66
- 'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+
67
- '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';
68
-
69
- var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif';
70
-
71
- var statements = 'important default';
72
- var preprocessor = 'import extend debug warn if else for while mixin function include content media';
73
-
74
- var r = SyntaxHighlighter.regexLib;
75
-
76
- this.regexList = [
77
- { regex: r.multiLineCComments, css: 'comments' }, // multiline comments
78
- { regex: r.singleLineCComments, css: 'comments' }, // singleline comments
79
- { regex: r.doubleQuotedString, css: 'string' }, // double quoted strings
80
- { regex: r.singleQuotedString, css: 'string' }, // single quoted strings
81
- { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors
82
- { regex: /\b(-?\d+)(\.\d+)?(px|em|rem|pt|\:|\%|)\b/g, css: 'value' }, // sizes
83
- { regex: /\$[\w-]+/g, css: 'variable' }, // variables
84
- { regex: new RegExp(getKeywordsPrependedBy(statements, '!'), 'g'), css: 'color3' }, // statements
85
- { regex: new RegExp(getKeywordsPrependedBy(preprocessor, '@'), 'g'), css: 'preprocessor' }, // preprocessor
86
- { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
87
- { regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values
88
- { regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts
89
- ];
90
- };
91
-
92
- Brush.prototype = new SyntaxHighlighter.Highlighter();
93
- Brush.aliases = ['sass', 'scss'];
94
-
95
- SyntaxHighlighter.brushes.Sass = Brush;
96
-
97
- // CommonJS
98
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
99
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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
+ function getKeywordsPrependedBy(keywords, by)
35
+ {
36
+ return '(?:' + keywords.replace(/^\s+|\s+$/g, '').replace(/\s+/g, '|' + by + '\\b').replace(/^/, by + '\\b') + ')\\b';
37
+ }
38
+
39
+ var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' +
40
+ 'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +
41
+ 'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +
42
+ 'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +
43
+ 'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' +
44
+ 'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +
45
+ 'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +
46
+ 'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +
47
+ 'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' +
48
+ 'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' +
49
+ 'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +
50
+ 'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' +
51
+ 'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' +
52
+ 'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index zoom';
53
+
54
+ var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+
55
+ 'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+
56
+ 'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero digits disc dotted double '+
57
+ 'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+
58
+ 'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+
59
+ 'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+
60
+ 'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+
61
+ 'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+
62
+ 'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+
63
+ 'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+
64
+ 'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+
65
+ 'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+
66
+ 'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+
67
+ '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';
68
+
69
+ var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif';
70
+
71
+ var statements = 'important default';
72
+ var preprocessor = 'import extend debug warn if else for while mixin function include content media';
73
+
74
+ var r = SyntaxHighlighter.regexLib;
75
+
76
+ this.regexList = [
77
+ { regex: r.multiLineCComments, css: 'comments' }, // multiline comments
78
+ { regex: r.singleLineCComments, css: 'comments' }, // singleline comments
79
+ { regex: r.doubleQuotedString, css: 'string' }, // double quoted strings
80
+ { regex: r.singleQuotedString, css: 'string' }, // single quoted strings
81
+ { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors
82
+ { regex: /\b(-?\d+)(\.\d+)?(px|em|rem|pt|\:|\%|)\b/g, css: 'value' }, // sizes
83
+ { regex: /\$[\w-]+/g, css: 'variable' }, // variables
84
+ { regex: new RegExp(getKeywordsPrependedBy(statements, '!'), 'g'), css: 'color3' }, // statements
85
+ { regex: new RegExp(getKeywordsPrependedBy(preprocessor, '@'), 'g'), css: 'preprocessor' }, // preprocessor
86
+ { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
87
+ { regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values
88
+ { regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts
89
+ ];
90
+ };
91
+
92
+ Brush.prototype = new SyntaxHighlighter.Highlighter();
93
+ Brush.aliases = ['sass', 'scss'];
94
+
95
+ SyntaxHighlighter.brushes.Sass = Brush;
96
+
97
+ // CommonJS
98
+ typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
99
+ })();
syntaxhighlighter3/scripts/shBrushScala.js CHANGED
@@ -1,51 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 CHANGED
@@ -1,67 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 comments
50
- { regex: /\/\*([^\*][\s\S]*?)?\*\//gm, css: 'comments' }, // multi line comments
51
- { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
52
- { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
53
- { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'color2' }, // functions
54
- { regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
55
- { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
56
- ];
57
- };
58
-
59
- Brush.prototype = new SyntaxHighlighter.Highlighter();
60
- Brush.aliases = ['sql'];
61
-
62
- SyntaxHighlighter.brushes.Sql = Brush;
63
-
64
- // CommonJS
65
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
66
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 comments
50
+ { regex: /\/\*([^\*][\s\S]*?)?\*\//gm, css: 'comments' }, // multi line comments
51
+ { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
52
+ { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
53
+ { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'color2' }, // functions
54
+ { regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
55
+ { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
56
+ ];
57
+ };
58
+
59
+ Brush.prototype = new SyntaxHighlighter.Highlighter();
60
+ Brush.aliases = ['sql'];
61
+
62
+ SyntaxHighlighter.brushes.Sql = Brush;
63
+
64
+ // CommonJS
65
+ typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
66
+ })();
67
+
syntaxhighlighter3/scripts/shBrushVb.js CHANGED
@@ -1,56 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 CHANGED
@@ -1,71 +1,71 @@
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- ;(function()
18
- {
19
- // CommonJS
20
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 = XRegExp.exec(code, XRegExp('(&lt;|<)[\\s\\/\\?!]*(?<name>[:\\w-\\.]+)', 'xg')),
29
- result = []
30
- ;
31
-
32
- if (match.attributes != null)
33
- {
34
- var attributes,
35
- pos = 0,
36
- regex = XRegExp('(?<name> [\\w:.-]+)' +
37
- '\\s*=\\s*' +
38
- '(?<value> ".*?"|\'.*?\'|\\w+)',
39
- 'xg');
40
-
41
- while ((attributes = XRegExp.exec(code, regex, pos)) != null)
42
- {
43
- result.push(new constructor(attributes.name, match.index + attributes.index, 'color1'));
44
- result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string'));
45
- pos = attributes.index + attributes[0].length;
46
- }
47
- }
48
-
49
- if (tag != null)
50
- result.push(
51
- new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword')
52
- );
53
-
54
- return result;
55
- }
56
-
57
- this.regexList = [
58
- { regex: XRegExp('(\\&lt;|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\&gt;|>)', 'gm'), css: 'color2' }, // <![ ... [ ... ]]>
59
- { regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // <!-- ... -->
60
- { regex: XRegExp('(&lt;|<)[\\s\\/\\?!]*(\\w+)(?<attributes>.*?)[\\s\\/\\?]*(&gt;|>)', 'sg'), func: process }
61
- ];
62
- };
63
-
64
- Brush.prototype = new SyntaxHighlighter.Highlighter();
65
- Brush.aliases = ['xml', 'xhtml', 'xslt', 'html', 'plist'];
66
-
67
- SyntaxHighlighter.brushes.Xml = Brush;
68
-
69
- // CommonJS
70
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
71
- })();
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ ;(function()
18
+ {
19
+ // CommonJS
20
+ SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? 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 = XRegExp.exec(code, XRegExp('(&lt;|<)[\\s\\/\\?!]*(?<name>[:\\w-\\.]+)', 'xg')),
29
+ result = []
30
+ ;
31
+
32
+ if (match.attributes != null)
33
+ {
34
+ var attributes,
35
+ pos = 0,
36
+ regex = XRegExp('(?<name> [\\w:.-]+)' +
37
+ '\\s*=\\s*' +
38
+ '(?<value> ".*?"|\'.*?\'|\\w+)',
39
+ 'xg');
40
+
41
+ while ((attributes = XRegExp.exec(code, regex, pos)) != null)
42
+ {
43
+ result.push(new constructor(attributes.name, match.index + attributes.index, 'color1'));
44
+ result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string'));
45
+ pos = attributes.index + attributes[0].length;
46
+ }
47
+ }
48
+
49
+ if (tag != null)
50
+ result.push(
51
+ new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword')
52
+ );
53
+
54
+ return result;
55
+ }
56
+
57
+ this.regexList = [
58
+ { regex: XRegExp('(\\&lt;|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\&gt;|>)', 'gm'), css: 'color2' }, // <![ ... [ ... ]]>
59
+ { regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // <!-- ... -->
60
+ { regex: XRegExp('(&lt;|<)[\\s\\/\\?!]*(\\w+)(?<attributes>.*?)[\\s\\/\\?]*(&gt;|>)', 'sg'), func: process }
61
+ ];
62
+ };
63
+
64
+ Brush.prototype = new SyntaxHighlighter.Highlighter();
65
+ Brush.aliases = ['xml', 'xhtml', 'xslt', 'html', 'plist'];
66
+
67
+ SyntaxHighlighter.brushes.Xml = Brush;
68
+
69
+ // CommonJS
70
+ typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
71
+ })();
syntaxhighlighter3/scripts/shCore.js CHANGED
@@ -1,17 +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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
  var XRegExp;if(XRegExp=XRegExp||function(e){"use strict";function t(e,t,n){var r;for(r in c.prototype)c.prototype.hasOwnProperty(r)&&(e[r]=c.prototype[r]);return e.xregexp={captureNames:t,isNative:!!n},e}function n(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}function r(e,r,i){if(!c.isRegExp(e))throw new TypeError("type RegExp expected");var a=p.replace.call(n(e)+(r||""),E,"");return i&&(a=p.replace.call(a,RegExp("["+i+"]+","g"),"")),e=e.xregexp&&!e.xregexp.isNative?t(c(e.source,a),e.xregexp.captureNames?e.xregexp.captureNames.slice(0):null):t(RegExp(e.source,a),null,!0)}function i(e,t){var n=e.length;if(Array.prototype.lastIndexOf)return e.lastIndexOf(t);for(;n--;)if(e[n]===t)return n;return-1}function a(e,t){return Object.prototype.toString.call(e).toLowerCase()==="[object "+t+"]"}function l(e){return e=e||{},"all"===e||e.all?e={natives:!0,extensibility:!0}:a(e,"string")&&(e=c.forEach(e,/[^\s,]+/,function(e){this[e]=!0},{})),e}function s(e,t,n,r){var i,a,l=m.length,s=null;R=!0;try{for(;l--;)if(a=m[l],!("all"!==a.scope&&a.scope!==n||a.trigger&&!a.trigger.call(r))&&(a.pattern.lastIndex=t,i=d.exec.call(a.pattern,e),i&&i.index===t)){s={output:a.handler.call(r,i,n),match:i};break}}catch(o){throw o}finally{R=!1}return s}function o(e){c.addToken=g[e?"on":"off"],f.extensibility=e}function u(e){RegExp.prototype.exec=(e?d:p).exec,RegExp.prototype.test=(e?d:p).test,String.prototype.match=(e?d:p).match,String.prototype.replace=(e?d:p).replace,String.prototype.split=(e?d:p).split,f.natives=e}var c,g,h,f={natives:!1,extensibility:!1},p={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},d={},x={},m=[],v="default",b="class",y={"default":/^(?:\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S])|\(\?[:=!]|[?*+]\?|{\d+(?:,\d*)?}\??)/,"class":/^(?:\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S]))/},w=/\$(?:{([\w$]+)}|(\d\d?|[\s\S]))/g,E=/([\s\S])(?=[\s\S]*\1)/g,N=/^(?:[?*+]|{\d+(?:,\d*)?})\??/,S=p.exec.call(/()??/,"")[1]===e,H=RegExp.prototype.sticky!==e,R=!1,T="gim"+(H?"y":"");return c=function(n,i){if(c.isRegExp(n)){if(i!==e)throw new TypeError("can't supply flags when constructing one RegExp from another");return r(n)}if(R)throw Error("can't call the XRegExp constructor within token definition functions");var a,l,o,u=[],g=v,h={hasNamedCapture:!1,captureNames:[],hasFlag:function(e){return i.indexOf(e)>-1}},f=0;if(n=n===e?"":n+"",i=i===e?"":i+"",p.match.call(i,E))throw new SyntaxError("invalid duplicate regular expression flag");for(n=p.replace.call(n,/^\(\?([\w$]+)\)/,function(e,t){if(p.test.call(/[gy]/,t))throw new SyntaxError("can't use flag g or y in mode modifier");return i=p.replace.call(i+t,E,""),""}),c.forEach(i,/[\s\S]/,function(e){if(0>T.indexOf(e[0]))throw new SyntaxError("invalid regular expression flag "+e[0])});n.length>f;)a=s(n,f,g,h),a?(u.push(a.output),f+=a.match[0].length||1):(l=p.exec.call(y[g],n.slice(f)),l?(u.push(l[0]),f+=l[0].length):(o=n.charAt(f),"["===o?g=b:"]"===o&&(g=v),u.push(o),++f));return t(RegExp(u.join(""),p.replace.call(i,/[^gimy]+/g,"")),h.hasNamedCapture?h.captureNames:null)},g={on:function(e,t,n){n=n||{},e&&m.push({pattern:r(e,"g"+(H?"y":"")),handler:t,scope:n.scope||v,trigger:n.trigger||null}),n.customFlags&&(T=p.replace.call(T+n.customFlags,E,""))},off:function(){throw Error("extensibility must be installed before using addToken")}},c.addToken=g.off,c.cache=function(e,t){var n=e+"/"+(t||"");return x[n]||(x[n]=c(e,t))},c.escape=function(e){return p.replace.call(e,/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},c.exec=function(e,t,n,i){var a,l=r(t,"g"+(i&&H?"y":""),i===!1?"y":"");return l.lastIndex=n=n||0,a=d.exec.call(l,e),i&&a&&a.index!==n&&(a=null),t.global&&(t.lastIndex=a?l.lastIndex:0),a},c.forEach=function(e,t,n,r){for(var i,a=0,l=-1;i=c.exec(e,t,a);)n.call(r,i,++l,e,t),a=i.index+(i[0].length||1);return r},c.globalize=function(e){return r(e,"g")},c.install=function(e){e=l(e),!f.natives&&e.natives&&u(!0),!f.extensibility&&e.extensibility&&o(!0)},c.isInstalled=function(e){return!!f[e]},c.isRegExp=function(e){return a(e,"regexp")},c.matchChain=function(e,t){return function n(e,r){var i,a=t[r].regex?t[r]:{regex:t[r]},l=[],s=function(e){l.push(a.backref?e[a.backref]||"":e[0])};for(i=0;e.length>i;++i)c.forEach(e[i],a.regex,s);return r!==t.length-1&&l.length?n(l,r+1):l}([e],0)},c.replace=function(t,n,i,a){var l,s=c.isRegExp(n),o=n;return s?(a===e&&n.global&&(a="all"),o=r(n,"all"===a?"g":"","all"===a?"":"g")):"all"===a&&(o=RegExp(c.escape(n+""),"g")),l=d.replace.call(t+"",o,i),s&&n.global&&(n.lastIndex=0),l},c.split=function(e,t,n){return d.split.call(e,t,n)},c.test=function(e,t,n,r){return!!c.exec(e,t,n,r)},c.uninstall=function(e){e=l(e),f.natives&&e.natives&&u(!1),f.extensibility&&e.extensibility&&o(!1)},c.union=function(e,t){var n,r,i,l,s=/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*]/g,o=0,u=function(e,t,i){var a=r[o-n];if(t){if(++o,a)return"(?<"+a+">"}else if(i)return"\\"+(+i+n);return e},g=[];if(!a(e,"array")||!e.length)throw new TypeError("patterns must be a nonempty array");for(l=0;e.length>l;++l)i=e[l],c.isRegExp(i)?(n=o,r=i.xregexp&&i.xregexp.captureNames||[],g.push(c(i.source).source.replace(s,u))):g.push(c.escape(i));return c(g.join("|"),t)},c.version="2.0.0",d.exec=function(t){var r,a,l,s,o;if(this.global||(s=this.lastIndex),r=p.exec.apply(this,arguments)){if(!S&&r.length>1&&i(r,"")>-1&&(l=RegExp(this.source,p.replace.call(n(this),"g","")),p.replace.call((t+"").slice(r.index),l,function(){var t;for(t=1;arguments.length-2>t;++t)arguments[t]===e&&(r[t]=e)})),this.xregexp&&this.xregexp.captureNames)for(o=1;r.length>o;++o)a=this.xregexp.captureNames[o-1],a&&(r[a]=r[o]);this.global&&!r[0].length&&this.lastIndex>r.index&&(this.lastIndex=r.index)}return this.global||(this.lastIndex=s),r},d.test=function(e){return!!d.exec.call(this,e)},d.match=function(e){if(c.isRegExp(e)){if(e.global){var t=p.match.apply(this,arguments);return e.lastIndex=0,t}}else e=RegExp(e);return d.exec.call(e,this)},d.replace=function(e,t){var n,r,l,s,o=c.isRegExp(e);return o?(e.xregexp&&(n=e.xregexp.captureNames),e.global||(s=e.lastIndex)):e+="",a(t,"function")?r=p.replace.call(this+"",e,function(){var r,i=arguments;if(n)for(i[0]=new String(i[0]),r=0;n.length>r;++r)n[r]&&(i[0][n[r]]=i[r+1]);return o&&e.global&&(e.lastIndex=i[i.length-2]+i[0].length),t.apply(null,i)}):(l=this+"",r=p.replace.call(l,e,function(){var e=arguments;return p.replace.call(t+"",w,function(t,r,a){var l;if(r){if(l=+r,e.length-3>=l)return e[l]||"";if(l=n?i(n,r):-1,0>l)throw new SyntaxError("backreference to undefined group "+t);return e[l+1]||""}if("$"===a)return"$";if("&"===a||0===+a)return e[0];if("`"===a)return e[e.length-1].slice(0,e[e.length-2]);if("'"===a)return e[e.length-1].slice(e[e.length-2]+e[0].length);if(a=+a,!isNaN(a)){if(a>e.length-3)throw new SyntaxError("backreference to undefined group "+t);return e[a]||""}throw new SyntaxError("invalid token "+t)})})),o&&(e.lastIndex=e.global?0:s),r},d.split=function(t,n){if(!c.isRegExp(t))return p.split.apply(this,arguments);var r,i=this+"",a=t.lastIndex,l=[],s=0;return n=(n===e?-1:n)>>>0,c.forEach(i,t,function(e){e.index+e[0].length>s&&(l.push(i.slice(s,e.index)),e.length>1&&e.index<i.length&&Array.prototype.push.apply(l,e.slice(1)),r=e[0].length,s=e.index+r)}),s===i.length?(!p.test.call(t,"")||r)&&l.push(""):l.push(i.slice(s)),t.lastIndex=a,l.length>n?l.slice(0,n):l},h=g.on,h(/\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4})|x(?![\dA-Fa-f]{2}))/,function(e,t){if("B"===e[1]&&t===v)return e[0];throw new SyntaxError("invalid escape "+e[0])},{scope:"all"}),h(/\[(\^?)]/,function(e){return e[1]?"[\\s\\S]":"\\b\\B"}),h(/(?:\(\?#[^)]*\))+/,function(e){return p.test.call(N,e.input.slice(e.index+e[0].length))?"":"(?:)"}),h(/\\k<([\w$]+)>/,function(e){var t=isNaN(e[1])?i(this.captureNames,e[1])+1:+e[1],n=e.index+e[0].length;if(!t||t>this.captureNames.length)throw new SyntaxError("backreference to undefined group "+e[0]);return"\\"+t+(n===e.input.length||isNaN(e.input.charAt(n))?"":"(?:)")}),h(/(?:\s+|#.*)+/,function(e){return p.test.call(N,e.input.slice(e.index+e[0].length))?"":"(?:)"},{trigger:function(){return this.hasFlag("x")},customFlags:"x"}),h(/\./,function(){return"[\\s\\S]"},{trigger:function(){return this.hasFlag("s")},customFlags:"s"}),h(/\(\?P?<([\w$]+)>/,function(e){if(!isNaN(e[1]))throw new SyntaxError("can't use integer as capture name "+e[0]);return this.captureNames.push(e[1]),this.hasNamedCapture=!0,"("}),h(/\\(\d+)/,function(e,t){if(!(t===v&&/^[1-9]/.test(e[1])&&+e[1]<=this.captureNames.length)&&"0"!==e[1])throw new SyntaxError("can't use octal escape or backreference to undefined group "+e[0]);return e[0]},{scope:"all"}),h(/\((?!\?)/,function(){return this.hasFlag("n")?"(?:":(this.captureNames.push(null),"(")},{customFlags:"n"}),"undefined"!=typeof exports&&(exports.XRegExp=c),c}(),SyntaxHighlighter===void 0)var SyntaxHighlighter=function(){function e(e){return document.createElement("div").appendChild(document.createTextNode(e)).parentNode.innerHTML.replace(/"/g,"&quot;")}function t(e,t){return-1!=e.className.indexOf(t)}function n(e,n){t(e,n)||(e.className+=" "+n)}function r(e,t){e.className=e.className.replace(t,"")}function i(e){for(var t=[],n=0,r=e.length;r>n;n++)t.push(e[n]);return t}function a(e){return e.split(/\r?\n/)}function l(e){var t="highlighter_";return 0==e.indexOf(t)?e:t+e}function s(e){return B.vars.highlighters[l(e)]}function o(e){return document.getElementById(l(e))}function u(e){B.vars.highlighters[l(e.id)]=e}function c(e,t,n){if(null==e)return null;var r,i,a=1!=n?e.childNodes:[e.parentNode],l={"#":"id",".":"className"}[t.substr(0,1)]||"nodeName";if(r="nodeName"!=l?t.substr(1):t.toUpperCase(),-1!=(e[l]||"").indexOf(r))return e;for(var s=0,o=a.length;a&&o>s&&null==i;s++)i=c(a[s],t,n);return i}function g(e,t){return c(e,t,!0)}function h(e,t,n){n=Math.max(n||0,0);for(var r=n,i=e.length;i>r;r++)if(e[r]==t)return r;return-1}function f(e){return(e||"")+(""+Math.round(1e6*Math.random()))}function p(e,t){var n,r={};for(n in e)r[n]=e[n];for(n in t)r[n]=t[n];return r}function d(e){var t={"true":!0,"false":!1}[e];return null==t?e:t}function x(e,t,n,r,i){var a=(screen.width-n)/2,l=(screen.height-r)/2;i+=", left="+a+", top="+l+", width="+n+", height="+r,i=i.replace(/^,/,"");var s=window.open(e,t,i);return s.focus(),s}function m(e,t,n,r){function i(e){e=e||window.event,e.target||(e.target=e.srcElement,e.preventDefault=function(){this.returnValue=!1}),n.call(r||window,e)}e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener(t,i,!1)}function v(e){window.alert(B.config.strings.alert+e)}function b(e,t){var n=B.vars.discoveredBrushes,r=null;if(null==n){n={};for(var i in B.brushes){var a=B.brushes[i],l=a.aliases;if(null!=l){a.brushName=i.toLowerCase();for(var s=0,o=l.length;o>s;s++)n[l[s]]=i}}B.vars.discoveredBrushes=n}return r=B.brushes[n[e]],null==r&&t&&v(B.config.strings.noBrush+e),r}function y(e,t){for(var n=a(e),r=0,i=n.length;i>r;r++)n[r]=t(n[r],r);return n.join("\r\n")}function w(e){return e.replace(/^[ ]*[\n]+|[\n]*[ ]*$/g,"")}function E(e){for(var t,n={},r=XRegExp("^\\[(?<values>(.*?))\\]$"),i=0,a=XRegExp("(?<name>[\\w-]+)\\s*:\\s*(?<value>[\\w%#-]+|\\[.*?\\]|\".*?\"|'.*?')\\s*;?","g");null!=(t=XRegExp.exec(e,a,i));){var l=t.value.replace(/^['"]|['"]$/g,"");if(null!=l&&r.test(l)){var s=XRegExp.exec(l,r);l=s.values.length>0?s.values.split(/\s*,\s*/):[]}n[t.name]=l,i=t.index+t[0].length}return n}function N(e,t){return null==e||0==e.length||"\n"==e?e:(e=e.replace(/</g,"&lt;"),e=e.replace(/ {2,}/g,function(e){for(var t="",n=0,r=e.length;r-1>n;n++)t+=B.config.space;return t+" "}),null!=t&&(e=y(e,function(e){if(0==e.length)return"";var n="";return e=e.replace(/^(&nbsp;| )+/,function(e){return n=e,""}),0==e.length?n:n+'<code class="'+t+'">'+e+"</code>"})),e)}function S(e,t){for(var n=""+e;t>n.length;)n="0"+n;return n}function H(e,t){for(var n="",r=0;t>r;r++)n+=" ";return e.replace(/\t/g,n)}function R(e,t){function n(e,t,n){return e.substr(0,t)+i.substr(0,n)+e.substr(t+1,e.length)}for(var r=(a(e)," "),i="",l=0;50>l;l++)i+=" ";return e=y(e,function(e){if(-1==e.indexOf(r))return e;for(var i=0;-1!=(i=e.indexOf(r));){var a=t-i%t;e=n(e,i,a)}return e})}function T(e){var t=/<br\s*\/?>|&lt;br\s*\/?&gt;/gi;return 1==B.config.bloggerMode&&(e=e.replace(t,"\n")),1==B.config.stripBrs&&(e=e.replace(t,"")),e}function C(e){return e.replace(/^\s+|\s+$/g,"")}function P(e){for(var t=a(T(e)),n=/^\s*/,r=1e3,i=0,l=t.length;l>i&&r>0;i++){var s=t[i];if(0!=C(s).length){var o=n.exec(s);if(null==o)return e;r=Math.min(o[0].length,r)}}if(r>0)for(var i=0,l=t.length;l>i;i++)t[i]=t[i].substr(r);return t.join("\n")}function k(e,t){return e.index<t.index?-1:e.index>t.index?1:e.length<t.length?-1:e.length>t.length?1:0}function L(e,t){function n(e){return e[0]}var r=null,i=[],a=t.func?t.func:n;for(pos=0;null!=(r=XRegExp.exec(e,t.regex,pos));){var l=a(r,t);"string"==typeof l&&(l=[new B.Match(l,r.index,t.css)]),i=i.concat(l),pos=r.index+r[0].length}return i}function I(e){var t=/(.*)((&gt;|&lt;).*)/;return e.replace(B.regexLib.url,function(e){var n="",r=null;return(r=t.exec(e))&&(e=r[1],n=r[2]),'<a href="'+e+'">'+e+"</a>"+n})}function A(){for(var e=document.getElementsByTagName("script"),t=[],n=0,r=e.length;r>n;n++)"syntaxhighlighter"==e[n].type&&t.push(e[n]);return t}function M(e){var t="<![CDATA[",n="]]>",r=C(e),i=!1,a=t.length,l=n.length;0==r.indexOf(t)&&(r=r.substring(a),i=!0);var s=r.length;return r.indexOf(n)==s-l&&(r=r.substring(0,s-l),i=!0),i?r:e}function X(e){var t,i=e.target,a=g(i,".syntaxhighlighter"),l=g(i,".container"),o=document.createElement("textarea");if(l&&a&&!c(l,"textarea")){t=s(a.id),n(a,"source");for(var u=l.childNodes,h=[],f=0,p=u.length;p>f;f++)h.push(u[f].innerText||u[f].textContent);h=h.join("\r"),h=h.replace(/\u00a0/g," "),o.appendChild(document.createTextNode(h)),l.appendChild(o),o.focus(),o.select(),m(o,"blur",function(){o.parentNode.removeChild(o),r(a,"source")})}}"undefined"!=typeof require&&XRegExp===void 0&&(XRegExp=require("xregexp").XRegExp);var B={defaults:{"class-name":"","first-line":1,"pad-line-numbers":!1,highlight:null,title:null,"smart-tabs":!0,"tab-size":4,gutter:!0,toolbar:!0,"quick-code":!0,collapse:!1,"auto-links":!0,light:!1,unindent:!0,"html-script":!1},config:{space:"&nbsp;",useScriptTags:!0,bloggerMode:!1,stripBrs:!1,tagName:"pre",strings:{expandSource:"expand source",help:"?",alert:"SyntaxHighlighter\n\n",noBrush:"Can't find brush for: ",brushNotHtmlScript:"Brush wasn't configured for html-script option: ",aboutDialog:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>About SyntaxHighlighter</title></head><body style="font-family:Geneva,Arial,Helvetica,sans-serif;background-color:#fff;color:#000;font-size:1em;text-align:center;"><div style="text-align:center;margin-top:1.5em;"><div style="font-size:xx-large;">SyntaxHighlighter</div><div style="font-size:.75em;margin-bottom:3em;"><div>version 3.0.83 (Wed, 16 Apr 2014 03:56:09 GMT)</div><div><a href="http://alexgorbatchev.com/SyntaxHighlighter" target="_blank" style="color:#005896">http://alexgorbatchev.com/SyntaxHighlighter</a></div><div>JavaScript code syntax highlighter.</div><div>Copyright 2004-2013 Alex Gorbatchev.</div></div><div>If you like this script, please <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2930402" style="color:#005896">donate</a> to <br/>keep development active!</div></div></body></html>'}},vars:{discoveredBrushes:null,highlighters:{}},brushes:{},regexLib:{multiLineCComments:XRegExp("/\\*.*?\\*/","gs"),singleLineCComments:/\/\/.*$/gm,singleLinePerlComments:/#.*$/gm,doubleQuotedString:/"([^\\"\n]|\\.)*"/g,singleQuotedString:/'([^\\'\n]|\\.)*'/g,multiLineDoubleQuotedString:XRegExp('"([^\\\\"]|\\\\.)*"',"gs"),multiLineSingleQuotedString:XRegExp("'([^\\\\']|\\\\.)*'","gs"),xmlComments:XRegExp("(&lt;|<)!--.*?--(&gt;|>)","gs"),url:/\w+:\/\/[\w-.\/?%&=:@;#]*/g,phpScriptTags:{left:/(&lt;|<)\?(?:=|php)?/g,right:/\?(&gt;|>)/g,eof:!0},aspScriptTags:{left:/(&lt;|<)%=?/g,right:/%(&gt;|>)/g},scriptScriptTags:{left:/(&lt;|<)\s*script.*?(&gt;|>)/gi,right:/(&lt;|<)\/\s*script\s*(&gt;|>)/gi}},toolbar:{getHtml:function(e){function t(e,t){return B.toolbar.getButtonHtml(e,t,B.config.strings[t])}for(var n='<div class="toolbar">',r=B.toolbar.items,i=r.list,a=0,l=i.length;l>a;a++)n+=(r[i[a]].getHtml||t)(e,i[a]);return n+="</div>"},getButtonHtml:function(t,n,r){return n=e(n),'<span><a href="#" class="toolbar_item command_'+n+" "+n+'">'+e(r)+"</a></span>"},handler:function(e){function t(e){var t=RegExp(e+"_(\\w+)"),n=t.exec(r);return n?n[1]:null}var n=e.target,r=n.className||"",i=s(g(n,".syntaxhighlighter").id),a=t("command");i&&a&&B.toolbar.items[a].execute(i),e.preventDefault()},items:{list:["expandSource","help"],expandSource:{getHtml:function(e){if(1!=e.getParam("collapse"))return"";var t=e.getParam("title");return B.toolbar.getButtonHtml(e,"expandSource",t?t:B.config.strings.expandSource)},execute:function(e){var t=o(e.id);r(t,"collapsed")}},help:{execute:function(){var e=x("","_blank",500,250,"scrollbars=0"),t=e.document;t.write(B.config.strings.aboutDialog),t.close(),e.focus()}}}},findElements:function(e,t){var n=t?[t]:i(document.getElementsByTagName(B.config.tagName)),r=B.config,a=[];if(r.useScriptTags&&(n=n.concat(A())),0===n.length)return a;for(var l=0,s=n.length;s>l;l++){var o={target:n[l],params:p(e,E(n[l].className))};null!=o.params.brush&&a.push(o)}return a},highlight:function(e,t){var n=this.findElements(e,t),r="innerHTML",i=null,a=B.config;if(0!==n.length)for(var l=0,s=n.length;s>l;l++){var o,t=n[l],u=t.target,c=t.params,g=c.brush;if(null!=g){if("true"==c["html-script"]||1==B.defaults["html-script"])i=new B.HtmlScript(g),g="htmlscript";else{var h=b(g);if(!h)continue;i=new h}o=u[r],a.useScriptTags&&(o=M(o)),""!=(u.title||"")&&(c.title=u.title),c.brush=g,i.init(c),t=i.getDiv(o),""!=(u.id||"")&&(t.id=u.id),u.parentNode.replaceChild(t,u)}}},all:function(e){m(window,"load",function(){B.highlight(e)})}};return B.Match=function(e,t,n){this.value=e,this.index=t,this.length=e.length,this.css=n,this.brushName=null},B.Match.prototype.toString=function(){return this.value},B.HtmlScript=function(e){function t(e,t){for(var n=0,r=e.length;r>n;n++)e[n].index+=t}function n(e){for(var n,a=e.code,l=[],s=r.regexList,o=e.index+e.left.length,u=r.htmlScript,c=0,g=s.length;g>c;c++)n=L(a,s[c]),t(n,o),l=l.concat(n);null!=u.left&&null!=e.left&&(n=L(e.left,u.left),t(n,e.index),l=l.concat(n)),null!=u.right&&null!=e.right&&(n=L(e.right,u.right),t(n,e.index+e[0].lastIndexOf(e.right)),l=l.concat(n));for(var h=0,g=l.length;g>h;h++)l[h].brushName=i.brushName;return l}var r,i=b(e),a=new B.brushes.Xml,l=this,s="getDiv getHtml init".split(" ");if(null!=i){r=new i;for(var o=0,u=s.length;u>o;o++)(function(){var e=s[o];l[e]=function(){return a[e].apply(a,arguments)}})();return null==r.htmlScript?(v(B.config.strings.brushNotHtmlScript+e),void 0):(a.regexList.push({regex:r.htmlScript.code,func:n}),void 0)}},B.Highlighter=function(){},B.Highlighter.prototype={getParam:function(e,t){var n=this.params[e];return d(null==n?t:n)},create:function(e){return document.createElement(e)},findMatches:function(e,t){var n=[];if(null!=e)for(var r=0,i=e.length;i>r;r++)"object"==typeof e[r]&&(n=n.concat(L(t,e[r])));return this.removeNestedMatches(n.sort(k))},removeNestedMatches:function(e){for(var t=0,n=e.length;n>t;t++)if(null!==e[t])for(var r=e[t],i=r.index+r.length,a=t+1,n=e.length;n>a&&null!==e[t];a++){var l=e[a];if(null!==l){if(l.index>i)break;l.index==r.index&&l.length>r.length?e[t]=null:l.index>=r.index&&i>l.index&&(e[a]=null)}}return e},figureOutLineNumbers:function(e){var t=[],n=parseInt(this.getParam("first-line"));return y(e,function(e,r){t.push(r+n)}),t},isLineHighlighted:function(e){var t=this.getParam("highlight",[]);return"object"!=typeof t&&null==t.push&&(t=[t]),-1!=h(t,""+e)},getLineHtml:function(e,t,n){var r=["line","number"+t,"index"+e,"alt"+(""+(0==t%2?1:2))];return this.isLineHighlighted(t)&&r.push("highlighted"),0==t&&r.push("break"),'<div class="'+r.join(" ")+'">'+n+"</div>"},getLineNumbersHtml:function(e,t){var n="",r=a(e).length,i=parseInt(this.getParam("first-line")),l=this.getParam("pad-line-numbers");1==l?l=(""+(i+r-1)).length:1==isNaN(l)&&(l=0);for(var s=0;r>s;s++){var o=t?t[s]:i+s,e=0==o?B.config.space:S(o,l);n+=this.getLineHtml(s,o,e)}return n},getCodeLinesHtml:function(e,t){e=C(e);for(var n=a(e),r=(this.getParam("pad-line-numbers"),parseInt(this.getParam("first-line"))),e="",i=this.getParam("brush"),l=0,s=n.length;s>l;l++){var o=n[l],u=/^(&nbsp;|\s)+/.exec(o),c=null,g=t?t[l]:r+l;null!=u&&(c=""+u[0],o=o.substr(c.length),c=c.replace(" ",B.config.space)),o=C(o),0==o.length&&(o=B.config.space),e+=this.getLineHtml(l,g,(null!=c?'<code class="'+i+' spaces">'+c+"</code>":"")+o)}return e},getTitleHtml:function(t){return t?"<caption>"+e(t)+"</caption>":""},getMatchesHtml:function(e,t){function n(e){var t=e?e.brushName||a:a;return t?t+" ":""}for(var r=0,i="",a=this.getParam("brush",""),l=0,s=t.length;s>l;l++){var o,u=t[l];null!==u&&0!==u.length&&(o=n(u),i+=N(e.substr(r,u.index-r),o+"plain")+N(u.value,o+u.css),r=u.index+u.length+(u.offset||0))}return i+=N(e.substr(r),n()+"plain")},getHtml:function(t){var n,r,i,a="",s=["syntaxhighlighter"];return 1==this.getParam("light")&&(this.params.toolbar=this.params.gutter=!1),className="syntaxhighlighter",1==this.getParam("collapse")&&s.push("collapsed"),0==(gutter=this.getParam("gutter"))&&s.push("nogutter"),s.push(this.getParam("class-name")),s.push(this.getParam("brush")),t=w(t).replace(/\r/g," "),n=this.getParam("tab-size"),t=1==this.getParam("smart-tabs")?R(t,n):H(t,n),this.getParam("unindent")&&(t=P(t)),gutter&&(i=this.figureOutLineNumbers(t)),r=this.findMatches(this.regexList,t),a=this.getMatchesHtml(t,r),a=this.getCodeLinesHtml(a,i),this.getParam("auto-links")&&(a=I(a)),"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.match(/MSIE/)&&s.push("ie"),a='<div id="'+l(this.id)+'" class="'+e(s.join(" "))+'">'+(this.getParam("toolbar")?B.toolbar.getHtml(this):"")+'<table border="0" cellpadding="0" cellspacing="0">'+this.getTitleHtml(this.getParam("title"))+"<tbody>"+"<tr>"+(gutter?'<td class="gutter">'+this.getLineNumbersHtml(t)+"</td>":"")+'<td class="code">'+'<div class="container">'+a+"</div>"+"</td>"+"</tr>"+"</tbody>"+"</table>"+"</div>"},getDiv:function(e){null===e&&(e=""),this.code=e;var t=this.create("div");return t.innerHTML=this.getHtml(e),this.getParam("toolbar")&&m(c(t,".toolbar"),"click",B.toolbar.handler),this.getParam("quick-code")&&m(c(t,".code"),"dblclick",X),t},init:function(e){this.id=f(),u(this),this.params=p(B.defaults,e||{}),1==this.getParam("light")&&(this.params.toolbar=this.params.gutter=!1)},getKeywords:function(e){return e=e.replace(/^\s+|\s+$/g,"").replace(/\s+/g,"|"),"\\b(?:"+e+")\\b"},forHtmlScript:function(e){var t={end:e.right.source};e.eof&&(t.end="(?:(?:"+t.end+")|$)"),this.htmlScript={left:{regex:e.left,css:"script"},right:{regex:e.right,css:"script"},code:XRegExp("(?<left>"+e.left.source+")"+"(?<code>.*?)"+"(?<right>"+t.end+")","sgi")}}},B}();"undefined"!=typeof exports?exports.SyntaxHighlighter=SyntaxHighlighter:null;
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
  var XRegExp;if(XRegExp=XRegExp||function(e){"use strict";function t(e,t,n){var r;for(r in c.prototype)c.prototype.hasOwnProperty(r)&&(e[r]=c.prototype[r]);return e.xregexp={captureNames:t,isNative:!!n},e}function n(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}function r(e,r,i){if(!c.isRegExp(e))throw new TypeError("type RegExp expected");var a=p.replace.call(n(e)+(r||""),E,"");return i&&(a=p.replace.call(a,RegExp("["+i+"]+","g"),"")),e=e.xregexp&&!e.xregexp.isNative?t(c(e.source,a),e.xregexp.captureNames?e.xregexp.captureNames.slice(0):null):t(RegExp(e.source,a),null,!0)}function i(e,t){var n=e.length;if(Array.prototype.lastIndexOf)return e.lastIndexOf(t);for(;n--;)if(e[n]===t)return n;return-1}function a(e,t){return Object.prototype.toString.call(e).toLowerCase()==="[object "+t+"]"}function l(e){return e=e||{},"all"===e||e.all?e={natives:!0,extensibility:!0}:a(e,"string")&&(e=c.forEach(e,/[^\s,]+/,function(e){this[e]=!0},{})),e}function s(e,t,n,r){var i,a,l=m.length,s=null;R=!0;try{for(;l--;)if(a=m[l],!("all"!==a.scope&&a.scope!==n||a.trigger&&!a.trigger.call(r))&&(a.pattern.lastIndex=t,i=d.exec.call(a.pattern,e),i&&i.index===t)){s={output:a.handler.call(r,i,n),match:i};break}}catch(o){throw o}finally{R=!1}return s}function o(e){c.addToken=g[e?"on":"off"],f.extensibility=e}function u(e){RegExp.prototype.exec=(e?d:p).exec,RegExp.prototype.test=(e?d:p).test,String.prototype.match=(e?d:p).match,String.prototype.replace=(e?d:p).replace,String.prototype.split=(e?d:p).split,f.natives=e}var c,g,h,f={natives:!1,extensibility:!1},p={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},d={},x={},m=[],v="default",b="class",y={"default":/^(?:\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S])|\(\?[:=!]|[?*+]\?|{\d+(?:,\d*)?}\??)/,"class":/^(?:\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S]))/},w=/\$(?:{([\w$]+)}|(\d\d?|[\s\S]))/g,E=/([\s\S])(?=[\s\S]*\1)/g,N=/^(?:[?*+]|{\d+(?:,\d*)?})\??/,S=p.exec.call(/()??/,"")[1]===e,H=RegExp.prototype.sticky!==e,R=!1,T="gim"+(H?"y":"");return c=function(n,i){if(c.isRegExp(n)){if(i!==e)throw new TypeError("can't supply flags when constructing one RegExp from another");return r(n)}if(R)throw Error("can't call the XRegExp constructor within token definition functions");var a,l,o,u=[],g=v,h={hasNamedCapture:!1,captureNames:[],hasFlag:function(e){return i.indexOf(e)>-1}},f=0;if(n=n===e?"":n+"",i=i===e?"":i+"",p.match.call(i,E))throw new SyntaxError("invalid duplicate regular expression flag");for(n=p.replace.call(n,/^\(\?([\w$]+)\)/,function(e,t){if(p.test.call(/[gy]/,t))throw new SyntaxError("can't use flag g or y in mode modifier");return i=p.replace.call(i+t,E,""),""}),c.forEach(i,/[\s\S]/,function(e){if(0>T.indexOf(e[0]))throw new SyntaxError("invalid regular expression flag "+e[0])});n.length>f;)a=s(n,f,g,h),a?(u.push(a.output),f+=a.match[0].length||1):(l=p.exec.call(y[g],n.slice(f)),l?(u.push(l[0]),f+=l[0].length):(o=n.charAt(f),"["===o?g=b:"]"===o&&(g=v),u.push(o),++f));return t(RegExp(u.join(""),p.replace.call(i,/[^gimy]+/g,"")),h.hasNamedCapture?h.captureNames:null)},g={on:function(e,t,n){n=n||{},e&&m.push({pattern:r(e,"g"+(H?"y":"")),handler:t,scope:n.scope||v,trigger:n.trigger||null}),n.customFlags&&(T=p.replace.call(T+n.customFlags,E,""))},off:function(){throw Error("extensibility must be installed before using addToken")}},c.addToken=g.off,c.cache=function(e,t){var n=e+"/"+(t||"");return x[n]||(x[n]=c(e,t))},c.escape=function(e){return p.replace.call(e,/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},c.exec=function(e,t,n,i){var a,l=r(t,"g"+(i&&H?"y":""),i===!1?"y":"");return l.lastIndex=n=n||0,a=d.exec.call(l,e),i&&a&&a.index!==n&&(a=null),t.global&&(t.lastIndex=a?l.lastIndex:0),a},c.forEach=function(e,t,n,r){for(var i,a=0,l=-1;i=c.exec(e,t,a);)n.call(r,i,++l,e,t),a=i.index+(i[0].length||1);return r},c.globalize=function(e){return r(e,"g")},c.install=function(e){e=l(e),!f.natives&&e.natives&&u(!0),!f.extensibility&&e.extensibility&&o(!0)},c.isInstalled=function(e){return!!f[e]},c.isRegExp=function(e){return a(e,"regexp")},c.matchChain=function(e,t){return function n(e,r){var i,a=t[r].regex?t[r]:{regex:t[r]},l=[],s=function(e){l.push(a.backref?e[a.backref]||"":e[0])};for(i=0;e.length>i;++i)c.forEach(e[i],a.regex,s);return r!==t.length-1&&l.length?n(l,r+1):l}([e],0)},c.replace=function(t,n,i,a){var l,s=c.isRegExp(n),o=n;return s?(a===e&&n.global&&(a="all"),o=r(n,"all"===a?"g":"","all"===a?"":"g")):"all"===a&&(o=RegExp(c.escape(n+""),"g")),l=d.replace.call(t+"",o,i),s&&n.global&&(n.lastIndex=0),l},c.split=function(e,t,n){return d.split.call(e,t,n)},c.test=function(e,t,n,r){return!!c.exec(e,t,n,r)},c.uninstall=function(e){e=l(e),f.natives&&e.natives&&u(!1),f.extensibility&&e.extensibility&&o(!1)},c.union=function(e,t){var n,r,i,l,s=/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*]/g,o=0,u=function(e,t,i){var a=r[o-n];if(t){if(++o,a)return"(?<"+a+">"}else if(i)return"\\"+(+i+n);return e},g=[];if(!a(e,"array")||!e.length)throw new TypeError("patterns must be a nonempty array");for(l=0;e.length>l;++l)i=e[l],c.isRegExp(i)?(n=o,r=i.xregexp&&i.xregexp.captureNames||[],g.push(c(i.source).source.replace(s,u))):g.push(c.escape(i));return c(g.join("|"),t)},c.version="2.0.0",d.exec=function(t){var r,a,l,s,o;if(this.global||(s=this.lastIndex),r=p.exec.apply(this,arguments)){if(!S&&r.length>1&&i(r,"")>-1&&(l=RegExp(this.source,p.replace.call(n(this),"g","")),p.replace.call((t+"").slice(r.index),l,function(){var t;for(t=1;arguments.length-2>t;++t)arguments[t]===e&&(r[t]=e)})),this.xregexp&&this.xregexp.captureNames)for(o=1;r.length>o;++o)a=this.xregexp.captureNames[o-1],a&&(r[a]=r[o]);this.global&&!r[0].length&&this.lastIndex>r.index&&(this.lastIndex=r.index)}return this.global||(this.lastIndex=s),r},d.test=function(e){return!!d.exec.call(this,e)},d.match=function(e){if(c.isRegExp(e)){if(e.global){var t=p.match.apply(this,arguments);return e.lastIndex=0,t}}else e=RegExp(e);return d.exec.call(e,this)},d.replace=function(e,t){var n,r,l,s,o=c.isRegExp(e);return o?(e.xregexp&&(n=e.xregexp.captureNames),e.global||(s=e.lastIndex)):e+="",a(t,"function")?r=p.replace.call(this+"",e,function(){var r,i=arguments;if(n)for(i[0]=new String(i[0]),r=0;n.length>r;++r)n[r]&&(i[0][n[r]]=i[r+1]);return o&&e.global&&(e.lastIndex=i[i.length-2]+i[0].length),t.apply(null,i)}):(l=this+"",r=p.replace.call(l,e,function(){var e=arguments;return p.replace.call(t+"",w,function(t,r,a){var l;if(r){if(l=+r,e.length-3>=l)return e[l]||"";if(l=n?i(n,r):-1,0>l)throw new SyntaxError("backreference to undefined group "+t);return e[l+1]||""}if("$"===a)return"$";if("&"===a||0===+a)return e[0];if("`"===a)return e[e.length-1].slice(0,e[e.length-2]);if("'"===a)return e[e.length-1].slice(e[e.length-2]+e[0].length);if(a=+a,!isNaN(a)){if(a>e.length-3)throw new SyntaxError("backreference to undefined group "+t);return e[a]||""}throw new SyntaxError("invalid token "+t)})})),o&&(e.lastIndex=e.global?0:s),r},d.split=function(t,n){if(!c.isRegExp(t))return p.split.apply(this,arguments);var r,i=this+"",a=t.lastIndex,l=[],s=0;return n=(n===e?-1:n)>>>0,c.forEach(i,t,function(e){e.index+e[0].length>s&&(l.push(i.slice(s,e.index)),e.length>1&&e.index<i.length&&Array.prototype.push.apply(l,e.slice(1)),r=e[0].length,s=e.index+r)}),s===i.length?(!p.test.call(t,"")||r)&&l.push(""):l.push(i.slice(s)),t.lastIndex=a,l.length>n?l.slice(0,n):l},h=g.on,h(/\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4})|x(?![\dA-Fa-f]{2}))/,function(e,t){if("B"===e[1]&&t===v)return e[0];throw new SyntaxError("invalid escape "+e[0])},{scope:"all"}),h(/\[(\^?)]/,function(e){return e[1]?"[\\s\\S]":"\\b\\B"}),h(/(?:\(\?#[^)]*\))+/,function(e){return p.test.call(N,e.input.slice(e.index+e[0].length))?"":"(?:)"}),h(/\\k<([\w$]+)>/,function(e){var t=isNaN(e[1])?i(this.captureNames,e[1])+1:+e[1],n=e.index+e[0].length;if(!t||t>this.captureNames.length)throw new SyntaxError("backreference to undefined group "+e[0]);return"\\"+t+(n===e.input.length||isNaN(e.input.charAt(n))?"":"(?:)")}),h(/(?:\s+|#.*)+/,function(e){return p.test.call(N,e.input.slice(e.index+e[0].length))?"":"(?:)"},{trigger:function(){return this.hasFlag("x")},customFlags:"x"}),h(/\./,function(){return"[\\s\\S]"},{trigger:function(){return this.hasFlag("s")},customFlags:"s"}),h(/\(\?P?<([\w$]+)>/,function(e){if(!isNaN(e[1]))throw new SyntaxError("can't use integer as capture name "+e[0]);return this.captureNames.push(e[1]),this.hasNamedCapture=!0,"("}),h(/\\(\d+)/,function(e,t){if(!(t===v&&/^[1-9]/.test(e[1])&&+e[1]<=this.captureNames.length)&&"0"!==e[1])throw new SyntaxError("can't use octal escape or backreference to undefined group "+e[0]);return e[0]},{scope:"all"}),h(/\((?!\?)/,function(){return this.hasFlag("n")?"(?:":(this.captureNames.push(null),"(")},{customFlags:"n"}),"undefined"!=typeof exports&&(exports.XRegExp=c),c}(),SyntaxHighlighter===void 0)var SyntaxHighlighter=function(){function e(e){return document.createElement("div").appendChild(document.createTextNode(e)).parentNode.innerHTML.replace(/"/g,"&quot;")}function t(e,t){return-1!=e.className.indexOf(t)}function n(e,n){t(e,n)||(e.className+=" "+n)}function r(e,t){e.className=e.className.replace(t,"")}function i(e){for(var t=[],n=0,r=e.length;r>n;n++)t.push(e[n]);return t}function a(e){return e.split(/\r?\n/)}function l(e){var t="highlighter_";return 0==e.indexOf(t)?e:t+e}function s(e){return B.vars.highlighters[l(e)]}function o(e){return document.getElementById(l(e))}function u(e){B.vars.highlighters[l(e.id)]=e}function c(e,t,n){if(null==e)return null;var r,i,a=1!=n?e.childNodes:[e.parentNode],l={"#":"id",".":"className"}[t.substr(0,1)]||"nodeName";if(r="nodeName"!=l?t.substr(1):t.toUpperCase(),-1!=(e[l]||"").indexOf(r))return e;for(var s=0,o=a.length;a&&o>s&&null==i;s++)i=c(a[s],t,n);return i}function g(e,t){return c(e,t,!0)}function h(e,t,n){n=Math.max(n||0,0);for(var r=n,i=e.length;i>r;r++)if(e[r]==t)return r;return-1}function f(e){return(e||"")+(""+Math.round(1e6*Math.random()))}function p(e,t){var n,r={};for(n in e)r[n]=e[n];for(n in t)r[n]=t[n];return r}function d(e){var t={"true":!0,"false":!1}[e];return null==t?e:t}function x(e,t,n,r,i){var a=(screen.width-n)/2,l=(screen.height-r)/2;i+=", left="+a+", top="+l+", width="+n+", height="+r,i=i.replace(/^,/,"");var s=window.open(e,t,i);return s.focus(),s}function m(e,t,n,r){function i(e){e=e||window.event,e.target||(e.target=e.srcElement,e.preventDefault=function(){this.returnValue=!1}),n.call(r||window,e)}e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener(t,i,!1)}function v(e){window.alert(B.config.strings.alert+e)}function b(e,t){var n=B.vars.discoveredBrushes,r=null;if(null==n){n={};for(var i in B.brushes){var a=B.brushes[i],l=a.aliases;if(null!=l){a.brushName=i.toLowerCase();for(var s=0,o=l.length;o>s;s++)n[l[s]]=i}}B.vars.discoveredBrushes=n}return r=B.brushes[n[e]],null==r&&t&&v(B.config.strings.noBrush+e),r}function y(e,t){for(var n=a(e),r=0,i=n.length;i>r;r++)n[r]=t(n[r],r);return n.join("\r\n")}function w(e){return e.replace(/^[ ]*[\n]+|[\n]*[ ]*$/g,"")}function E(e){for(var t,n={},r=XRegExp("^\\[(?<values>(.*?))\\]$"),i=0,a=XRegExp("(?<name>[\\w-]+)\\s*:\\s*(?<value>[\\w%#-]+|\\[.*?\\]|\".*?\"|'.*?')\\s*;?","g");null!=(t=XRegExp.exec(e,a,i));){var l=t.value.replace(/^['"]|['"]$/g,"");if(null!=l&&r.test(l)){var s=XRegExp.exec(l,r);l=s.values.length>0?s.values.split(/\s*,\s*/):[]}n[t.name]=l,i=t.index+t[0].length}return n}function N(e,t){return null==e||0==e.length||"\n"==e?e:(e=e.replace(/</g,"&lt;"),e=e.replace(/ {2,}/g,function(e){for(var t="",n=0,r=e.length;r-1>n;n++)t+=B.config.space;return t+" "}),null!=t&&(e=y(e,function(e){if(0==e.length)return"";var n="";return e=e.replace(/^(&nbsp;| )+/,function(e){return n=e,""}),0==e.length?n:n+'<code class="'+t+'">'+e+"</code>"})),e)}function S(e,t){for(var n=""+e;t>n.length;)n="0"+n;return n}function H(e,t){for(var n="",r=0;t>r;r++)n+=" ";return e.replace(/\t/g,n)}function R(e,t){function n(e,t,n){return e.substr(0,t)+i.substr(0,n)+e.substr(t+1,e.length)}for(var r=(a(e)," "),i="",l=0;50>l;l++)i+=" ";return e=y(e,function(e){if(-1==e.indexOf(r))return e;for(var i=0;-1!=(i=e.indexOf(r));){var a=t-i%t;e=n(e,i,a)}return e})}function T(e){var t=/<br\s*\/?>|&lt;br\s*\/?&gt;/gi;return 1==B.config.bloggerMode&&(e=e.replace(t,"\n")),1==B.config.stripBrs&&(e=e.replace(t,"")),e}function C(e){return e.replace(/^\s+|\s+$/g,"")}function P(e){for(var t=a(T(e)),n=/^\s*/,r=1e3,i=0,l=t.length;l>i&&r>0;i++){var s=t[i];if(0!=C(s).length){var o=n.exec(s);if(null==o)return e;r=Math.min(o[0].length,r)}}if(r>0)for(var i=0,l=t.length;l>i;i++)t[i]=t[i].substr(r);return t.join("\n")}function k(e,t){return e.index<t.index?-1:e.index>t.index?1:e.length<t.length?-1:e.length>t.length?1:0}function L(e,t){function n(e){return e[0]}var r=null,i=[],a=t.func?t.func:n;for(pos=0;null!=(r=XRegExp.exec(e,t.regex,pos));){var l=a(r,t);"string"==typeof l&&(l=[new B.Match(l,r.index,t.css)]),i=i.concat(l),pos=r.index+r[0].length}return i}function I(e){var t=/(.*)((&gt;|&lt;).*)/;return e.replace(B.regexLib.url,function(e){var n="",r=null;return(r=t.exec(e))&&(e=r[1],n=r[2]),'<a href="'+e+'">'+e+"</a>"+n})}function A(){for(var e=document.getElementsByTagName("script"),t=[],n=0,r=e.length;r>n;n++)"syntaxhighlighter"==e[n].type&&t.push(e[n]);return t}function M(e){var t="<![CDATA[",n="]]>",r=C(e),i=!1,a=t.length,l=n.length;0==r.indexOf(t)&&(r=r.substring(a),i=!0);var s=r.length;return r.indexOf(n)==s-l&&(r=r.substring(0,s-l),i=!0),i?r:e}function X(e){var t,i=e.target,a=g(i,".syntaxhighlighter"),l=g(i,".container"),o=document.createElement("textarea");if(l&&a&&!c(l,"textarea")){t=s(a.id),n(a,"source");for(var u=l.childNodes,h=[],f=0,p=u.length;p>f;f++)h.push(u[f].innerText||u[f].textContent);h=h.join("\r"),h=h.replace(/\u00a0/g," "),o.appendChild(document.createTextNode(h)),l.appendChild(o),o.focus(),o.select(),m(o,"blur",function(){o.parentNode.removeChild(o),r(a,"source")})}}"undefined"!=typeof require&&XRegExp===void 0&&(XRegExp=require("xregexp").XRegExp);var B={defaults:{"class-name":"","first-line":1,"pad-line-numbers":!1,highlight:null,title:null,"smart-tabs":!0,"tab-size":4,gutter:!0,toolbar:!0,"quick-code":!0,collapse:!1,"auto-links":!0,light:!1,unindent:!0,"html-script":!1},config:{space:"&nbsp;",useScriptTags:!0,bloggerMode:!1,stripBrs:!1,tagName:"pre",strings:{expandSource:"expand source",help:"?",alert:"SyntaxHighlighter\n\n",noBrush:"Can't find brush for: ",brushNotHtmlScript:"Brush wasn't configured for html-script option: ",aboutDialog:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>About SyntaxHighlighter</title></head><body style="font-family:Geneva,Arial,Helvetica,sans-serif;background-color:#fff;color:#000;font-size:1em;text-align:center;"><div style="text-align:center;margin-top:1.5em;"><div style="font-size:xx-large;">SyntaxHighlighter</div><div style="font-size:.75em;margin-bottom:3em;"><div>version 3.0.83 (Wed, 16 Apr 2014 03:56:09 GMT)</div><div><a href="http://alexgorbatchev.com/SyntaxHighlighter" target="_blank" style="color:#005896">http://alexgorbatchev.com/SyntaxHighlighter</a></div><div>JavaScript code syntax highlighter.</div><div>Copyright 2004-2013 Alex Gorbatchev.</div></div><div>If you like this script, please <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2930402" style="color:#005896">donate</a> to <br/>keep development active!</div></div></body></html>'}},vars:{discoveredBrushes:null,highlighters:{}},brushes:{},regexLib:{multiLineCComments:XRegExp("/\\*.*?\\*/","gs"),singleLineCComments:/\/\/.*$/gm,singleLinePerlComments:/#.*$/gm,doubleQuotedString:/"([^\\"\n]|\\.)*"/g,singleQuotedString:/'([^\\'\n]|\\.)*'/g,multiLineDoubleQuotedString:XRegExp('"([^\\\\"]|\\\\.)*"',"gs"),multiLineSingleQuotedString:XRegExp("'([^\\\\']|\\\\.)*'","gs"),xmlComments:XRegExp("(&lt;|<)!--.*?--(&gt;|>)","gs"),url:/\w+:\/\/[\w-.\/?%&=:@;#]*/g,phpScriptTags:{left:/(&lt;|<)\?(?:=|php)?/g,right:/\?(&gt;|>)/g,eof:!0},aspScriptTags:{left:/(&lt;|<)%=?/g,right:/%(&gt;|>)/g},scriptScriptTags:{left:/(&lt;|<)\s*script.*?(&gt;|>)/gi,right:/(&lt;|<)\/\s*script\s*(&gt;|>)/gi}},toolbar:{getHtml:function(e){function t(e,t){return B.toolbar.getButtonHtml(e,t,B.config.strings[t])}for(var n='<div class="toolbar">',r=B.toolbar.items,i=r.list,a=0,l=i.length;l>a;a++)n+=(r[i[a]].getHtml||t)(e,i[a]);return n+="</div>"},getButtonHtml:function(t,n,r){return n=e(n),'<span><a href="#" class="toolbar_item command_'+n+" "+n+'">'+e(r)+"</a></span>"},handler:function(e){function t(e){var t=RegExp(e+"_(\\w+)"),n=t.exec(r);return n?n[1]:null}var n=e.target,r=n.className||"",i=s(g(n,".syntaxhighlighter").id),a=t("command");i&&a&&B.toolbar.items[a].execute(i),e.preventDefault()},items:{list:["expandSource","help"],expandSource:{getHtml:function(e){if(1!=e.getParam("collapse"))return"";var t=e.getParam("title");return B.toolbar.getButtonHtml(e,"expandSource",t?t:B.config.strings.expandSource)},execute:function(e){var t=o(e.id);r(t,"collapsed")}},help:{execute:function(){var e=x("","_blank",500,250,"scrollbars=0"),t=e.document;t.write(B.config.strings.aboutDialog),t.close(),e.focus()}}}},findElements:function(e,t){var n=t?[t]:i(document.getElementsByTagName(B.config.tagName)),r=B.config,a=[];if(r.useScriptTags&&(n=n.concat(A())),0===n.length)return a;for(var l=0,s=n.length;s>l;l++){var o={target:n[l],params:p(e,E(n[l].className))};null!=o.params.brush&&a.push(o)}return a},highlight:function(e,t){var n=this.findElements(e,t),r="innerHTML",i=null,a=B.config;if(0!==n.length)for(var l=0,s=n.length;s>l;l++){var o,t=n[l],u=t.target,c=t.params,g=c.brush;if(null!=g){if("true"==c["html-script"]||1==B.defaults["html-script"])i=new B.HtmlScript(g),g="htmlscript";else{var h=b(g);if(!h)continue;i=new h}o=u[r],a.useScriptTags&&(o=M(o)),""!=(u.title||"")&&(c.title=u.title),c.brush=g,i.init(c),t=i.getDiv(o),""!=(u.id||"")&&(t.id=u.id),u.parentNode.replaceChild(t,u)}}},all:function(e){m(window,"load",function(){B.highlight(e)})}};return B.Match=function(e,t,n){this.value=e,this.index=t,this.length=e.length,this.css=n,this.brushName=null},B.Match.prototype.toString=function(){return this.value},B.HtmlScript=function(e){function t(e,t){for(var n=0,r=e.length;r>n;n++)e[n].index+=t}function n(e){for(var n,a=e.code,l=[],s=r.regexList,o=e.index+e.left.length,u=r.htmlScript,c=0,g=s.length;g>c;c++)n=L(a,s[c]),t(n,o),l=l.concat(n);null!=u.left&&null!=e.left&&(n=L(e.left,u.left),t(n,e.index),l=l.concat(n)),null!=u.right&&null!=e.right&&(n=L(e.right,u.right),t(n,e.index+e[0].lastIndexOf(e.right)),l=l.concat(n));for(var h=0,g=l.length;g>h;h++)l[h].brushName=i.brushName;return l}var r,i=b(e),a=new B.brushes.Xml,l=this,s="getDiv getHtml init".split(" ");if(null!=i){r=new i;for(var o=0,u=s.length;u>o;o++)(function(){var e=s[o];l[e]=function(){return a[e].apply(a,arguments)}})();return null==r.htmlScript?(v(B.config.strings.brushNotHtmlScript+e),void 0):(a.regexList.push({regex:r.htmlScript.code,func:n}),void 0)}},B.Highlighter=function(){},B.Highlighter.prototype={getParam:function(e,t){var n=this.params[e];return d(null==n?t:n)},create:function(e){return document.createElement(e)},findMatches:function(e,t){var n=[];if(null!=e)for(var r=0,i=e.length;i>r;r++)"object"==typeof e[r]&&(n=n.concat(L(t,e[r])));return this.removeNestedMatches(n.sort(k))},removeNestedMatches:function(e){for(var t=0,n=e.length;n>t;t++)if(null!==e[t])for(var r=e[t],i=r.index+r.length,a=t+1,n=e.length;n>a&&null!==e[t];a++){var l=e[a];if(null!==l){if(l.index>i)break;l.index==r.index&&l.length>r.length?e[t]=null:l.index>=r.index&&i>l.index&&(e[a]=null)}}return e},figureOutLineNumbers:function(e){var t=[],n=parseInt(this.getParam("first-line"));return y(e,function(e,r){t.push(r+n)}),t},isLineHighlighted:function(e){var t=this.getParam("highlight",[]);return"object"!=typeof t&&null==t.push&&(t=[t]),-1!=h(t,""+e)},getLineHtml:function(e,t,n){var r=["line","number"+t,"index"+e,"alt"+(""+(0==t%2?1:2))];return this.isLineHighlighted(t)&&r.push("highlighted"),0==t&&r.push("break"),'<div class="'+r.join(" ")+'">'+n+"</div>"},getLineNumbersHtml:function(e,t){var n="",r=a(e).length,i=parseInt(this.getParam("first-line")),l=this.getParam("pad-line-numbers");1==l?l=(""+(i+r-1)).length:1==isNaN(l)&&(l=0);for(var s=0;r>s;s++){var o=t?t[s]:i+s,e=0==o?B.config.space:S(o,l);n+=this.getLineHtml(s,o,e)}return n},getCodeLinesHtml:function(e,t){e=C(e);for(var n=a(e),r=(this.getParam("pad-line-numbers"),parseInt(this.getParam("first-line"))),e="",i=this.getParam("brush"),l=0,s=n.length;s>l;l++){var o=n[l],u=/^(&nbsp;|\s)+/.exec(o),c=null,g=t?t[l]:r+l;null!=u&&(c=""+u[0],o=o.substr(c.length),c=c.replace(" ",B.config.space)),o=C(o),0==o.length&&(o=B.config.space),e+=this.getLineHtml(l,g,(null!=c?'<code class="'+i+' spaces">'+c+"</code>":"")+o)}return e},getTitleHtml:function(t){return t?"<caption>"+e(t)+"</caption>":""},getMatchesHtml:function(e,t){function n(e){var t=e?e.brushName||a:a;return t?t+" ":""}for(var r=0,i="",a=this.getParam("brush",""),l=0,s=t.length;s>l;l++){var o,u=t[l];null!==u&&0!==u.length&&(o=n(u),i+=N(e.substr(r,u.index-r),o+"plain")+N(u.value,o+u.css),r=u.index+u.length+(u.offset||0))}return i+=N(e.substr(r),n()+"plain")},getHtml:function(t){var n,r,i,a="",s=["syntaxhighlighter"];return 1==this.getParam("light")&&(this.params.toolbar=this.params.gutter=!1),className="syntaxhighlighter",1==this.getParam("collapse")&&s.push("collapsed"),0==(gutter=this.getParam("gutter"))&&s.push("nogutter"),s.push(this.getParam("class-name")),s.push(this.getParam("brush")),t=w(t).replace(/\r/g," "),n=this.getParam("tab-size"),t=1==this.getParam("smart-tabs")?R(t,n):H(t,n),this.getParam("unindent")&&(t=P(t)),gutter&&(i=this.figureOutLineNumbers(t)),r=this.findMatches(this.regexList,t),a=this.getMatchesHtml(t,r),a=this.getCodeLinesHtml(a,i),this.getParam("auto-links")&&(a=I(a)),"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.match(/MSIE/)&&s.push("ie"),a='<div id="'+l(this.id)+'" class="'+e(s.join(" "))+'">'+(this.getParam("toolbar")?B.toolbar.getHtml(this):"")+'<table border="0" cellpadding="0" cellspacing="0">'+this.getTitleHtml(this.getParam("title"))+"<tbody>"+"<tr>"+(gutter?'<td class="gutter">'+this.getLineNumbersHtml(t)+"</td>":"")+'<td class="code">'+'<div class="container">'+a+"</div>"+"</td>"+"</tr>"+"</tbody>"+"</table>"+"</div>"},getDiv:function(e){null===e&&(e=""),this.code=e;var t=this.create("div");return t.innerHTML=this.getHtml(e),this.getParam("toolbar")&&m(c(t,".toolbar"),"click",B.toolbar.handler),this.getParam("quick-code")&&m(c(t,".code"),"dblclick",X),t},init:function(e){this.id=f(),u(this),this.params=p(B.defaults,e||{}),1==this.getParam("light")&&(this.params.toolbar=this.params.gutter=!1)},getKeywords:function(e){return e=e.replace(/^\s+|\s+$/g,"").replace(/\s+/g,"|"),"\\b(?:"+e+")\\b"},forHtmlScript:function(e){var t={end:e.right.source};e.eof&&(t.end="(?:(?:"+t.end+")|$)"),this.htmlScript={left:{regex:e.left,css:"script"},right:{regex:e.right,css:"script"},code:XRegExp("(?<left>"+e.left.source+")"+"(?<code>.*?)"+"(?<right>"+t.end+")","sgi")}}},B}();"undefined"!=typeof exports?exports.SyntaxHighlighter=SyntaxHighlighter:null;
syntaxhighlighter3/scripts/shLegacy.js CHANGED
@@ -1,157 +1,157 @@
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2013 Alex Gorbatchev.
13
- *
14
- * @license
15
- * Dual licensed under the MIT and GPL licenses.
16
- */
17
- var dp = {
18
- SyntaxHighlighter : {}
19
- };
20
-
21
- dp.SyntaxHighlighter = {
22
- parseParams: function(
23
- input,
24
- showGutter,
25
- showControls,
26
- collapseAll,
27
- firstLine,
28
- showColumns
29
- )
30
- {
31
- function getValue(list, name)
32
- {
33
- var regex = XRegExp('^' + name + '\\[(?<value>\\w+)\\]$', 'gi'),
34
- match = null
35
- ;
36
-
37
- for (var i = 0; i < list.length; i++)
38
- if ((match = XRegExp.exec(list[i], regex)) != null)
39
- return match.value;
40
-
41
- return null;
42
- };
43
-
44
- function defaultValue(value, def)
45
- {
46
- return value != null ? value : def;
47
- };
48
-
49
- function asString(value)
50
- {
51
- return value != null ? value.toString() : null;
52
- };
53
-
54
- var parts = input.split(':'),
55
- brushName = parts[0],
56
- options = {},
57
- straight = { 'true' : true }
58
- reverse = { 'true' : false },
59
- result = null,
60
- defaults = SyntaxHighlighter.defaults
61
- ;
62
-
63
- for (var i in parts)
64
- options[parts[i]] = 'true';
65
-
66
- showGutter = asString(defaultValue(showGutter, defaults.gutter));
67
- showControls = asString(defaultValue(showControls, defaults.toolbar));
68
- collapseAll = asString(defaultValue(collapseAll, defaults.collapse));
69
- showColumns = asString(defaultValue(showColumns, defaults.ruler));
70
- firstLine = asString(defaultValue(firstLine, defaults['first-line']));
71
-
72
- return {
73
- brush : brushName,
74
- gutter : defaultValue(reverse[options.nogutter], showGutter),
75
- toolbar : defaultValue(reverse[options.nocontrols], showControls),
76
- collapse : defaultValue(straight[options.collapse], collapseAll),
77
- // ruler : defaultValue(straight[options.showcolumns], showColumns),
78
- 'first-line' : defaultValue(getValue(parts, 'firstline'), firstLine)
79
- };
80
- },
81
-
82
- HighlightAll: function(
83
- name,
84
- showGutter /* optional */,
85
- showControls /* optional */,
86
- collapseAll /* optional */,
87
- firstLine /* optional */,
88
- showColumns /* optional */
89
- )
90
- {
91
- function findValue()
92
- {
93
- var a = arguments;
94
-
95
- for (var i = 0; i < a.length; i++)
96
- {
97
- if (a[i] === null)
98
- continue;
99
-
100
- if (typeof(a[i]) == 'string' && a[i] != '')
101
- return a[i] + '';
102
-
103
- if (typeof(a[i]) == 'object' && a[i].value != '')
104
- return a[i].value + '';
105
- }
106
-
107
- return null;
108
- };
109
-
110
- function findTagsByName(list, name, tagName)
111
- {
112
- var tags = document.getElementsByTagName(tagName);
113
-
114
- for (var i = 0; i < tags.length; i++)
115
- if (tags[i].getAttribute('name') == name)
116
- list.push(tags[i]);
117
- }
118
-
119
- var elements = [],
120
- highlighter = null,
121
- registered = {},
122
- propertyName = 'innerHTML'
123
- ;
124
-
125
- // for some reason IE doesn't find <pre/> by name, however it does see them just fine by tag name...
126
- findTagsByName(elements, name, 'pre');
127
- findTagsByName(elements, name, 'textarea');
128
-
129
- if (elements.length === 0)
130
- return;
131
-
132
- for (var i = 0; i < elements.length; i++)
133
- {
134
- var element = elements[i],
135
- params = findValue(
136
- element.attributes['class'], element.className,
137
- element.attributes['language'], element.language
138
- ),
139
- language = ''
140
- ;
141
-
142
- if (params === null)
143
- continue;
144
-
145
- params = dp.SyntaxHighlighter.parseParams(
146
- params,
147
- showGutter,
148
- showControls,
149
- collapseAll,
150
- firstLine,
151
- showColumns
152
- );
153
-
154
- SyntaxHighlighter.highlight(params, element);
155
- }
156
- }
157
- };
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 (Wed, 16 Apr 2014 03:56:09 GMT)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2013 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ var dp = {
18
+ SyntaxHighlighter : {}
19
+ };
20
+
21
+ dp.SyntaxHighlighter = {
22
+ parseParams: function(
23
+ input,
24
+ showGutter,
25
+ showControls,
26
+ collapseAll,
27
+ firstLine,
28
+ showColumns
29
+ )
30
+ {
31
+ function getValue(list, name)
32
+ {
33
+ var regex = XRegExp('^' + name + '\\[(?<value>\\w+)\\]$', 'gi'),
34
+ match = null
35
+ ;
36
+
37
+ for (var i = 0; i < list.length; i++)
38
+ if ((match = XRegExp.exec(list[i], regex)) != null)
39
+ return match.value;
40
+
41
+ return null;
42
+ };
43
+
44
+ function defaultValue(value, def)
45
+ {
46
+ return value != null ? value : def;
47
+ };
48
+
49
+ function asString(value)
50
+ {
51
+ return value != null ? value.toString() : null;
52
+ };
53
+
54
+ var parts = input.split(':'),
55
+ brushName = parts[0],
56
+ options = {},
57
+ straight = { 'true' : true }
58
+ reverse = { 'true' : false },
59
+ result = null,
60
+ defaults = SyntaxHighlighter.defaults
61
+ ;
62
+
63
+ for (var i in parts)
64
+ options[parts[i]] = 'true';
65
+
66
+ showGutter = asString(defaultValue(showGutter, defaults.gutter));
67
+ showControls = asString(defaultValue(showControls, defaults.toolbar));
68
+ collapseAll = asString(defaultValue(collapseAll, defaults.collapse));
69
+ showColumns = asString(defaultValue(showColumns, defaults.ruler));
70
+ firstLine = asString(defaultValue(firstLine, defaults['first-line']));
71
+
72
+ return {
73
+ brush : brushName,
74
+ gutter : defaultValue(reverse[options.nogutter], showGutter),
75
+ toolbar : defaultValue(reverse[options.nocontrols], showControls),
76
+ collapse : defaultValue(straight[options.collapse], collapseAll),
77
+ // ruler : defaultValue(straight[options.showcolumns], showColumns),
78
+ 'first-line' : defaultValue(getValue(parts, 'firstline'), firstLine)
79
+ };
80
+ },
81
+
82
+ HighlightAll: function(
83
+ name,
84
+ showGutter /* optional */,
85
+ showControls /* optional */,
86
+ collapseAll /* optional */,
87
+ firstLine /* optional */,
88
+ showColumns /* optional */
89
+ )
90
+ {
91
+ function findValue()
92
+ {
93
+ var a = arguments;
94
+
95
+ for (var i = 0; i < a.length; i++)
96
+ {
97
+ if (a[i] === null)
98
+ continue;
99
+
100
+ if (typeof(a[i]) == 'string' && a[i] != '')
101
+ return a[i] + '';
102
+
103
+ if (typeof(a[i]) == 'object' && a[i].value != '')
104
+ return a[i].value + '';
105
+ }
106
+
107
+ return null;
108
+ };
109
+
110
+ function findTagsByName(list, name, tagName)
111
+ {
112
+ var tags = document.getElementsByTagName(tagName);
113
+
114
+ for (var i = 0; i < tags.length; i++)
115
+ if (tags[i].getAttribute('name') == name)
116
+ list.push(tags[i]);
117
+ }
118
+
119
+ var elements = [],
120
+ highlighter = null,
121
+ registered = {},
122
+ propertyName = 'innerHTML'
123
+ ;
124
+
125
+ // for some reason IE doesn't find <pre/> by name, however it does see them just fine by tag name...
126
+ findTagsByName(elements, name, 'pre');
127
+ findTagsByName(elements, name, 'textarea');
128
+
129
+ if (elements.length === 0)
130
+ return;
131
+
132
+ for (var i = 0; i < elements.length; i++)
133
+ {
134
+ var element = elements[i],
135
+ params = findValue(
136
+ element.attributes['class'], element.className,
137
+ element.attributes['language'], element.language
138
+ ),
139
+ language = ''
140
+ ;
141
+
142
+ if (params === null)
143
+ continue;
144
+
145
+ params = dp.SyntaxHighlighter.parseParams(
146
+ params,
147
+ showGutter,
148
+ showControls,
149
+ collapseAll,
150
+ firstLine,
151
+ showColumns
152
+ );
153
+
154
+ SyntaxHighlighter.highlight(params, element);
155
+ }
156
+ }
157
+ };
syntaxhighlighter3/styles/shCore.css CHANGED
@@ -1,237 +1,237 @@
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: Monaco, "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
- direction: ltr !important;
54
- -webkit-box-shadow: none !important;
55
- -moz-box-shadow: none !important;
56
- -ms-box-shadow: none !important;
57
- -o-box-shadow: none !important;
58
- box-shadow: none !important;
59
- }
60
-
61
- .syntaxhighlighter {
62
- width: 100% !important;
63
- margin: 1em 0 1em 0 !important;
64
- position: relative !important;
65
- overflow: auto !important;
66
- overflow-y: hidden !important;
67
- font-size: 1em !important;
68
- }
69
- .syntaxhighlighter code {
70
- display: inline !important;
71
- }
72
- .syntaxhighlighter.source {
73
- overflow: hidden !important;
74
- }
75
- .syntaxhighlighter .bold {
76
- font-weight: bold !important;
77
- }
78
- .syntaxhighlighter .italic {
79
- font-style: italic !important;
80
- }
81
- .syntaxhighlighter .line {
82
- white-space: pre !important;
83
- }
84
- .syntaxhighlighter table {
85
- table-layout: auto !important;
86
- width: 100% !important;
87
- }
88
- .syntaxhighlighter table caption {
89
- text-align: left !important;
90
- padding: .5em 0 0.5em 1em !important;
91
- }
92
- .syntaxhighlighter table td.code {
93
- width: 100% !important;
94
- }
95
- .syntaxhighlighter table td.code .container {
96
- position: relative !important;
97
- }
98
- .syntaxhighlighter table td.code .container textarea {
99
- box-sizing: border-box !important;
100
- position: absolute !important;
101
- left: 0 !important;
102
- top: 0 !important;
103
- width: 100% !important;
104
- height: 100% !important;
105
- border: none !important;
106
- background: white !important;
107
- padding-left: 1em !important;
108
- overflow: hidden !important;
109
- white-space: pre !important;
110
- }
111
- .syntaxhighlighter table td.gutter .line {
112
- text-align: right !important;
113
- padding: 0 0.5em 0 1em !important;
114
- }
115
- .syntaxhighlighter table td.code .line {
116
- padding: 0 1em !important;
117
- }
118
- .syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
119
- padding-left: 0em !important;
120
- }
121
- .syntaxhighlighter.show {
122
- display: block !important;
123
- }
124
- .syntaxhighlighter.collapsed table {
125
- display: none !important;
126
- }
127
- .syntaxhighlighter.collapsed .toolbar {
128
- padding: 0.1em 0.8em 0em 0.8em !important;
129
- font-size: 1em !important;
130
- position: static !important;
131
- width: auto !important;
132
- height: auto !important;
133
- }
134
- .syntaxhighlighter.collapsed .toolbar span {
135
- display: inline !important;
136
- margin-right: 1em !important;
137
- }
138
- .syntaxhighlighter.collapsed .toolbar span a {
139
- padding: 0 !important;
140
- display: none !important;
141
- }
142
- .syntaxhighlighter.collapsed .toolbar span a.expandSource {
143
- display: inline !important;
144
- }
145
- .syntaxhighlighter .toolbar {
146
- position: absolute !important;
147
- right: 1px !important;
148
- top: 1px !important;
149
- width: 11px !important;
150
- height: 11px !important;
151
- font-size: 10px !important;
152
- z-index: 10 !important;
153
- }
154
- .syntaxhighlighter .toolbar span.title {
155
- display: inline !important;
156
- }
157
- .syntaxhighlighter .toolbar a {
158
- display: block !important;
159
- text-align: center !important;
160
- text-decoration: none !important;
161
- padding-top: 1px !important;
162
- }
163
- .syntaxhighlighter .toolbar a.expandSource {
164
- display: none !important;
165
- }
166
- .syntaxhighlighter.ie {
167
- font-size: .9em !important;
168
- padding: 1px 0 1px 0 !important;
169
- }
170
- .syntaxhighlighter.ie .toolbar {
171
- line-height: 8px !important;
172
- }
173
- .syntaxhighlighter.ie .toolbar a {
174
- padding-top: 0px !important;
175
- }
176
- .syntaxhighlighter.printing .line.alt1 .content,
177
- .syntaxhighlighter.printing .line.alt2 .content,
178
- .syntaxhighlighter.printing .line.highlighted .number,
179
- .syntaxhighlighter.printing .line.highlighted.alt1 .content,
180
- .syntaxhighlighter.printing .line.highlighted.alt2 .content {
181
- background: none !important;
182
- }
183
- .syntaxhighlighter.printing .line .number {
184
- color: #bbbbbb !important;
185
- }
186
- .syntaxhighlighter.printing .line .content {
187
- color: black !important;
188
- }
189
- .syntaxhighlighter.printing .toolbar {
190
- display: none !important;
191
- }
192
- .syntaxhighlighter.printing a {
193
- text-decoration: none !important;
194
- }
195
- .syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
196
- color: black !important;
197
- }
198
- .syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
199
- color: #008200 !important;
200
- }
201
- .syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
202
- color: blue !important;
203
- }
204
- .syntaxhighlighter.printing .keyword {
205
- color: #006699 !important;
206
- font-weight: bold !important;
207
- }
208
- .syntaxhighlighter.printing .preprocessor {
209
- color: gray !important;
210
- }
211
- .syntaxhighlighter.printing .variable {
212
- color: #aa7700 !important;
213
- }
214
- .syntaxhighlighter.printing .value {
215
- color: #009900 !important;
216
- }
217
- .syntaxhighlighter.printing .functions {
218
- color: #ff1493 !important;
219
- }
220
- .syntaxhighlighter.printing .constants {
221
- color: #0066cc !important;
222
- }
223
- .syntaxhighlighter.printing .script {
224
- font-weight: bold !important;
225
- }
226
- .syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
227
- color: gray !important;
228
- }
229
- .syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
230
- color: #ff1493 !important;
231
- }
232
- .syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
233
- color: red !important;
234
- }
235
- .syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
236
- color: black !important;
237
- }
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: Monaco, "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
+ direction: ltr !important;
54
+ -webkit-box-shadow: none !important;
55
+ -moz-box-shadow: none !important;
56
+ -ms-box-shadow: none !important;
57
+ -o-box-shadow: none !important;
58
+ box-shadow: none !important;
59
+ }
60
+
61
+ .syntaxhighlighter {
62
+ width: 100% !important;
63
+ margin: 1em 0 1em 0 !important;
64
+ position: relative !important;
65
+ overflow: auto !important;
66
+ overflow-y: hidden !important;
67
+ font-size: 1em !important;
68
+ }
69
+ .syntaxhighlighter code {
70
+ display: inline !important;
71
+ }
72
+ .syntaxhighlighter.source {
73
+ overflow: hidden !important;
74
+ }
75
+ .syntaxhighlighter .bold {
76
+ font-weight: bold !important;
77
+ }
78
+ .syntaxhighlighter .italic {
79
+ font-style: italic !important;
80
+ }
81
+ .syntaxhighlighter .line {
82
+ white-space: pre !important;
83
+ }
84
+ .syntaxhighlighter table {
85
+ table-layout: auto !important;
86
+ width: 100% !important;
87
+ }
88
+ .syntaxhighlighter table caption {
89
+ text-align: left !important;
90
+ padding: .5em 0 0.5em 1em !important;
91
+ }
92
+ .syntaxhighlighter table td.code {
93
+ width: 100% !important;
94
+ }
95
+ .syntaxhighlighter table td.code .container {
96
+ position: relative !important;
97
+ }
98
+ .syntaxhighlighter table td.code .container textarea {
99
+ box-sizing: border-box !important;
100
+ position: absolute !important;
101
+ left: 0 !important;
102
+ top: 0 !important;
103
+ width: 100% !important;
104
+ height: 100% !important;
105
+ border: none !important;
106
+ background: white !important;
107
+ padding-left: 1em !important;
108
+ overflow: hidden !important;
109
+ white-space: pre !important;
110
+ }
111
+ .syntaxhighlighter table td.gutter .line {
112
+ text-align: right !important;
113
+ padding: 0 0.5em 0 1em !important;
114
+ }
115
+ .syntaxhighlighter table td.code .line {
116
+ padding: 0 1em !important;
117
+ }
118
+ .syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
119
+ padding-left: 0em !important;
120
+ }
121
+ .syntaxhighlighter.show {
122
+ display: block !important;
123
+ }
124
+ .syntaxhighlighter.collapsed table {
125
+ display: none !important;
126
+ }
127
+ .syntaxhighlighter.collapsed .toolbar {
128
+ padding: 0.1em 0.8em 0em 0.8em !important;
129
+ font-size: 1em !important;
130
+ position: static !important;
131
+ width: auto !important;
132
+ height: auto !important;
133
+ }
134
+ .syntaxhighlighter.collapsed .toolbar span {
135
+ display: inline !important;
136
+ margin-right: 1em !important;
137
+ }
138
+ .syntaxhighlighter.collapsed .toolbar span a {
139
+ padding: 0 !important;
140
+ display: none !important;
141
+ }
142
+ .syntaxhighlighter.collapsed .toolbar span a.expandSource {
143
+ display: inline !important;
144
+ }
145
+ .syntaxhighlighter .toolbar {
146
+ position: absolute !important;
147
+ right: 1px !important;
148
+ top: 1px !important;
149
+ width: 11px !important;
150
+ height: 11px !important;
151
+ font-size: 10px !important;
152
+ z-index: 10 !important;
153
+ }
154
+ .syntaxhighlighter .toolbar span.title {
155
+ display: inline !important;
156
+ }
157
+ .syntaxhighlighter .toolbar a {
158
+ display: block !important;
159
+ text-align: center !important;
160
+ text-decoration: none !important;
161
+ padding-top: 1px !important;
162
+ }
163
+ .syntaxhighlighter .toolbar a.expandSource {
164
+ display: none !important;
165
+ }
166
+ .syntaxhighlighter.ie {
167
+ font-size: .9em !important;
168
+ padding: 1px 0 1px 0 !important;
169
+ }
170
+ .syntaxhighlighter.ie .toolbar {
171
+ line-height: 8px !important;
172
+ }
173
+ .syntaxhighlighter.ie .toolbar a {
174
+ padding-top: 0px !important;
175
+ }
176
+ .syntaxhighlighter.printing .line.alt1 .content,
177
+ .syntaxhighlighter.printing .line.alt2 .content,
178
+ .syntaxhighlighter.printing .line.highlighted .number,
179
+ .syntaxhighlighter.printing .line.highlighted.alt1 .content,
180
+ .syntaxhighlighter.printing .line.highlighted.alt2 .content {
181
+ background: none !important;
182
+ }
183
+ .syntaxhighlighter.printing .line .number {
184
+ color: #bbbbbb !important;
185
+ }
186
+ .syntaxhighlighter.printing .line .content {
187
+ color: black !important;
188
+ }
189
+ .syntaxhighlighter.printing .toolbar {
190
+ display: none !important;
191
+ }
192
+ .syntaxhighlighter.printing a {
193
+ text-decoration: none !important;
194
+ }
195
+ .syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
196
+ color: black !important;
197
+ }
198
+ .syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
199
+ color: #008200 !important;
200
+ }
201
+ .syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
202
+ color: blue !important;
203
+ }
204
+ .syntaxhighlighter.printing .keyword {
205
+ color: #006699 !important;
206
+ font-weight: bold !important;
207
+ }
208
+ .syntaxhighlighter.printing .preprocessor {
209
+ color: gray !important;
210
+ }
211
+ .syntaxhighlighter.printing .variable {
212
+ color: #aa7700 !important;
213
+ }
214
+ .syntaxhighlighter.printing .value {
215
+ color: #009900 !important;
216
+ }
217
+ .syntaxhighlighter.printing .functions {
218
+ color: #ff1493 !important;
219
+ }
220
+ .syntaxhighlighter.printing .constants {
221
+ color: #0066cc !important;
222
+ }
223
+ .syntaxhighlighter.printing .script {
224
+ font-weight: bold !important;
225
+ }
226
+ .syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
227
+ color: gray !important;
228
+ }
229
+ .syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
230
+ color: #ff1493 !important;
231
+ }
232
+ .syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
233
+ color: red !important;
234
+ }
235
+ .syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
236
+ color: black !important;
237
+ }
syntaxhighlighter3/styles/shCoreDefault.css CHANGED
@@ -1,328 +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
- }
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 CHANGED
@@ -1,331 +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
- }
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 CHANGED
@@ -1,339 +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
- }
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 CHANGED
@@ -1,324 +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
- }
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 CHANGED
@@ -1,328 +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
- }
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 CHANGED
@@ -1,324 +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
- }
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 CHANGED
@@ -1,324 +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
- }
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 CHANGED
@@ -1,324 +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
- }
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 CHANGED
@@ -1,117 +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
- }
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 CHANGED
@@ -1,120 +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
- }
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 CHANGED
@@ -1,128 +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
- }
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 CHANGED
@@ -1,113 +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
- }
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 CHANGED
@@ -1,117 +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
- }
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 CHANGED
@@ -1,113 +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
- }
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 CHANGED
@@ -1,113 +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
- }
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 CHANGED
@@ -1,113 +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
- }
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
+ }
syntaxhighlighter_mce-4.js CHANGED
@@ -1,23 +1,23 @@
1
- /*
2
- * SyntaxHighlighter shortcode plugin
3
- * by Andrew Ozz of Automattic
4
- */
5
- tinymce.PluginManager.add( 'syntaxhighlighter', function( editor ) {
6
- editor.on( 'BeforeSetContent', function( event ) {
7
- var shortcodes = window.syntaxHLcodes || 'sourcecode',
8
- regex = new RegExp( '(?:<p>\\s*)?(?:<pre>\\s*)?(\\[(' + shortcodes + ')[^\\]]*\\][\\s\\S]*?\\[\\/\\2\\])(?:\\s*<\\/pre>)?(?:\\s*<\\/p>)?', 'gi' );
9
-
10
- if ( event.content && event.content.indexOf( '[' ) !== -1 ) {
11
- event.content = event.content.replace( regex, function( match, shortcode ) {
12
- shortcode = shortcode.replace( /\r/, '' );
13
- shortcode = shortcode.replace( /<br ?\/?>\n?/g, '\n' ).replace( /<\/?p( [^>]*)?>\n?/g, '\n' );
14
-
15
- if ( ! event.initial || ( window.syntaxHLescape && window.syntaxHLescape[ editor.id ] ) ) {
16
- shortcode = shortcode.replace( /&/g, '&amp;' ).replace( /</g, '&lt;' ).replace( />/g, '&gt;' );
17
- }
18
-
19
- return '<pre>' + shortcode + '</pre>';
20
- });
21
- }
22
- });
23
- });
1
+ /*
2
+ * SyntaxHighlighter shortcode plugin
3
+ * by Andrew Ozz of Automattic
4
+ */
5
+ tinymce.PluginManager.add( 'syntaxhighlighter', function( editor ) {
6
+ editor.on( 'BeforeSetContent', function( event ) {
7
+ var shortcodes = window.syntaxHLcodes || 'sourcecode',
8
+ regex = new RegExp( '(?:<p>\\s*)?(?:<pre>\\s*)?(\\[(' + shortcodes + ')[^\\]]*\\][\\s\\S]*?\\[\\/\\2\\])(?:\\s*<\\/pre>)?(?:\\s*<\\/p>)?', 'gi' );
9
+
10
+ if ( event.content && event.content.indexOf( '[' ) !== -1 ) {
11
+ event.content = event.content.replace( regex, function( match, shortcode ) {
12
+ shortcode = shortcode.replace( /\r/, '' );
13
+ shortcode = shortcode.replace( /<br ?\/?>\n?/g, '\n' ).replace( /<\/?p( [^>]*)?>\n?/g, '\n' );
14
+
15
+ if ( ! event.initial || ( window.syntaxHLescape && window.syntaxHLescape[ editor.id ] ) ) {
16
+ shortcode = shortcode.replace( /&/g, '&amp;' ).replace( /</g, '&lt;' ).replace( />/g, '&gt;' );
17
+ }
18
+
19
+ return '<pre>' + shortcode + '</pre>';
20
+ });
21
+ }
22
+ });
23
+ });
syntaxhighlighter_mce.js CHANGED
@@ -1,109 +1,109 @@
1
- /*
2
- * SyntaxHighlighter shortcode plugin
3
- * by Andrew Ozz of Automattic
4
- */
5
-
6
- // Avoid JS errors
7
- if ( typeof syntaxHLcodes == 'undefined' ) {
8
- var syntaxHLcodes = 'sourcecode';
9
- }
10
-
11
- (function() {
12
- tinymce.create('tinymce.plugins.SyntaxHighlighterPlugin', {
13
-
14
- init : function(ed, url) {
15
- var t = this;
16
-
17
- ed.onBeforeSetContent.add(function(ed, o) {
18
- o.content = t._htmlToVisual(o.content);
19
- });
20
-
21
- ed.onPostProcess.add(function(ed, o) {
22
- if ( o.save ) {
23
- o.content = t._visualToHtml(o.content);
24
- }
25
- });
26
- },
27
-
28
- getInfo : function() {
29
- return {
30
- longname : 'SyntaxHighlighter Assister',
31
- author : 'Automattic',
32
- authorurl : 'http://wordpress.com/',
33
- infourl : 'http://wordpress.org/extend/plugins/syntaxhighlighter/',
34
- version : tinymce.majorVersion + "." + tinymce.minorVersion
35
- };
36
- },
37
-
38
- // Private methods
39
- _visualToHtml : function(content) {
40
- content = tinymce.trim(content);
41
- // 2 <br> get converted to \n\n and are needed to preserve the next <p>
42
- content = content.replace(new RegExp('(<pre>\\s*)?(\\[(' + syntaxHLcodes + ')[^\\]]*\\][\\s\\S]*?\\[\\/\\3\\])(\\s*<\\/pre>)?', 'gi'),
43
- function(a) {
44
- a = a.replace( /<br \/>([\t ])/g, '<br \/><%%KEEPWHITESPACE%%>$1' );
45
- return a + '<br /><br />';
46
- });
47
- content = content.replace(/<\/pre>(<br \/><br \/>)?<pre>/gi, '\n');
48
- return content;
49
- },
50
-
51
- _htmlToVisual : function(content) {
52
- content = tinymce.trim(content);
53
-
54
- content = content.replace(new RegExp('(<p>\\s*)?(<pre>\\s*)?(\\[(' + syntaxHLcodes + ')[^\\]]*\\][\\s\\S]*?\\[\\/\\4\\])(\\s*<\\/pre>)?(\\s*<\\/p>)?', 'gi'), '<pre>$3</pre>');
55
- content = content.replace(/<\/pre><pre>/gi, '\n');
56
-
57
- // Remove anonymous, empty paragraphs.
58
- content = content.replace(/<p>(\s|&nbsp;)*<\/p>/mg, '');
59
-
60
- // Look for <p> <br> in the [tag]s, replace with <br />
61
- content = content.replace(new RegExp('\\[(' + syntaxHLcodes + ')[^\\]]*\\][\\s\\S]+?\\[\\/\\1\\]', 'gi'),
62
- function(a) {
63
- return a.replace(/<br ?\/?>[\r\n]*/g, '<br />').replace(/<\/?p( [^>]*)?>[\r\n]*/g, '<br />');
64
- });
65
-
66
- return content;
67
- }
68
- });
69
-
70
- // Register plugin
71
- tinymce.PluginManager.add('syntaxhighlighter', tinymce.plugins.SyntaxHighlighterPlugin);
72
- })();
73
-
74
- var syntaxHLlast = 0;
75
- function pre_wpautop2(content) {
76
- var d = new Date(), time = d.getTime();
77
-
78
- if ( time - syntaxHLlast < 500 )
79
- return content;
80
-
81
- syntaxHLlast = time;
82
-
83
- content = content.replace(new RegExp('<pre>\\s*\\[(' + syntaxHLcodes + ')', 'gi'), '[$1');
84
- content = content.replace(new RegExp('\\[\\/(' + syntaxHLcodes + ')\\]\\s*<\\/pre>', 'gi'), '[/$1]');
85
-
86
- content = this._pre_wpautop(content);
87
-
88
- content = content.replace(new RegExp('\\[(' + syntaxHLcodes + ')[^\\]]*\\][\\s\\S]+?\\[\\/\\1\\]', 'gi'),
89
- function(a) {
90
- return a.replace(/&lt;/g, '<').replace(/&gt;/g, '>').replace(/&amp;/g, '&').replace(/<%%KEEPWHITESPACE%%>/g, '');
91
- });
92
-
93
- return content;
94
- }
95
-
96
- function wpautop2(content) {
97
- // js htmlspecialchars
98
- content = content.replace(new RegExp('\\[(' + syntaxHLcodes + ')[^\\]]*\\][\\s\\S]+?\\[\\/\\1\\]', 'gi'),
99
- function(a) {
100
- return a.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
101
- });
102
-
103
- return this._wpautop(content);
104
- }
105
-
106
- switchEditors._pre_wpautop = switchEditors.pre_wpautop;
107
- switchEditors._wpautop = switchEditors.wpautop;
108
- switchEditors.pre_wpautop = pre_wpautop2;
109
  switchEditors.wpautop = wpautop2;
1
+ /*
2
+ * SyntaxHighlighter shortcode plugin
3
+ * by Andrew Ozz of Automattic
4
+ */
5
+
6
+ // Avoid JS errors
7
+ if ( typeof syntaxHLcodes == 'undefined' ) {
8
+ var syntaxHLcodes = 'sourcecode';
9
+ }
10
+
11
+ (function() {
12
+ tinymce.create('tinymce.plugins.SyntaxHighlighterPlugin', {
13
+
14
+ init : function(ed, url) {
15
+ var t = this;
16
+
17
+ ed.onBeforeSetContent.add(function(ed, o) {
18
+ o.content = t._htmlToVisual(o.content);
19
+ });
20
+
21
+ ed.onPostProcess.add(function(ed, o) {
22
+ if ( o.save ) {
23
+ o.content = t._visualToHtml(o.content);
24
+ }
25
+ });
26
+ },
27
+
28
+ getInfo : function() {
29
+ return {
30
+ longname : 'SyntaxHighlighter Assister',
31
+ author : 'Automattic',
32
+ authorurl : 'http://wordpress.com/',
33
+ infourl : 'http://wordpress.org/extend/plugins/syntaxhighlighter/',
34
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
35
+ };
36
+ },
37
+
38
+ // Private methods
39
+ _visualToHtml : function(content) {
40
+ content = tinymce.trim(content);
41
+ // 2 <br> get converted to \n\n and are needed to preserve the next <p>
42
+ content = content.replace(new RegExp('(<pre>\\s*)?(\\[(' + syntaxHLcodes + ')[^\\]]*\\][\\s\\S]*?\\[\\/\\3\\])(\\s*<\\/pre>)?', 'gi'),
43
+ function(a) {
44
+ a = a.replace( /<br \/>([\t ])/g, '<br \/><%%KEEPWHITESPACE%%>$1' );
45
+ return a + '<br /><br />';
46
+ });
47
+ content = content.replace(/<\/pre>(<br \/><br \/>)?<pre>/gi, '\n');
48
+ return content;
49
+ },
50
+
51
+ _htmlToVisual : function(content) {
52
+ content = tinymce.trim(content);
53
+
54
+ content = content.replace(new RegExp('(<p>\\s*)?(<pre>\\s*)?(\\[(' + syntaxHLcodes + ')[^\\]]*\\][\\s\\S]*?\\[\\/\\4\\])(\\s*<\\/pre>)?(\\s*<\\/p>)?', 'gi'), '<pre>$3</pre>');
55
+ content = content.replace(/<\/pre><pre>/gi, '\n');
56
+
57
+ // Remove anonymous, empty paragraphs.
58
+ content = content.replace(/<p>(\s|&nbsp;)*<\/p>/mg, '');
59
+
60
+ // Look for <p> <br> in the [tag]s, replace with <br />
61
+ content = content.replace(new RegExp('\\[(' + syntaxHLcodes + ')[^\\]]*\\][\\s\\S]+?\\[\\/\\1\\]', 'gi'),
62
+ function(a) {
63
+ return a.replace(/<br ?\/?>[\r\n]*/g, '<br />').replace(/<\/?p( [^>]*)?>[\r\n]*/g, '<br />');
64
+ });
65
+
66
+ return content;
67
+ }
68
+ });
69
+
70
+ // Register plugin
71
+ tinymce.PluginManager.add('syntaxhighlighter', tinymce.plugins.SyntaxHighlighterPlugin);
72
+ })();
73
+
74
+ var syntaxHLlast = 0;
75
+ function pre_wpautop2(content) {
76
+ var d = new Date(), time = d.getTime();
77
+
78
+ if ( time - syntaxHLlast < 500 )
79
+ return content;
80
+
81
+ syntaxHLlast = time;
82
+
83
+ content = content.replace(new RegExp('<pre>\\s*\\[(' + syntaxHLcodes + ')', 'gi'), '[$1');
84
+ content = content.replace(new RegExp('\\[\\/(' + syntaxHLcodes + ')\\]\\s*<\\/pre>', 'gi'), '[/$1]');
85
+
86
+ content = this._pre_wpautop(content);
87
+
88
+ content = content.replace(new RegExp('\\[(' + syntaxHLcodes + ')[^\\]]*\\][\\s\\S]+?\\[\\/\\1\\]', 'gi'),
89
+ function(a) {
90
+ return a.replace(/&lt;/g, '<').replace(/&gt;/g, '>').replace(/&amp;/g, '&').replace(/<%%KEEPWHITESPACE%%>/g, '');
91
+ });
92
+
93
+ return content;
94
+ }
95
+
96
+ function wpautop2(content) {
97
+ // js htmlspecialchars
98
+ content = content.replace(new RegExp('\\[(' + syntaxHLcodes + ')[^\\]]*\\][\\s\\S]+?\\[\\/\\1\\]', 'gi'),
99
+ function(a) {
100
+ return a.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
101
+ });
102
+
103
+ return this._wpautop(content);
104
+ }
105
+
106
+ switchEditors._pre_wpautop = switchEditors.pre_wpautop;
107
+ switchEditors._wpautop = switchEditors.wpautop;
108
+ switchEditors.pre_wpautop = pre_wpautop2;
109
  switchEditors.wpautop = wpautop2;
third-party-brushes/_readme.txt CHANGED
@@ -1,14 +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
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/shBrushObjC.js CHANGED
@@ -1,49 +1,49 @@
1
- /**
2
- * Wordpress SyntaxHighlighter brush for Objective-C
3
- * By Matej Bukovinski, www.bukovinski.com
4
- *
5
- * Copyright (C) 2009 Matej Bukovinski
6
- *
7
- * Adapted from:
8
- * SyntaxHighlighter - Objective-C Brush, version 1.0.0
9
- * http://codepirate.seaandco.com/
10
- * Copyright (C) 2009 Geoffrey Byers.
11
- *
12
- * Licensed under a GNU Lesser General Public License.
13
- * http://creativecommons.org/licenses/LGPL/2.1/
14
- *
15
- */
16
-
17
- SyntaxHighlighter.brushes.ObjC = function() {
18
-
19
- var datatypes = 'char bool BOOL double float int long short id void';
20
-
21
- var keywords = 'IBAction IBOutlet SEL YES NO readwrite readonly nonatomic nil NULL ';
22
- keywords += 'super self copy ';
23
- keywords += 'break case catch class const copy __finally __exception __try ';
24
- keywords += 'const_cast continue private public protected __declspec ';
25
- keywords += 'default delete deprecated dllexport dllimport do dynamic_cast ';
26
- keywords += 'else enum explicit extern if for friend goto inline ';
27
- keywords += 'mutable naked namespace new noinline noreturn nothrow ';
28
- keywords += 'register reinterpret_cast return selectany ';
29
- keywords += 'sizeof static static_cast struct switch template this ';
30
- keywords += 'thread throw true false try typedef typeid typename union ';
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
44
- ];
45
-
46
- }
47
-
48
- SyntaxHighlighter.brushes.ObjC.prototype = new SyntaxHighlighter.Highlighter();
49
- SyntaxHighlighter.brushes.ObjC.aliases = ['objc', 'obj-c'];
1
+ /**
2
+ * Wordpress SyntaxHighlighter brush for Objective-C
3
+ * By Matej Bukovinski, www.bukovinski.com
4
+ *
5
+ * Copyright (C) 2009 Matej Bukovinski
6
+ *
7
+ * Adapted from:
8
+ * SyntaxHighlighter - Objective-C Brush, version 1.0.0
9
+ * http://codepirate.seaandco.com/
10
+ * Copyright (C) 2009 Geoffrey Byers.
11
+ *
12
+ * Licensed under a GNU Lesser General Public License.
13
+ * http://creativecommons.org/licenses/LGPL/2.1/
14
+ *
15
+ */
16
+
17
+ SyntaxHighlighter.brushes.ObjC = function() {
18
+
19
+ var datatypes = 'char bool BOOL double float int long short id void';
20
+
21
+ var keywords = 'IBAction IBOutlet SEL YES NO readwrite readonly nonatomic nil NULL ';
22
+ keywords += 'super self copy ';
23
+ keywords += 'break case catch class const copy __finally __exception __try ';
24
+ keywords += 'const_cast continue private public protected __declspec ';
25
+ keywords += 'default delete deprecated dllexport dllimport do dynamic_cast ';
26
+ keywords += 'else enum explicit extern if for friend goto inline ';
27
+ keywords += 'mutable naked namespace new noinline noreturn nothrow ';
28
+ keywords += 'register reinterpret_cast return selectany ';
29
+ keywords += 'sizeof static static_cast struct switch template this ';
30
+ keywords += 'thread throw true false try typedef typeid typename union ';
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
44
+ ];
45
+
46
+ }
47
+
48
+ SyntaxHighlighter.brushes.ObjC.prototype = new SyntaxHighlighter.Highlighter();
49
+ SyntaxHighlighter.brushes.ObjC.aliases = ['objc', 'obj-c'];