#394: Unrecognized runtime type _NSRange=II -------------------------------+-------------------------------------------- Reporter: cwdi...@… | Owner: lsansone...@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: | -------------------------------+--------------------------------------------
Comment(by lsansone...@…): As of r2908 I get the following output: {{{ text field is arf called completions #<NSRange:0x2003bcaa0> = 3 0 "{0, 3}" }}} For the following code: {{{ def control(control, textView: view, completions: completions, forPartialWordRange: range, indexOfSelectedItem: index) puts "text field is #...@textfield.stringvalue}" puts "called completions #{range} = #{range.length} #{range.location}" p NSStringFromRange(range) ['foo', 'bar', 'foobar'] end }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/394#comment:12> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel