summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-05-18 06:29:45 +0000
committermurphy <murphy@rubychan.de>2010-05-18 06:29:45 +0000
commit565f385283e962656122add122a7f2cef23323fe (patch)
tree90b3b868b984f64ba6a7eb590db6a09ed6cd6acf
parenta2156b92bec0bb4e2ea7c02927ee6fbd423e82bf (diff)
downloadcoderay-565f385283e962656122add122a7f2cef23323fe.tar.gz
New: Raydebug Scanner (highlights .raydebug files instead of importing them).
Closes #229.
-rw-r--r--Changes.textile4
-rw-r--r--lib/coderay/scanners/raydebug.rb1
2 files changed, 4 insertions, 1 deletions
diff --git a/Changes.textile b/Changes.textile
index aa0d640..35f9d3d 100644
--- a/Changes.textile
+++ b/Changes.textile
@@ -154,6 +154,10 @@ h3. @Scanners::Python@
* *CHANGED*: Docstrings are highlighted as @:comment@.
See "#190":http://redmine.rubychan.de/issues/190.
+h3. *NEW*: @Scanners::Raydebug@
+
+Copied from @Scanners::Debug@, highlights the token dump instead of importing it. It also reacts to the @.raydebug@ file name suffix now.
+
h3. @Scanners::Ruby@
* *ADDED* more predefined keywords (see http://murfy.de/ruby-constants).
diff --git a/lib/coderay/scanners/raydebug.rb b/lib/coderay/scanners/raydebug.rb
index d5839f9..7a21354 100644
--- a/lib/coderay/scanners/raydebug.rb
+++ b/lib/coderay/scanners/raydebug.rb
@@ -1,4 +1,3 @@
-($:.unshift '../..'; require 'coderay') unless defined? CodeRay
module CodeRay
module Scanners