[macruby-changes] [4853] DietRB/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Sun Oct 31 15:51:18 PDT 2010
Revision: 4853
http://trac.macosforge.org/projects/ruby/changeset/4853
Author: eloy.de.enige at gmail.com
Date: 2010-10-31 15:51:16 -0700 (Sun, 31 Oct 2010)
Log Message:
-----------
Make the Colorize class work again.
Modified Paths:
--------------
DietRB/trunk/TODO
DietRB/trunk/lib/irb/ext/colorize.rb
Modified: DietRB/trunk/TODO
===================================================================
--- DietRB/trunk/TODO 2010-10-31 22:51:10 UTC (rev 4852)
+++ DietRB/trunk/TODO 2010-10-31 22:51:16 UTC (rev 4853)
@@ -1,3 +1,4 @@
+* Move auto_indent option to formatter
* Complete file paths in strings (for require etc).
* Write docs for using a as library. Probably right after creating a Cocoa client.
* Write a not useless README.
Modified: DietRB/trunk/lib/irb/ext/colorize.rb
===================================================================
--- DietRB/trunk/lib/irb/ext/colorize.rb 2010-10-31 22:51:10 UTC (rev 4852)
+++ DietRB/trunk/lib/irb/ext/colorize.rb 2010-10-31 22:51:16 UTC (rev 4853)
@@ -169,7 +169,7 @@
Ripper.lex(str).map { |_, type, token| colorize_token(type, token) }.join
end
- def prompt(context)
+ def prompt(context, indent = false)
colorize_token(:prompt, super)
end
@@ -183,4 +183,4 @@
end
end
-IRB.formatter = IRB::ColoredFormatter.new
\ No newline at end of file
+IRB.formatter = IRB::ColoredFormatter.new
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20101031/6c6ac29a/attachment.html>
More information about the macruby-changes
mailing list