From 3baabd1186cf293fd3caec3ab8ee3e406e9038b6 Mon Sep 17 00:00:00 2001 From: murphy Date: Tue, 11 Jul 2006 05:26:11 +0000 Subject: Adjusted Test outputs after re-indentation. --- demo/demo_css.out | 14 +++++++------- demo/demo_div.out | 4 ++-- demo/demo_dump.out | 4 ++-- demo/demo_highlight.out | 20 ++++++++++---------- demo/demo_html.out | 28 ++++++++++++++-------------- demo/demo_html2.out | 32 ++++++++++++++++---------------- demo/demo_html_list.out | 28 ++++++++++++++-------------- demo/demo_more.out | 2 +- 8 files changed, 66 insertions(+), 66 deletions(-) diff --git a/demo/demo_css.out b/demo/demo_css.out index d1c6259..b3b7a84 100644 --- a/demo/demo_css.out +++ b/demo/demo_css.out @@ -1,8 +1,8 @@ .CodeRay { - background-color: #f8f8f8; - border: 1px solid silver; - font-family: 'Courier New', 'Terminal', monospace; - color: #100; + background-color: #f8f8f8; + border: 1px solid silver; + font-family: 'Courier New', 'Terminal', monospace; + color: #100; } .CodeRay pre { margin: 0px } @@ -14,9 +14,9 @@ table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px } table.CodeRay td { padding: 2px 4px; vertical-align: top } .CodeRay .line_numbers, .CodeRay .no { - background-color: #def; - color: gray; - text-align: right; + background-color: #def; + color: gray; + text-align: right; } .CodeRay .line_numbers tt { font-weight: bold } .CodeRay .no { padding: 0px 4px } diff --git a/demo/demo_div.out b/demo/demo_div.out index c85062e..2d4317e 100644 --- a/demo/demo_div.out +++ b/demo/demo_div.out @@ -1,5 +1,5 @@
-
for a in 0..255
+  
for a in 0..255
         a = a.chr
         begin
                 x = eval("?\\#{a}")
@@ -13,5 +13,5 @@
         end
         puts
 end
-
+
diff --git a/demo/demo_dump.out b/demo/demo_dump.out index a032b50..5e3a64b 100644 --- a/demo/demo_dump.out +++ b/demo/demo_dump.out @@ -2,7 +2,7 @@ YAML: 2358 bytes Dump: 1058 bytes undumped:
-
require 'coderay'
+  
require 'coderay'
 
 # scan some code
 tokens = CodeRay.scan(File.read($0), :ruby)
@@ -17,5 +17,5 @@ puts 'Dump: %4d bytes# undump and encode
 puts 'undumped:', dump.undump.div(:css => :class)
-
+
diff --git a/demo/demo_highlight.out b/demo/demo_highlight.out index 193faa7..60738e7 100644 --- a/demo/demo_highlight.out +++ b/demo/demo_highlight.out @@ -1,14 +1,14 @@
-
puts "Hello, World!"
+
puts "Hello, World!"
+ - -
1
+  
1
 2
 3
 4
@@ -501,7 +501,7 @@ ol.CodeRay li { white-space: pre }
 384
 385
 
require 'scanner'
+  
require 'scanner'
 
 module CodeRay
   
diff --git a/demo/demo_html2.out b/demo/demo_html2.out
index 326be92..eb74188 100644
--- a/demo/demo_html2.out
+++ b/demo/demo_html2.out
@@ -1,15 +1,15 @@
 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
 
-	
-	CodeRay HTML Encoder Example
-	
+  
 
 
 
 
-	
-	
1
+  
1
 2
 3
 4
@@ -127,7 +127,7 @@ ol.CodeRay li { white-space: pre }
 10
 11
 
require 'coderay'
+  
require 'coderay'
 
 # scan this file
 tokens = CodeRay.scan(File.read($0) * 1, :ruby)
@@ -141,7 +141,7 @@ ol.CodeRay li { white-space: pre }
 

-
 8 require 'coderay'
+  
 8 require 'coderay'
  9 
 10 # scan this file
 11 tokens = CodeRay.scan(File.read($0) * 1, :ruby)
@@ -152,7 +152,7 @@ ol.CodeRay li { white-space: pre }
 16 out << tokens.div(:line_numbers => :inline, :line_number_start => 8)
 17 
 18 puts out.page
-
+
diff --git a/demo/demo_html_list.out b/demo/demo_html_list.out index 81a687d..e68ac54 100644 --- a/demo/demo_html_list.out +++ b/demo/demo_html_list.out @@ -1,15 +1,15 @@ + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - - CodeRay HTML Encoder Example - +
-
-1 $: << '..'
+  
-1 $: << '..'
  0 require 'coderay'
  1 
  2 tokens = CodeRay.scan File.read(__FILE__), :ruby
@@ -127,7 +127,7 @@ ol.CodeRay li { white-space: pre }
  8 This code must be > 10 lines
  9 because I want to test the correct adjustment of the line numbers.
 10 _
-
+
diff --git a/demo/demo_more.out b/demo/demo_more.out index d960ae7..c9a3cfd 100644 --- a/demo/demo_more.out +++ b/demo/demo_more.out @@ -1,2 +1,2 @@ -Input: 4983B, Output: 22528B +Input: 4983B, Output: 22546B Take a look with your browser. -- cgit v1.2.1