From a2ac7151003c223a070f2c0deb95888c58719b0d Mon Sep 17 00:00:00 2001 From: stephen Date: Wed, 11 Mar 2009 21:46:53 +0000 Subject: [PATCH] Fixed insertAttributedString:atIndex, atIndex now an unsigned. --- Foundation/CPAttributedString.j | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Foundation/CPAttributedString.j b/Foundation/CPAttributedString.j index 15a7c27687..01940912a3 100644 --- a/Foundation/CPAttributedString.j +++ b/Foundation/CPAttributedString.j @@ -655,7 +655,7 @@ @param anIndex the index at which the insert is to occur. @exception CPRangeException If the index is out of bounds. */ -- (void)insertAttributedString:(CPAttributedString)aString atIndex:(CPString)anIndex +- (void)insertAttributedString:(CPAttributedString)aString atIndex:(unsigned)anIndex { [self beginEditing]; @@ -828,3 +828,4 @@ var splitRangeEntry = function splitRangeEntryAtIndex(/*RangeEntry*/aRangeEntry, return [aRangeEntry, newRangeEntry]; } +