From 9a5f5e6217db0b7689b64ca0892feacf32be3d66 Mon Sep 17 00:00:00 2001 From: murphy Date: Sun, 21 Sep 2008 16:25:44 +0000 Subject: New: *Java Scanner* (closes #42). * Based on JavaScript, does a good job, but may need more polish. * Java::BuiltinTypes::List is a helper constant that contains 2389 Java types. ** The list was generated from TextMate's Java bundle with the help of SimpleRegexpScanner. * I added the JRuby core classes as example code for testing (1.8 MB) JavaScript Scanner: * Fixed recognition of floats and algebraic signs. ** Still needs work - we need to distinguish i-1 from i+-1. More changes: * New: "SimpleRegexpScanner":http://murfy.de/simple-regexp-scanner * Added new token class :annotation along with CSS styles. ** Should be useful for Python, too. * coderay_suite warns if no scanner was found for this language. * PluginHost#default can be called without parameter (will return default id) --- lib/coderay/styles/cycnus.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/coderay/styles') diff --git a/lib/coderay/styles/cycnus.rb b/lib/coderay/styles/cycnus.rb index d552d50..b819d52 100644 --- a/lib/coderay/styles/cycnus.rb +++ b/lib/coderay/styles/cycnus.rb @@ -46,6 +46,7 @@ ol.CodeRay li { white-space: pre } .af { color:#00C } .an { color:#007 } +.at { color:#f08 } .av { color:#700 } .aw { color:#C00 } .bi { color:#509; font-weight:bold } -- cgit v1.2.1