Revision: 15202
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=15202&view=rev
Author:   hofman
Date:     2009-04-26 21:33:09 +0000 (Sun, 26 Apr 2009)

Log Message:
-----------
register BDSKEditor as editor when the control text did start editing

Modified Paths:
--------------
    trunk/bibdesk/BDSKEditor.m

Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m  2009-04-26 20:28:34 UTC (rev 15201)
+++ trunk/bibdesk/BDSKEditor.m  2009-04-26 21:33:09 UTC (rev 15202)
@@ -1874,10 +1874,13 @@
             }
         }
        }
-    if (canEdit) [[self document] objectDidBeginEditing:self];
     return canEdit;
 }
 
+- (void)controlTextDidBeginEditing:(NSNotification *)note {
+    [[self document] objectDidBeginEditing:self];
+}
+
 // send by the formatter when validation failed
 - (void)control:(NSControl *)control didFailToValidatePartialString:(NSString 
*)string errorDescription:(NSString *)error{
     // Don't show an annoying warning. This fails only when invalid cite key 
characters are used, which are simply removed by the formatter.


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to