Revision: 15270
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=15270&view=rev
Author: hofman
Date: 2009-05-05 16:38:54 +0000 (Tue, 05 May 2009)
Log Message:
-----------
use red color for duplicate cite keys in the main table
Modified Paths:
--------------
trunk/bibdesk/BibDocument_DataSource.m
Modified: trunk/bibdesk/BibDocument_DataSource.m
===================================================================
--- trunk/bibdesk/BibDocument_DataSource.m 2009-05-05 12:16:57 UTC (rev
15269)
+++ trunk/bibdesk/BibDocument_DataSource.m 2009-05-05 16:38:54 UTC (rev
15270)
@@ -184,6 +184,9 @@
} else {
[aCell setEnabled:[self hasExternalGroupsSelected] == NO];
}
+ } else if ([[aTableColumn identifier]
isEqualToString:BDSKCiteKeyString]) {
+ BibItem *pub = [[self shownPublications] objectAtIndex:row];
+ [aCell setTextColor:[pub isValidCiteKey:[pub citeKey]] ? [NSColor
controlTextColor] : [NSColor redColor]];
}
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit