bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with NSTextStorage


From: Nicola Pero
Subject: Re: Problems with NSTextStorage
Date: Mon, 11 Feb 2002 00:51:48 +0000 (GMT)

> I am currently implementing an integrated editor in ProjectCenter. Therefore
> I create the textsystem 'by hand' and connect the objects manually.

Why ?


> But doing
> 
>   storage = [[NSTextStorage alloc] initWithString:aString attributes:nil];
>   lm = [[NSLayoutManager alloc] init];
>   [storage addLayoutManager:lm];
> 
> does not work, 

Thanks - should be fixed - try again from CVS


> Furthermore calling init instead of initWithString:attributes: 
> is not implemented/supported at all, although it should be, according to
> Apple's documentation, explaining the text system. What is correct here?

As far as I know, [NSTextStorage -init] is implemented, and it works -
it's inherited from NSMutableAttributedString.  Let me know if I'm missing
something.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]