Fix non-ASCII characters in CPDictionary.j and CPFormatter.j

This commit is contained in:
Paul Baumgart
2010-09-29 18:21:10 -07:00
parent 1c597eb0df
commit ca2ae22f15
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -342,7 +342,7 @@
@param anObject The value to look for in the receiver.
@return A new array containing the keys corresponding to all occurrences of anObject in the receiver. If no object matching anObject is found, returns an empty array.
Each object in the receiver is sent an isEqual: message to determine if itÕs equal to anObject.
Each object in the receiver is sent an isEqual: message to determine if it's equal to anObject.
If the check for isEqual fails a check is made to see if the two objects are the same object. This provides compatability for JSObjects.
*/
- (CPArray)allKeysForObject:(id)anObject
+4 -4
View File
@@ -41,8 +41,8 @@
The default implementation of this method raises an exception.
When implementing a subclass, return the CPString object that textually represents
the view's object for display andÑif editingStringForObjectValue: is unimplementedÑfor editing.
First test the passed-in object to see if itÕs of the correct class. If it isnÕt, return nil;
the view's object for display and if editingStringForObjectValue: is unimplemented for editing.
First test the passed-in object to see if it's of the correct class. If it isn't, return nil;
but if it is of the right class, return a properly formatted and, if necessary, localized string.
(See the specification of the CPString class for formatting and localizing details.)
@@ -104,7 +104,7 @@
/*!
Returns a Boolean value that indicates whether a partial string is valid.
This method is invoked each time the user presses a key while the cell has the keyboard focusÑit lets you verify and
This method is invoked each time the user presses a key while the cell has the keyboard focus it lets you verify and
edit the cell text as the user types it.
In a subclass implementation, evaluate partialString according to the context, edit the text if necessary, and return
@@ -164,4 +164,4 @@
}
@end
@end