(-fixAttachmentAttributesInRange:): Update end index when a character is deleted.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15935 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
alexm 2003-02-11 15:39:20 +00:00
parent f4c376b01e
commit 68e87b286c
2 changed files with 12 additions and 0 deletions

View file

@ -1018,6 +1018,7 @@ documentAttributes: (NSDictionary **)dict
{
[self deleteCharactersInRange: NSMakeRange (range.location, 1)];
range.length--;
end--;
}
location = NSMaxRange (range);