mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 18:30:56 +00:00
(-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:
parent
28b8faf0b6
commit
b072096e67
1 changed files with 2 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue