From: <ama...@us...> - 2006-03-04 00:01:55
|
Revision: 5725 Author: amaxwell Date: 2006-03-03 16:01:53 -0800 (Fri, 03 Mar 2006) ViewCVS: http://svn.sourceforge.net/bibdesk/?rev=5725&view=rev Log Message: ----------- Use our case-insensitive string dictionary callbacks for the cite key dictionary instead of Omni's. Modified Paths: -------------- trunk/bibdesk/BibDocument.m Modified: trunk/bibdesk/BibDocument.m =================================================================== --- trunk/bibdesk/BibDocument.m 2006-03-03 17:36:47 UTC (rev 5724) +++ trunk/bibdesk/BibDocument.m 2006-03-04 00:01:53 UTC (rev 5725) @@ -136,7 +136,7 @@ [newUndoManager setDelegate:self]; [self setUndoManager:newUndoManager]; - itemsForCiteKeys = [[OFMultiValueDictionary alloc] initWithCaseInsensitiveKeys:YES]; + itemsForCiteKeys = [[OFMultiValueDictionary alloc] initWithKeyCallBacks:&BDSKCaseInsensitiveStringKeyDictionaryCallBacks]; promisedPboardTypes = [[NSMutableDictionary alloc] initWithCapacity:2]; @@ -3332,7 +3332,7 @@ - (void)rebuildItemsForCiteKeys{ [itemsForCiteKeys release]; - itemsForCiteKeys = [[OFMultiValueDictionary alloc] initWithCaseInsensitiveKeys:YES]; + itemsForCiteKeys = [[OFMultiValueDictionary alloc] initWithKeyCallBacks:&BDSKCaseInsensitiveStringKeyDictionaryCallBacks]; NSArray *pubs = [publications copy]; [self addToItemsForCiteKeys:pubs]; [pubs release]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |