Reverts r3014 (CodeRay back to 0.7.6).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3079 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2009-11-20 15:50:06 +00:00
parent d73fb1fab8
commit 4e3202d2a2
70 changed files with 1516 additions and 3836 deletions

View File

@@ -0,0 +1,18 @@
module CodeRay
module Scanners
class Plaintext < Scanner
register_for :plaintext, :plain
include Streamable
def scan_tokens tokens, options
text = (scan_until(/\z/) || '')
tokens << [text, :plain]
end
end
end
end