From: <mm...@us...> - 2003-03-21 08:31:50
|
Update of /cvsroot/bibdesk/bibdesk In directory sc8-pr-cvs1:/tmp/cvs-serv6703 Modified Files: BDSKDragOutlineView.m Log Message: Changed to support sorting by more than just author Index: BDSKDragOutlineView.m =================================================================== RCS file: /cvsroot/bibdesk/bibdesk/BDSKDragOutlineView.m,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** BDSKDragOutlineView.m 3 Sep 2002 21:27:54 -0000 1.1.1.1 --- BDSKDragOutlineView.m 21 Mar 2003 08:31:47 -0000 1.2 *************** *** 142,146 **** #pragma mark || Methods to support the type-ahead selector. - (NSArray *)typeAheadSelectionItems{ ! NSEnumerator *authE = [[[self delegate] allAuthors] objectEnumerator]; NSMutableArray *authStringsArray = [NSMutableArray arrayWithCapacity:15]; id auth = nil; --- 142,146 ---- #pragma mark || Methods to support the type-ahead selector. - (NSArray *)typeAheadSelectionItems{ ! NSEnumerator *authE = [[[self delegate] currentSortFieldArray] objectEnumerator]; NSMutableArray *authStringsArray = [NSMutableArray arrayWithCapacity:15]; id auth = nil; *************** *** 174,178 **** - (void)typeAheadSelectItemAtIndex:(int)itemIndex{ ! NSString *itemToSelect = [[[self delegate] allAuthors] objectAtIndex:itemIndex]; int rowToSelect = [self rowForItem:itemToSelect]; [self selectRow:rowToSelect byExtendingSelection:NO]; --- 174,178 ---- - (void)typeAheadSelectItemAtIndex:(int)itemIndex{ ! NSString *itemToSelect = [[[self delegate] currentSortFieldArray] objectAtIndex:itemIndex]; int rowToSelect = [self rowForItem:itemToSelect]; [self selectRow:rowToSelect byExtendingSelection:NO]; |