tobias-codex 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. data/History.txt +18 -0
  2. data/LICENSE.txt +29 -0
  3. data/Manifest.txt +105 -0
  4. data/PostInstall.txt +5 -0
  5. data/README.txt +34 -0
  6. data/Rakefile +6 -0
  7. data/app_generators/codex/USAGE +5 -0
  8. data/app_generators/codex/codex_generator.rb +109 -0
  9. data/app_generators/codex/templates/Rakefile +59 -0
  10. data/app_generators/codex/templates/bin/build_all.rb +47 -0
  11. data/app_generators/codex/templates/bin/postprocess_all.rb +5 -0
  12. data/app_generators/codex/templates/bin/pressie.rb +10 -0
  13. data/app_generators/codex/templates/code/control/basic_continuation.rb +11 -0
  14. data/app_generators/codex/templates/code/control/cc_throw_catch.rb +59 -0
  15. data/app_generators/codex/templates/code/control/closure_continuation.rb +8 -0
  16. data/app_generators/codex/templates/code/control/closure_continuation_2.rb +12 -0
  17. data/app_generators/codex/templates/dp.SyntaxHighlighter/CSS.html +115 -0
  18. data/app_generators/codex/templates/dp.SyntaxHighlighter/CSharp.html +134 -0
  19. data/app_generators/codex/templates/dp.SyntaxHighlighter/CollapseCode.html +90 -0
  20. data/app_generators/codex/templates/dp.SyntaxHighlighter/Cpp.html +190 -0
  21. data/app_generators/codex/templates/dp.SyntaxHighlighter/CrashTest.html +108 -0
  22. data/app_generators/codex/templates/dp.SyntaxHighlighter/Delphi.html +112 -0
  23. data/app_generators/codex/templates/dp.SyntaxHighlighter/FirstLine.html +90 -0
  24. data/app_generators/codex/templates/dp.SyntaxHighlighter/Index.html +80 -0
  25. data/app_generators/codex/templates/dp.SyntaxHighlighter/Java.html +122 -0
  26. data/app_generators/codex/templates/dp.SyntaxHighlighter/JavaScript.html +112 -0
  27. data/app_generators/codex/templates/dp.SyntaxHighlighter/NoControls.html +89 -0
  28. data/app_generators/codex/templates/dp.SyntaxHighlighter/NoGutter.html +89 -0
  29. data/app_generators/codex/templates/dp.SyntaxHighlighter/PHP.html +102 -0
  30. data/app_generators/codex/templates/dp.SyntaxHighlighter/Python.html +121 -0
  31. data/app_generators/codex/templates/dp.SyntaxHighlighter/Ruby.html +131 -0
  32. data/app_generators/codex/templates/dp.SyntaxHighlighter/SQL.html +98 -0
  33. data/app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/clipboard.swf +0 -0
  34. data/app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushCSharp.js +32 -0
  35. data/app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushCpp.js +73 -0
  36. data/app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushCss.js +52 -0
  37. data/app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushDelphi.js +34 -0
  38. data/app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushJScript.js +22 -0
  39. data/app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushJava.js +28 -0
  40. data/app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushPhp.js +60 -0
  41. data/app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushPython.js +30 -0
  42. data/app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushRuby.js +28 -0
  43. data/app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushSql.js +42 -0
  44. data/app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushVb.js +29 -0
  45. data/app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushXml.js +70 -0
  46. data/app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shCore.js +414 -0
  47. data/app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shCore.uncompressed.js +674 -0
  48. data/app_generators/codex/templates/dp.SyntaxHighlighter/ShowColumns.html +89 -0
  49. data/app_generators/codex/templates/dp.SyntaxHighlighter/SmartTabs.html +88 -0
  50. data/app_generators/codex/templates/dp.SyntaxHighlighter/Styles/SyntaxHighlighter.css +158 -0
  51. data/app_generators/codex/templates/dp.SyntaxHighlighter/Styles/TestPages.css +63 -0
  52. data/app_generators/codex/templates/dp.SyntaxHighlighter/Templates/Test.dwt +80 -0
  53. data/app_generators/codex/templates/dp.SyntaxHighlighter/VB.html +115 -0
  54. data/app_generators/codex/templates/dp.SyntaxHighlighter/XML.html +136 -0
  55. data/app_generators/codex/templates/html/all.html +0 -0
  56. data/app_generators/codex/templates/readme.txt +4 -0
  57. data/app_generators/codex/templates/slides/basics.slides +37 -0
  58. data/app_generators/codex/templates/slides/building.slides +27 -0
  59. data/app_generators/codex/templates/slides/example.slides +80 -0
  60. data/app_generators/codex/templates/slides/including_code.slides +80 -0
  61. data/app_generators/codex/templates/slides/including_tex.slides +31 -0
  62. data/app_generators/codex/templates/slides/metadata.yml +4 -0
  63. data/app_generators/codex/templates/slides/table_of_contents.slides +20 -0
  64. data/app_generators/codex/templates/ui/default/blank.gif +0 -0
  65. data/app_generators/codex/templates/ui/default/bodybg.gif +0 -0
  66. data/app_generators/codex/templates/ui/default/framing.css +23 -0
  67. data/app_generators/codex/templates/ui/default/iepngfix.htc +42 -0
  68. data/app_generators/codex/templates/ui/default/opera.css +7 -0
  69. data/app_generators/codex/templates/ui/default/outline.css +15 -0
  70. data/app_generators/codex/templates/ui/default/pretty.css +86 -0
  71. data/app_generators/codex/templates/ui/default/print.css +1 -0
  72. data/app_generators/codex/templates/ui/default/s5-core.css +9 -0
  73. data/app_generators/codex/templates/ui/default/slides.css +3 -0
  74. data/app_generators/codex/templates/ui/default/slides.js +553 -0
  75. data/bin/codex +17 -0
  76. data/codex.gemspec +30 -0
  77. data/config/hoe.rb +76 -0
  78. data/config/requirements.rb +15 -0
  79. data/lib/codex.rb +23 -0
  80. data/lib/codex/content.rb +55 -0
  81. data/lib/codex/pressie.rb +118 -0
  82. data/lib/codex/version.rb +9 -0
  83. data/lib/stylesheets/pressie.css +196 -0
  84. data/lib/stylesheets/print.css +149 -0
  85. data/lib/stylesheets/ruby.png +0 -0
  86. data/script/console +10 -0
  87. data/script/destroy +14 -0
  88. data/script/generate +14 -0
  89. data/setup.rb +1585 -0
  90. data/tasks/deployment.rake +34 -0
  91. data/tasks/environment.rake +7 -0
  92. data/tasks/website.rake +9 -0
  93. data/test/test_codex.rb +11 -0
  94. data/test/test_codex_generator.rb +78 -0
  95. data/test/test_generator_helper.rb +29 -0
  96. data/test/test_helper.rb +2 -0
  97. metadata +164 -0
