diff options
-rw-r--r-- | Changes.textile | 1 | ||||
-rw-r--r-- | bench/bench.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Changes.textile b/Changes.textile index 1689e7b..fb9c8d5 100644 --- a/Changes.textile +++ b/Changes.textile @@ -7,6 +7,7 @@ p=. _This files lists all changes in the CodeRay library since the 0.9.8 release h2. Changes in 1.0.6 * New option @:break_lines@ for the HTML encoder (splits tokens at line breaks). [GH-15, thanks to Etienne Massip] +* Improved speed of @:line_numbers => :inline@ option for the HTML encoder. * Fixed wrong HTML file type. (was @:page@) [GH-16, thanks to Doug Hammond] * The CSS Scanner now highlights tokens like @url(...)@ as @:function@ instead of @:string@. [GH-13, thanks to Joel Holdbrooks] diff --git a/bench/bench.rb b/bench/bench.rb index 5663466..45dc5b0 100644 --- a/bench/bench.rb +++ b/bench/bench.rb @@ -79,6 +79,7 @@ N.times do options = { :tab_width => 2, + # :line_numbers => :inline, :css => $style ? :style : :class, } $hl = CodeRay.encoder(format, options) unless $dump_output |