Re: [MacRuby-devel] Setting properties on a dereferenced NSRangePointer has no effect

2011-01-26 Thread Caio Chassot
On 2011-01-26, at 20:22 , Laurent Sansonetti wrote: > > For 1.0, we should either document this or try to make > proposedSelRangePtr[0].location=42 work, as I suspect people will hit the > same problem. Could you file a ticket? We will continue the investigation > there. Ok, will get on to tha

Re: [MacRuby-devel] Setting properties on a dereferenced NSRangePointer has no effect

2011-01-26 Thread Laurent Sansonetti
Hi Caio, Sorry for the late response. This is a limitation of our implementation of pointers. Sadly, I don't recall the problem anymore (as I wrote that stuff 2 years ago), but I think it's related to the way we cache the Pointer internal data. For 1.0, we should either document this or try to

[MacRuby-devel] Setting properties on a dereferenced NSRangePointer has no effect

2011-01-21 Thread Caio Chassot
Hi all, NSFormatter defines a method with the following selector: isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription: This is its signature: - (BOOL)isPartialStringValid:(NSString **)partialStringPtr proposedSelectedRange:(NS