summaryrefslogtreecommitdiff
path: root/lib/coderay/styles/murphy.rb
Commit message (Collapse)AuthorAgeFilesLines
* pretty (longer) token class names; closes #347Kornelius Kalnbach2011-08-191-123/+0
|
* New HTML Encoder option :line_number_anchors (closes #208).murphy2010-04-021-7/+1
| | | | | Also removed the :list wrapping style, and made a lot of cleanup in the styles. See Changes.textile.
* Renamed token_classes to token_kinds (closes #122).murphy2010-03-301-5/+2
| | | | | | | | | * *RENAMED* from ClassOfKind. The term "token class" is no longer used in CodeRay. Instead, tokens have _kinds_. * *RENAMED* TokenKindFilter to TokenClassFilter. * *ADDED* documentation on encoders affected by the term change. * *REMOVED* token kinds :attribute_name_fat, :attribute_value_fat, :operator_fat, :tag_fat, and :xml_text. * *ADDED* token kind :filename.
* New: *Simple Diff Scanner* (closes #22).murphy2008-09-301-0/+10
| | | | | | | | | | | | | | * 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.
* New: *JavaScript Scanner* (closes #23).murphy2008-09-161-0/+3
| | | | | | | | | | | * It's quite good and fast, but still a beta. * I included Prototype and script.aculo.us as example code for testing. More changes: * Added two new token classes, :keyword and :key, along with CSS styles. ** Actually, we should use :keyword for most scanners that now use :reserved. * HTML Encoder: The CSS parser understands multiple selectors separated by commas.
* New Scanner: Scheme (thanks closure!)murphy2007-01-011-2/+2
| | | | | | | | | | | | | | | 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
* Tests:murphy2006-10-151-119/+119
| | | | | | | | | | | | | | | | - improved coderay_suite.rb (random and shuffled tests, max parameter, scannerlang->lang, sorted test cases...) - changed html output extension to .actual.html to svn:ignore them - fixed some tests (deleted $Id$ etc.) - made XHTML testcase work Scanners: - fixed HTML, Delphi and Nitro scanners thanks to new tests Engine: - Tokens#fix and #fix! added (yet to be tested) - improved Scanner#raise_inspect a bit Converted more files to UNIX format (go away, stinkin' \r!)
* Big re-indenting - no more tabs!murphy2006-07-101-18/+18
|
* Re-indented everything. Sorry to break the blame chain.murphy2006-04-161-18/+18
|
* New Style system added - still beta.murphy2005-11-131-0/+119
Demos adjusted coderay.rb, encoders/html.rb, encoders/div.rb adjusted. encoders/html/* files rebuild.