[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix: GSTextStorage, setAttributes:range:
From: |
Georg Fleischmann |
Subject: |
Re: Fix: GSTextStorage, setAttributes:range: |
Date: |
Mon, 18 Dec 2000 16:34:28 +0100 |
Hi Richard,
> Hmm ... I'm not convinced.
> 1. As far as I can see, it should be impossible for info-loc to be greater
> than beginRangeLoc and for arrayIndex to be zero - so the change would have
> no effect. (of course, I could have missed something here).
Ok, in the case I'm looking into, beginRangeLoc is 1 and thus already greater
than info-loc (0).
I take it, that it isn't legal that the method is called with a range.location
> loc (of the only attribute)? This is what happens.
Here is the situation at the beginning of the method:
range.location = 1
[textChars length] = 2
infoArray contains only one attribute with loc = 0
If this is illegal, I would continue my search where the method is called.
Georg