Georg Fleischmann wrote:
>
> Your fix does it right.
> However, the first part of my patch is still needed. It prevents [NSTextView
> setSelectedRange...] from asking a text storage of zero length for attributes.
> In this case, the text storage will always return an empty dictionary, thus
> setting the attributes of the text view to zero.
> On OpenStep, asking a zero text storage for attributes would raise an exception.
> Here is the shortened patch:
>
I applied this, since Nicola's out of town. The reasoning seems right,
but I'll have to just believe you since I really don't know this code
well. Perhaps Nicola can check it when he gets back.
--
Adam Fedor, Digital Optics | Fudd's law of opposition: Push
[EMAIL PROTECTED] http://www.doc.com | something hard enough, and it
[EMAIL PROTECTED] http://www.gnustep.org | will fall over.
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep