mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:40:38 +00:00
(-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:
parent
f4c376b01e
commit
68e87b286c
2 changed files with 12 additions and 0 deletions
|
@ -1018,6 +1018,7 @@ documentAttributes: (NSDictionary **)dict
|
|||
{
|
||||
[self deleteCharactersInRange: NSMakeRange (range.location, 1)];
|
||||
range.length--;
|
||||
end--;
|
||||
}
|
||||
|
||||
location = NSMaxRange (range);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue