Follow Richard's changes to GSAttributedString in base.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31110 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2010-08-10 19:53:47 +00:00
parent b2311f4138
commit 16dfee54d9
2 changed files with 13 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2010-08-10 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSTextStorage.m: Follow Richard's changes to
GSAttributedString in base.
2010-08-09 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSApplication.m (-arrangeInFront:): Only order

View file

@ -646,8 +646,10 @@ _attributesAtIndexEffectiveRange(
- (void) setAttributes: (NSDictionary*)attributes
range: (NSRange)range
{
unsigned tmpLength, arrayIndex, arraySize;
NSRange effectiveRange;
unsigned tmpLength;
unsigned arrayIndex = 0;
unsigned arraySize;
NSRange effectiveRange = NSMakeRange(0, NSNotFound);
NSRange originalRange = range;
unsigned afterRangeLoc, beginRangeLoc;
NSDictionary *attrs;
@ -776,8 +778,10 @@ changeInLength: 0];
- (void) replaceCharactersInRange: (NSRange)range
withString: (NSString*)aString
{
unsigned tmpLength, arrayIndex, arraySize;
NSRange effectiveRange;
unsigned tmpLength;
unsigned arrayIndex = 0;
unsigned arraySize;
NSRange effectiveRange = NSMakeRange(0, NSNotFound);
NSDictionary *attrs;
GSTextInfo *info;
int moveLocations;