Skip navigation.
 
mlRe: Copying NSTextStorage
FROM : Gordon Apple
DATE : Tue Jun 03 17:15:53 2008

I tried exactly that.  It did nothing but a horrendous crash when I
tried to type text.  I couldn't even trace it.  I never even got to the copy
part.  I got the same result with a totally empty subclass. Shouldn't it
have worked the same?s What gives with that?


> On May 31, 2008, at 7:49 PM, Gordon Apple wrote:
>

>>  apparently NSTextView will accept
>> nothing but the original NSTextStorage -- no subclasses allowed, even
>> without any overrides.

>
> Nope. To subclass NSTextStorage, see
> http://www.cocoabuilder.com/archive/message/cocoa/2002/2/5/14848

Related mailsAuthorDate
mlCopying NSTextStorage Gordon Apple May 29, 20:03
mlRe: Copying NSTextStorage Jens Alfke May 30, 06:53
mlRe: Copying NSTextStorage Gordon Apple May 30, 17:13
mlRe: Copying NSTextStorage Kyle Sluder May 30, 22:16
mlRe: Copying NSTextStorage Gordon Apple Jun 1, 01:49
mlRe: Copying NSTextStorage Ross Carter Jun 1, 17:59
mlRe: Copying NSTextStorage Gordon Apple Jun 3, 17:15
mlRe: Copying NSTextStorage Kyle Sluder Jun 3, 18:51
mlRe: Copying NSTextStorage Ross Carter Jun 3, 20:19
mlRe: Copying NSTextStorage Kyle Sluder Jun 3, 22:21
mlRe: Copying NSTextStorage Alastair Houghton Jun 4, 00:09
mlRe: Copying NSTextStorage Sherm Pendley Jun 4, 10:14