summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/html/numerization.rb
Commit message (Collapse)AuthorAgeFilesLines
* Cleanups in Encoders::HTML::Output.murphy2010-06-011-122/+0
|
* New HTML Encoder option :line_number_anchors (closes #208).murphy2010-04-021-47/+38
| | | | | Also removed the :list wrapping style, and made a lot of cleanup in the styles. See Changes.textile.
* HTML encoder is HTML 5 and CSS 3 compatible (closes #215).murphy2010-04-021-2/+0
| | | | | | | | This also means it's incompatible to previous versions of HTML and CSS. Also, the output may not show correctly on IE. I officially drop support for Internet Explorer with no regrets.
* Updated some comments for XML and HTML encoder.murphy2009-04-201-1/+0
| | | | | | * XML encoder is actually broken! REXML fault? * Firefox can handle long HTML tables now.
* New feature: HTML encode option :highlight_lines. See documentation.murphy2009-01-221-1/+11
| | | | | | * The scanner test suite uses it and highlights the lines that differ after a failed complete test in *.actual.html.
* New: *Simple Diff Scanner* (closes #22).murphy2008-09-301-1/+3
| | | | | | | | | | | | | | * Highlights unified diffs, especially like the ones svn diff outputs. * Changes to make highlighting of whole lines were necessary. * I added two example files. More changes: * Added token classes :head, :delete, :insert, and :change along with styles. * Added two new special token types: :begin_line and :end_line. They mark token groups that explicitly span whole lines and should be highlighted as such. * The HTML encoder converts these new tokens to DIVs. May need more work. * The Debug Encoder uses square brackets for line tokens. * Some cleanups.
* Lib:murphy2008-01-071-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Encoder: removed a warning - Encoders::HTML: don't shadow outer variable - Plugin: move require_plugin into class namespace - Ruby Scanner: - "alias" keyword recognition - better regexp/division distinction - recognize ~, !, !=, and !~ as method names (partly Ruby 1.9 only) - reordered states for speed Tests: - updated coderay-suite to use gem instead of require_gem - general improvements (more colors!, new parameter: new, new syntax lang.test for only and new) - fixed ruby suite - adjusted a lot of Ruby tests (alias uses methods now) - new tests: ruby/operators, ruby/regexp Samples: - fixed/updated ('bout time) Rake tasks: - updated to use new rubygems API
* rake test now runs in debug mode.murphy2006-07-111-122/+122
| | | | All .rb files converted to UNIX format (where did the \r come from?)
* Big re-indenting - no more tabs!murphy2006-07-101-116/+116
|
* All scanners revisited not to produce errors unless in DEBUG mode. [thx@Daniel]murphy2006-04-161-3/+11
| | | | | | | Fixed numerization for input not ending with \n. Added test cases in C scanner tests. Added WoNáDo as contributer for last Ruby scanner fix. Updated TODO.
* HTML Encoder: inline numerization corrected.murphy2006-03-231-1/+3
| | | | | | | | New demo: demo/demo_html_list.rb. Some demos adjusted. C Scanner: error messages fixed. Rakefile: test_demos now in debug mode. test/suite.rb is using reusable Scanners now.
* CodeRay::Duo added for cool caching!murphy2006-03-211-15/+15
| | | | | | | | bench/caching.rb added t´for demonstrating this. HTML Encoder: creates unwrapped output by default (still problems with that.) Numerizing changed (doesn't try to prevent nesting errors) Speedup: "::String" is faster.
* Ruby scanner errors fixed.murphy2006-03-151-2/+2
| | | | | demo_dump and demo_encoder updated for new YAML version. Fixes in output.rb and numerization.rb
* New helper module scheme, step 3murphy2005-11-051-0/+112