summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2012-04-06 00:08:07 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2012-04-06 00:08:07 +0200
commit31f8b4e7bcc3b35bf6bbf35e84d9921697bdd6e4 (patch)
tree95fab36aba3a800875fa7a8fc67791939e8adff7
parent240f002759809c7c7ca368b04205f3f3de0e8592 (diff)
downloadcoderay-31f8b4e7bcc3b35bf6bbf35e84d9921697bdd6e4.tar.gz
last changes before release of 1.0.6v1.0.6
-rw-r--r--Changes.textile1
-rw-r--r--bench/bench.rb1
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