(-setAttributes:range:): Call -edited:range:changeInLength: with the range that was changed (and not the range attributes could be merged for).

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15994 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
alexm 2003-02-18 00:35:28 +00:00
parent 28b8faf0b6
commit b072096e67

View file

@ -548,6 +548,7 @@ _attributesAtIndexEffectiveRange(
{
unsigned tmpLength, arrayIndex, arraySize;
NSRange effectiveRange;
NSRange originalRange = range;
unsigned afterRangeLoc, beginRangeLoc;
NSDictionary *attrs;
NSZone *z = [self zone];
@ -667,7 +668,7 @@ SANITY();
SANITY();
[self edited: NSTextStorageEditedAttributes
range: range
range: originalRange
changeInLength: 0];
}