@@ -0,0 +1,89 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/Test.dwt" codeOutsideHTMLIsLocked="false" -->
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5
+ <title>dp.SyntaxHighlighter Tests</title>
6
+ <link type="text/css" rel="stylesheet" href="Styles/SyntaxHighlighter.css"></link>
7
+ <link href="Styles/TestPages.css" rel="stylesheet" type="text/css">
8
+ </head>
9
+
10
+ <body>
11
+
12
+ <h1>dp.SyntaxHighlighter 1.5.0 Tests and Samples</h1>
13
+ <p><a href="http://code.google.com/p/syntaxhighlighter/">http://code.google.com/p/syntaxhighlighter/</a></p>
14
+
15
+ <h2><!-- InstanceBeginEditable name="Title" -->Show columns<!-- InstanceEndEditable --></h2>
16
+
17
+ <div class="layout">
18
+
19
+ <div class="column1">
20
+ <h3>Languages:</h3>
21
+ <ol>
22
+ <li><a href="CSharp.html">C#</a></li>
23
+ <li><a href="CSS.html">CSS</a></li>
24
+ <li><a href="Cpp.html">C++</a></li>
25
+ <li><a href="Delphi.html">Delphi</a></li>
26
+ <li><a href="Java.html">Java</a></li>
27
+ <li><a href="JavaScript.html">JavaScript</a></li>
28
+ <li><a href="PHP.html">PHP</a></li>
29
+ <li><a href="Python.html">Python</a></li>
30
+ <li><a href="Ruby.html">Ruby</a></li>
31
+ <li><a href="SQL.html">SQL</a></li>
32
+ <li><a href="VB.html">Visual Basic</a></li>
33
+ <li><a href="XML.html">XML / HTML</a></li>
34
+ </ol>
35
+ <h3>Features:</h3>
36
+ <ol>
37
+ <li><a href="SmartTabs.html">Smart tabs</a></li>
38
+ <li><a href="FirstLine.html">First line</a> </li>
39
+ <li><a href="CollapseCode.html">Expand code</a></li>
40
+ <li><a href="ShowColumns.html">Show columns</a></li>
41
+ <li><a href="NoGutter.html">No gutter</a></li>
42
+ <li><a href="NoControls.html">No controls</a></li>
43
+ </ol>
44
+ </div>
45
+
46
+ <div class="column2">
47
+ Text body before.
48
+ <hr/>
49
+ <!-- InstanceBeginEditable name="Code" -->
50
+ <p>You can have show columns in the first line by adding <code>showcolumns</code>.</p>
51
+ <p><code>&lt;pre name="code" class="c-sharp:showcolumns" /></code></p>
52
+
53
+ <pre name="code" class="c-sharp:showcolumns">
54
+ 1 2 3 4 5 6 7 8 9 10
55
+ string path = "";
56
+ string safeReferrer = null;
57
+ FileInfo fileInfo = new FileInfo(string.Format("{0}/{1}", path, image));
58
+ int index = 0;
59
+ </pre>
60
+ <!-- InstanceEndEditable -->
61
+ <hr/>
62
+ Text body after.
63
+ </div>
64
+ </div>
65
+
66
+ <div class="footer">
67
+ Copyright 2004-2007 Alex Gorbatchev.<br/>
68
+ </div>
69
+
70
+ <script class="javascript" src="Scripts/shCore.js"></script>
71
+ <script class="javascript" src="Scripts/shBrushCSharp.js"></script>
72
+ <script class="javascript" src="Scripts/shBrushPhp.js"></script>
73
+ <script class="javascript" src="Scripts/shBrushJScript.js"></script>
74
+ <script class="javascript" src="Scripts/shBrushJava.js"></script>
75
+ <script class="javascript" src="Scripts/shBrushVb.js"></script>
76
+ <script class="javascript" src="Scripts/shBrushSql.js"></script>
77
+ <script class="javascript" src="Scripts/shBrushXml.js"></script>
78
+ <script class="javascript" src="Scripts/shBrushDelphi.js"></script>
79
+ <script class="javascript" src="Scripts/shBrushPython.js"></script>
80
+ <script class="javascript" src="Scripts/shBrushRuby.js"></script>
81
+ <script class="javascript" src="Scripts/shBrushCss.js"></script>
82
+ <script class="javascript" src="Scripts/shBrushCpp.js"></script>
83
+ <script class="javascript">
84
+ dp.SyntaxHighlighter.ClipboardSwf = 'Scripts/clipboard.swf';
85
+ dp.SyntaxHighlighter.HighlightAll('code');
86
+ </script>
87
+
88
+ </body>
89
+ <!-- InstanceEnd --></html>
@@ -0,0 +1,88 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/Test.dwt" codeOutsideHTMLIsLocked="false" -->
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5
+ <title>dp.SyntaxHighlighter Tests</title>
6
+ <link type="text/css" rel="stylesheet" href="Styles/SyntaxHighlighter.css"></link>
7
+ <link href="Styles/TestPages.css" rel="stylesheet" type="text/css">
8
+ </head>
9
+
10
+ <body>
11
+
12
+ <h1>dp.SyntaxHighlighter 1.5.0 Tests and Samples</h1>
13
+ <p><a href="http://code.google.com/p/syntaxhighlighter/">http://code.google.com/p/syntaxhighlighter/</a></p>
14
+
15
+ <h2><!-- InstanceBeginEditable name="Title" -->Smart Tabs &amp; First Line<!-- InstanceEndEditable --></h2>
16
+
17
+ <div class="layout">
18
+
19
+ <div class="column1">
20
+ <h3>Languages:</h3>
21
+ <ol>
22
+ <li><a href="CSharp.html">C#</a></li>
23
+ <li><a href="CSS.html">CSS</a></li>
24
+ <li><a href="Cpp.html">C++</a></li>
25
+ <li><a href="Delphi.html">Delphi</a></li>
26
+ <li><a href="Java.html">Java</a></li>
27
+ <li><a href="JavaScript.html">JavaScript</a></li>
28
+ <li><a href="PHP.html">PHP</a></li>
29
+ <li><a href="Python.html">Python</a></li>
30
+ <li><a href="Ruby.html">Ruby</a></li>
31
+ <li><a href="SQL.html">SQL</a></li>
32
+ <li><a href="VB.html">Visual Basic</a></li>
33
+ <li><a href="XML.html">XML / HTML</a></li>
34
+ </ol>
35
+ <h3>Features:</h3>
36
+ <ol>
37
+ <li><a href="SmartTabs.html">Smart tabs</a></li>
38
+ <li><a href="FirstLine.html">First line</a> </li>
39
+ <li><a href="CollapseCode.html">Expand code</a></li>
40
+ <li><a href="ShowColumns.html">Show columns</a></li>
41
+ <li><a href="NoGutter.html">No gutter</a></li>
42
+ <li><a href="NoControls.html">No controls</a></li>
43
+ </ol>
44
+ </div>
45
+
46
+ <div class="column2">
47
+ Text body before.
48
+ <hr/>
49
+ <!-- InstanceBeginEditable name="Code" -->
50
+ <p>The tabs are converted to spaces and smart tabs are used to preserve column layout with assumption that each column is 4 spaces.</p>
51
+
52
+ <pre name="code" class="c-sharp">
53
+ 1 2 3 4 5 6 7 8 9 10
54
+ string path = "";
55
+ string safeReferrer = null;
56
+ FileInfo fileInfo = new FileInfo(string.Format("{0}/{1}", path, image));
57
+ int index = 0;
58
+ </pre>
59
+ <!-- InstanceEndEditable -->
60
+ <hr/>
61
+ Text body after.
62
+ </div>
63
+ </div>
64
+
65
+ <div class="footer">
66
+ Copyright 2004-2007 Alex Gorbatchev.<br/>
67
+ </div>
68
+
69
+ <script class="javascript" src="Scripts/shCore.js"></script>
70
+ <script class="javascript" src="Scripts/shBrushCSharp.js"></script>
71
+ <script class="javascript" src="Scripts/shBrushPhp.js"></script>
72
+ <script class="javascript" src="Scripts/shBrushJScript.js"></script>
73
+ <script class="javascript" src="Scripts/shBrushJava.js"></script>
74
+ <script class="javascript" src="Scripts/shBrushVb.js"></script>
75
+ <script class="javascript" src="Scripts/shBrushSql.js"></script>
76
+ <script class="javascript" src="Scripts/shBrushXml.js"></script>
77
+ <script class="javascript" src="Scripts/shBrushDelphi.js"></script>
78
+ <script class="javascript" src="Scripts/shBrushPython.js"></script>
79
+ <script class="javascript" src="Scripts/shBrushRuby.js"></script>
80
+ <script class="javascript" src="Scripts/shBrushCss.js"></script>
81
+ <script class="javascript" src="Scripts/shBrushCpp.js"></script>
82
+ <script class="javascript">
83
+ dp.SyntaxHighlighter.ClipboardSwf = 'Scripts/clipboard.swf';
84
+ dp.SyntaxHighlighter.HighlightAll('code');
85
+ </script>
86
+
87
+ </body>
88
+ <!-- InstanceEnd --></html>
@@ -0,0 +1,158 @@
1
+ .dp-highlighter
2
+ {
3
+ font-family: "Consolas", "Courier New", Courier, mono;
4
+ font-size: 12px;
5
+ background-color: #E7E5DC;
6
+ width: 99%;
7
+ overflow: auto;
8
+ margin: 18px 0px 18px 0px;
9
+ padding-top: 1px; /* adds a little border on top when controls are hidden */
10
+ }
11
+
12
+ .dp-highlighter .bar
13
+ {
14
+ padding-left: 45px;
15
+ }
16
+
17
+ .dp-highlighter.collapsed .bar,
18
+ .dp-highlighter.nogutter .bar
19
+ {
20
+ padding-left: 0px;
21
+ }
22
+
23
+ .dp-highlighter ol
24
+ {
25
+ list-style: decimal; /* for ie */
26
+ list-style: decimal-leading-zero; /* better look for others */
27
+ background-color: #fff;
28
+ margin: 0px 0px 1px 45px; /* 1px bottom margin seems to fix occasional Firefox scrolling */
29
+ padding: 0px;
30
+ color: #5C5C5C;
31
+ }
32
+
33
+ .dp-highlighter.nogutter ol
34
+ {
35
+ list-style-type: none !important;
36
+ margin-left: 0px;
37
+ }
38
+
39
+ .dp-highlighter ol li,
40
+ .dp-highlighter .columns div
41
+ {
42
+ border-left: 3px solid #6CE26C;
43
+ background-color: #f8f8f8;
44
+ padding-left: 10px;
45
+ line-height: 14px;
46
+ }
47
+
48
+ .dp-highlighter.nogutter ol li,
49
+ .dp-highlighter.nogutter .columns div
50
+ {
51
+ border: 0;
52
+ }
53
+
54
+ .dp-highlighter .columns
55
+ {
56
+ color: gray;
57
+ overflow: hidden;
58
+ width: 100%;
59
+ }
60
+
61
+ .dp-highlighter .columns div
62
+ {
63
+ padding-bottom: 5px;
64
+ }
65
+
66
+ .dp-highlighter ol li.alt
67
+ {
68
+ background-color: #fff;
69
+ }
70
+
71
+ .dp-highlighter ol li span
72
+ {
73
+ color: Black;
74
+ }
75
+
76
+ /* Adjust some properties when collapsed */
77
+
78
+ .dp-highlighter.collapsed ol
79
+ {
80
+ margin: 0px;
81
+ }
82
+
83
+ .dp-highlighter.collapsed ol li
84
+ {
85
+ display: none;
86
+ }
87
+
88
+ /* Additional modifications when in print-view */
89
+
90
+ .dp-highlighter.printing
91
+ {
92
+ border: none;
93
+ }
94
+
95
+ .dp-highlighter.printing .tools
96
+ {
97
+ display: none !important;
98
+ }
99
+
100
+ .dp-highlighter.printing li
101
+ {
102
+ display: list-item !important;
103
+ }
104
+
105
+ /* Styles for the tools */
106
+
107
+ .dp-highlighter .tools
108
+ {
109
+ padding: 3px 8px 3px 10px;
110
+ font: 9px Verdana, Geneva, Arial, Helvetica, sans-serif;
111
+ color: silver;
112
+ background-color: #f8f8f8;
113
+ text-align1: right;
114
+ padding-bottom: 10px;
115
+ border-left: 3px solid #6CE26C;
116
+ }
117
+
118
+ .dp-highlighter.nogutter .tools
119
+ {
120
+ border-left: 0;
121
+ }
122
+
123
+ .dp-highlighter.collapsed .tools
124
+ {
125
+ border-bottom: 0;
126
+ }
127
+
128
+ .dp-highlighter .tools a
129
+ {
130
+ font-size: 9px;
131
+ color: #a0a0a0;
132
+ text-decoration: none;
133
+ margin-right: 10px;
134
+ }
135
+
136
+ .dp-highlighter .tools a:hover
137
+ {
138
+ color: red;
139
+ text-decoration: underline;
140
+ }
141
+
142
+ /* About dialog styles */
143
+
144
+ .dp-about { background-color: #fff; margin: 0px; padding: 0px; }
145
+ .dp-about table { width: 100%; height: 100%; font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important; }
146
+ .dp-about td { padding: 10px; vertical-align: top; }
147
+ .dp-about .copy { border-bottom: 1px solid #ACA899; height: 95%; }
148
+ .dp-about .title { color: red; font-weight: bold; }
149
+ .dp-about .para { margin: 0 0 4px 0; }
150
+ .dp-about .footer { background-color: #ECEADB; border-top: 1px solid #fff; text-align: right; }
151
+ .dp-about .close { font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important; background-color: #ECEADB; width: 60px; height: 22px; }
152
+
153
+ /* Language specific styles */
154
+
155
+ .dp-highlighter .comment, .dp-highlighter .comments { color: #008200; }
156
+ .dp-highlighter .string { color: blue; }
157
+ .dp-highlighter .keyword { color: #069; font-weight: bold; }
158
+ .dp-highlighter .preprocessor { color: gray; }
@@ -0,0 +1,63 @@
1
+ @import url(undohtml.css);
2
+
3
+ body
4
+ {
5
+ background-color: #fff;
6
+ font-family: Verdana, Arial, Helvetica, sans-serif;
7
+ font-size: 12px;
8
+ padding: 20px;
9
+ }
10
+
11
+ h1, h2, h3 { font-weight: normal; margin: 0px 0px 10px 0px; }
12
+ h1 { font-size: 200%; border-bottom: 5px solid #f0f0f0; padding-bottom: 5px; font-family: "Trebuchet MS", Trebuchet, Verdana, sans-serif; }
13
+ h2 { font-size: 150%; margin-left: 20%; }
14
+ h3 { font-size: 120%; }
15
+
16
+ li a
17
+ {
18
+ color: blue;
19
+ text-decoration: none;
20
+ }
21
+
22
+ li a:hover
23
+ {
24
+ background-color: #FFFF00 !important;
25
+ }
26
+
27
+ li a:visited
28
+ {
29
+ background-color: #ececec;
30
+ }
31
+
32
+ .layout
33
+ {
34
+ position: relative;
35
+ }
36
+
37
+ .column1
38
+ {
39
+ width: 15%;
40
+ border-right: 15px solid silver;
41
+ background-color: #f0f0f0;
42
+ padding-top: 10px;
43
+ padding-bottom: 10px;
44
+ }
45
+
46
+ .column1 h3
47
+ {
48
+ margin-left: 10px;
49
+ }
50
+
51
+ .column2
52
+ {
53
+ position: absolute;
54
+ left: 20%;
55
+ top: 0px;
56
+ width: 75%;
57
+ }
58
+
59
+ .footer
60
+ {
61
+ margin-top: 20px;
62
+ width: 15%;
63
+ }
@@ -0,0 +1,80 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5
+ <title>dp.SyntaxHighlighter Tests</title>
6
+ <link type="text/css" rel="stylesheet" href="../Styles/SyntaxHighlighter.css"></link>
7
+ <link href="../Styles/TestPages.css" rel="stylesheet" type="text/css">
8
+ </head>
9
+
10
+ <body>
11
+
12
+ <h1>dp.SyntaxHighlighter 1.4.1 Tests and Samples (<a href="http://www.dreamprojections.com/syntaxhighlighter/">dreamprojections.com/syntaxhighlighter</a>)</h1>
13
+
14
+ <h2><!-- TemplateBeginEditable name="Title" -->Title<!-- TemplateEndEditable --></h2>
15
+
16
+ <div class="layout">
17
+
18
+ <div class="column1">
19
+ <h3>Languages:</h3>
20
+ <ol>
21
+ <li><a href="../CSharp.html">C#</a></li>
22
+ <li><a href="../CSS.html">CSS</a></li>
23
+ <li><a href="../Cpp.html">C++</a></li>
24
+ <li><a href="../Delphi.html">Delphi</a></li>
25
+ <li><a href="../Java.html">Java</a></li>
26
+ <li><a href="../JavaScript.html">JavaScript</a></li>
27
+ <li><a href="../PHP.html">PHP</a></li>
28
+ <li><a href="../Python.html">Python</a></li>
29
+ <li><a href="../Ruby.html">Ruby</a></li>
30
+ <li><a href="../SQL.html">SQL</a></li>
31
+ <li><a href="../VB.html">Visual Basic</a></li>
32
+ <li><a href="../XML.html">XML / HTML</a></li>
33
+ </ol>
34
+ <h3>Features:</h3>
35
+ <ol>
36
+ <li><a href="../SmartTabs.html">Smart tabs</a></li>
37
+ <li><a href="../FirstLine.html">First line</a> </li>
38
+ <li><a href="../CollapseCode.html">Expand code</a></li>
39
+ <li><a href="../ShowColumns.html">Show columns</a></li>
40
+ <li><a href="../NoGutter.html">No gutter</a></li>
41
+ <li><a href="../NoControls.html">No controls</a></li>
42
+ </ol>
43
+ </div>
44
+
45
+ <div class="column2">
46
+ Text body before.
47
+ <hr/>
48
+ <!-- TemplateBeginEditable name="Code" -->
49
+ <pre name="code" class="">
50
+ </pre>
51
+ <!-- TemplateEndEditable -->
52
+ <hr/>
53
+ Text body after.
54
+ </div>
55
+ </div>
56
+
57
+ <div class="footer">
58
+ Copyright 2004-2007 Alex Gorbatchev.<br/>
59
+ </div>
60
+
61
+ <script class="javascript" src="../Scripts/shCore.js"></script>
62
+ <script class="javascript" src="../Scripts/shBrushCSharp.js"></script>
63
+ <script class="javascript" src="../Scripts/shBrushPhp.js"></script>
64
+ <script class="javascript" src="../Scripts/shBrushJScript.js"></script>
65
+ <script class="javascript" src="../Scripts/shBrushJava.js"></script>
66
+ <script class="javascript" src="../Scripts/shBrushVb.js"></script>
67
+ <script class="javascript" src="../Scripts/shBrushSql.js"></script>
68
+ <script class="javascript" src="../Scripts/shBrushXml.js"></script>
69
+ <script class="javascript" src="../Scripts/shBrushDelphi.js"></script>
70
+ <script class="javascript" src="../Scripts/shBrushPython.js"></script>
71
+ <script class="javascript" src="../Scripts/shBrushRuby.js"></script>
72
+ <script class="javascript" src="../Scripts/shBrushCss.js"></script>
73
+ <script class="javascript" src="../Scripts/shBrushCpp.js"></script>
74
+ <script class="javascript">
75
+ dp.SyntaxHighlighter.ClipboardSwf = 'Scripts/clipboard.swf';
76
+ dp.SyntaxHighlighter.HighlightAll('code');
77
+ </script>
78
+
79
+ </body>
80
+ </html>