From da09c7c6bb1267996db7751e775d08742256f3f2 Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 1 Jan 2007 16:26:17 +0000 Subject: New Scanner: Scheme (thanks closure!) Test and example added. Token changed: operator_fat instead of operator_name (for use with LISP-like parentheses). Added file_extension for Scanners. Improved CodeRay::Suite: - uses scanners file extension now - example parameter is now named "only" - only param overwrite MAX_CODE_SIZE_TO_HIGHLIGHT --- lib/coderay/styles/cycnus.rb | 4 ++-- lib/coderay/styles/murphy.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/coderay/styles') diff --git a/lib/coderay/styles/cycnus.rb b/lib/coderay/styles/cycnus.rb index 7430e9e..7747c75 100644 --- a/lib/coderay/styles/cycnus.rb +++ b/lib/coderay/styles/cycnus.rb @@ -49,7 +49,7 @@ ol.CodeRay li { white-space: pre } .av { color:#700 } .aw { color:#C00 } .bi { color:#509; font-weight:bold } -.c { color:#888 } +.c { color:#666; } .ch { color:#04D } .ch .k { color:#04D } @@ -85,7 +85,7 @@ ol.CodeRay li { white-space: pre } .la { color:#970; font-weight:bold } .lv { color:#963 } .oc { color:#40E; font-weight:bold } -.on { color:#000; font-weight:bold } +.of { color:#000; font-weight:bold } .op { } .pc { color:#038; font-weight:bold } .pd { color:#369; font-weight:bold } diff --git a/lib/coderay/styles/murphy.rb b/lib/coderay/styles/murphy.rb index 1079f62..b42f0e0 100644 --- a/lib/coderay/styles/murphy.rb +++ b/lib/coderay/styles/murphy.rb @@ -47,7 +47,7 @@ ol.CodeRay li { white-space: pre; } .av { color:#700; } .aw { color:#C00; } .bi { color:#509; font-weight:bold; } -.c { color:#666; } +.c { color:#555; background-color: black; } .ch { color:#88F; } .ch .k { color:#04D; } @@ -77,7 +77,7 @@ ol.CodeRay li { white-space: pre; } .la { color:#970; font-weight:bold; } .lv { color:#963; } .oc { color:#40E; font-weight:bold; } -.on { color:#000; font-weight:bold; } +.of { color:#000; font-weight:bold; } .op { } .pc { color:#08f; font-weight:bold; } .pd { color:#369; font-weight:bold; } -- cgit v1.2.1