[Pyobjc-dev] Re: PyShellView?
Brought to you by:
ronaldoussoren
From: Michael H. <mw...@py...> - 2003-10-22 17:01:52
|
Michael Hudson <mw...@py...> writes: >> def textView_shouldChangeTextInRange_replacementString_(self, >> textView, charRange, replString): >> "Allow editing only after the previously committed text." >> >> return charRange[0] >= self.committedLength > > If I implement this delgate method and press "backspace" in the text > view, I get a core dump deep in Scary Internals Land. I've not got > the latest PyObjC on my laptop, and my laptop is at home so I can't > update, but does this sound familiar to anyone? Might it be cured by > a new libffi (for example)? Well, I updated to pyobjc 1.0 and the new libffi and it now works, so I'm not going to worry about this any more. Cheers, mwh -- The only problem with Microsoft is they just have no taste. -- Steve Jobs, (From _Triumph of the Nerds_ PBS special) and quoted by Aahz Maruch on comp.lang.python |