I've been hitting this bug in my own version of BD where converting a field 
(e.g. year={2010}) to complex (year=2010) doesn't work, and it's been driving 
me crazy.  Some tedious debugging indicates that NSTableView has an 
optimization where the value won't be changed if the string doesn't change.  

Hacking around that proved a bit more challenging than I expected, because of 
the interaction of the formatter, cell, field editor, and tableview...which all 
combine somehow.  Anyway, here's what I came up with:

http://tcobrowser.svn.sourceforge.net/viewvc/tcobrowser/trunk/bibdesk/BDSKEditorTableView.m?r1=1551&r2=1619

The latest nightly build has the same problem, but I suspect this code would 
work as-is.  There are likely other ways around it, but I don't have any more 
time to waste on it...I'm just happy that I no longer have to delete a value 
and reset it!  I realize that it's largely pointless to do this for numbers, 
but sometimes 3rd parties use "month={jun}" or something.


------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Bibdesk-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to