Revision: 5554
http://skim-app.svn.sourceforge.net/skim-app/?rev=5554&view=rev
Author: hofman
Date: 2009-08-14 15:06:52 +0000 (Fri, 14 Aug 2009)
Log Message:
-----------
forward all NSEditor method to the object controller
Modified Paths:
--------------
trunk/SKNoteWindowController.m
Modified: trunk/SKNoteWindowController.m
===================================================================
--- trunk/SKNoteWindowController.m 2009-08-14 12:18:29 UTC (rev 5553)
+++ trunk/SKNoteWindowController.m 2009-08-14 15:06:52 UTC (rev 5554)
@@ -315,17 +315,7 @@
}
- (void)commitEditingWithDelegate:(id)delegate
didCommitSelector:(SEL)didCommitSelector contextInfo:(void *)contextInfo {
- BOOL didCommit = [self commitEditing];
- if (delegate && didCommitSelector) {
- // - (void)editor:(id)editor didCommit:(BOOL)didCommit
contextInfo:(void *)contextInfo
- NSInvocation *invocation = [NSInvocation
invocationWithMethodSignature:[delegate
methodSignatureForSelector:didCommitSelector]];
- [invocation setTarget:delegate];
- [invocation setSelector:didCommitSelector];
- [invocation setArgument:&self atIndex:2];
- [invocation setArgument:&didCommit atIndex:3];
- [invocation setArgument:&contextInfo atIndex:4];
- [invocation invoke];
- }
+ return [noteController commitEditingWithDelegate:delegate
didCommitSelector:didCommitSelector contextInfo:contextInfo];
}
#pragma mark BDSKDragImageView delegate protocol
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit