diff options
-rw-r--r-- | Changes.textile | 6 | ||||
-rw-r--r-- | lib/coderay/encoders/_map.rb | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Changes.textile b/Changes.textile index df6ac8e..8f295a6 100644 --- a/Changes.textile +++ b/Changes.textile @@ -22,13 +22,17 @@ h3. @Tokens::AbbreviationForKind@ * *REMOVED* token kinds @:attribute_name_fat@, @:attribute_value_fat@, @:operator_fat@, @:tag_fat@, and @:xml_text@. * *ADDED* token kind @:filename@. +h3. @Encoders::CommentFilter@ + +* *NEW* alias @:remove_comments@. + h3. @Encoders::Terminal@ * *RENAMED* from @Encoders::Term@, added @:term@ alias. * *CLEANUP*: Use @#setup@'s @super@, don't use @:procedure@ token class. * *CHANGED*: @#token@'s second parameter is no longer optional. -h3. @TokenKindFilter@ +h3. @Encoders::TokenKindFilter@ * *RENAMED* from @TokenClassFilter@. diff --git a/lib/coderay/encoders/_map.rb b/lib/coderay/encoders/_map.rb index bdffd7b..86cb4a5 100644 --- a/lib/coderay/encoders/_map.rb +++ b/lib/coderay/encoders/_map.rb @@ -5,6 +5,7 @@ module Encoders :loc => :lines_of_code, :term => :terminal, :plain => :text, + :remove_comments => :comment_filter, :stats => :statistic, :tex => :latex |