mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 01:30:38 +00:00
Small fixes to text network.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4648 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c36401836d
commit
f1001c574f
4 changed files with 36 additions and 32 deletions
|
@ -407,13 +407,13 @@ _attributesAtIndexEffectiveRange(
|
|||
INSOBJECT(info, arrayIndex);
|
||||
RELEASE(info);
|
||||
}
|
||||
|
||||
/*
|
||||
* Keep track of changes.
|
||||
*/
|
||||
|
||||
/* post changes */
|
||||
|
||||
[self edited: NSTextStorageEditedAttributes
|
||||
range: range
|
||||
changeinlength: 0];
|
||||
changeInLength: 0];
|
||||
|
||||
}
|
||||
|
||||
- (void) replaceCharactersInRange: (NSRange)range
|
||||
|
@ -487,12 +487,12 @@ changeinlength: 0];
|
|||
}
|
||||
[textChars replaceCharactersInRange: range withString: aString];
|
||||
|
||||
/*
|
||||
* Keep track of changes.
|
||||
*/
|
||||
/* notify of changes */
|
||||
|
||||
[self edited: NSTextStorageEditedCharacters
|
||||
range: range
|
||||
changeinlength: aLength - range.length];
|
||||
changeInLength: [aString length] - range.length];
|
||||
|
||||
}
|
||||
|
||||
- (void) dealloc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue