From 565f385283e962656122add122a7f2cef23323fe Mon Sep 17 00:00:00 2001 From: murphy Date: Tue, 18 May 2010 06:29:45 +0000 Subject: New: Raydebug Scanner (highlights .raydebug files instead of importing them). Closes #229. --- Changes.textile | 4 ++++ lib/coderay/scanners/raydebug.rb | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1