Revision: 18286
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18286&view=rev
Author: hofman
Date: 2011-12-04 23:15:24 +0000 (Sun, 04 Dec 2011)
Log Message:
-----------
implement editWithFrame:... Not sure when it's used.
Modified Paths:
--------------
trunk/bibdesk/BDSKGroupCell.m
trunk/bibdesk/BDSKTextWithIconCell.m
Modified: trunk/bibdesk/BDSKGroupCell.m
===================================================================
--- trunk/bibdesk/BDSKGroupCell.m 2011-12-04 22:59:05 UTC (rev 18285)
+++ trunk/bibdesk/BDSKGroupCell.m 2011-12-04 23:15:24 UTC (rev 18286)
@@ -389,6 +389,10 @@
[imageCell drawInteriorWithFrame:imageRect inView:controlView];
}
+- (void)editWithFrame:(NSRect)aRect inView:(NSView *)controlView
editor:(NSText *)textObj delegate:(id)anObject event:(NSEvent *)theEvent {
+ [super editWithFrame:[self textRectForBounds:aRect] inView:controlView
editor:textObj delegate:anObject event:theEvent];
+}
+
- (void)selectWithFrame:(NSRect)aRect inView:(NSView *)controlView
editor:(NSText *)textObj delegate:(id)anObject start:(NSInteger)selStart
length:(NSInteger)selLength {
[super selectWithFrame:[self textRectForBounds:aRect] inView:controlView
editor:textObj delegate:anObject start:selStart length:selLength];
}
Modified: trunk/bibdesk/BDSKTextWithIconCell.m
===================================================================
--- trunk/bibdesk/BDSKTextWithIconCell.m 2011-12-04 22:59:05 UTC (rev
18285)
+++ trunk/bibdesk/BDSKTextWithIconCell.m 2011-12-04 23:15:24 UTC (rev
18286)
@@ -192,6 +192,10 @@
[self setIcon:[[self formatter] imageForObjectValue:obj]];
}
+- (void)editWithFrame:(NSRect)aRect inView:(NSView *)controlView
editor:(NSText *)textObj delegate:(id)anObject event:(NSEvent *)theEvent {
+ [super editWithFrame:[self textRectForBounds:aRect] inView:controlView
editor:textObj delegate:anObject event:theEvent];
+}
+
- (void)selectWithFrame:(NSRect)aRect inView:(NSView *)controlView
editor:(NSText *)textObj delegate:(id)anObject start:(NSInteger)selStart
length:(NSInteger)selLength {
[super selectWithFrame:[self textRectForBounds:aRect] inView:controlView
editor:textObj delegate:anObject start:selStart length:selLength];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit