diff options
author | murphy <murphy@rubychan.de> | 2010-06-01 21:30:58 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-06-01 21:30:58 +0000 |
commit | 5544505fc7b7cace58ff1b4bedb273eeeda4a514 (patch) | |
tree | 4ebafad3e2eb0076bab4f68cab0ba0ec74d4636f /Changes.textile | |
parent | 8e147f78c2237613dc71988110b1bf0920e3c64a (diff) | |
download | coderay-5544505fc7b7cace58ff1b4bedb273eeeda4a514.tar.gz |
Cleanups and extensions to Tokens (see issue #222).
Diffstat (limited to 'Changes.textile')
-rw-r--r-- | Changes.textile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Changes.textile b/Changes.textile index feefb2d..c2ab2de 100644 --- a/Changes.textile +++ b/Changes.textile @@ -16,6 +16,7 @@ Changes related to the new tokens handling include: * *REWRITE* of all Scanners, Encoders, Filters, and Tokens. * *RENAMED* @:open@ and @:close@ actions to @:begin_group@ and @:end_group@. * *RENAMED* @open_token@ and @close_token@ methods to @begin_group@ and @end_group@. +* *NEW* method @:tokens@ allows to add several tokens to the stream. * *CHANGED* The above name changes also affect the JSON, XML, and YAML encoders. CodeRay 1.0 output will be incompatible with earlier versions. * *REMOVED* @TokenStream@ and the @Streamable@ API and all related features like @NotStreamableError@ are now obsolete and have been removed. @@ -27,7 +28,9 @@ h3. General changes h3. @Tokens@ -* *REMOVED* method @stream?@. +* *REMOVED* methods @#stream?@, @#each_text_token@. +* *REMOVED* @#text@ and @#text_size@ methods. Use the @Text@ encoder instead. +* *REMOVED* special implementation of @#each@ taking a filter parameter. Use @TokenKindFilter@ instead. * *NEW* methods @encode_with@, @count@, @begin_group@, @end_group@, @begin_line@, and @end_line@. h3. *RENAMED*: @Tokens::AbbreviationForKind@ |