From 44548eed4c7e103ced2c9e87bd056fe59fedf617 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Fri, 14 Aug 2009 22:57:11 +0000 Subject: =?UTF-8?q?=E2=80=A2=20added=20SPTooltips=20for=20cell=20content?= =?UTF-8?q?=20in=20Content=20Table=20-=20text=20strings=20are=20display=20?= =?UTF-8?q?with=20line=20breaks=20and=20tabs=20-=20if=20cell=20content=20r?= =?UTF-8?q?epresents=20image=20data=20display=20that=20image=20as=20transp?= =?UTF-8?q?arent=20thumbnail=20(by=20using=20base64=20encoded=20HTML=20img?= =?UTF-8?q?=20tag)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Notes: - SPTooltip implementation to show an image via a NSImageView will be implemented soon (the HTML way needs too much memory due to base64 encoded string) - to discuss: Should we add a preference setting to display these tooltips? --- Source/SPTextAndLinkCell.m | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Source/SPTextAndLinkCell.m') diff --git a/Source/SPTextAndLinkCell.m b/Source/SPTextAndLinkCell.m index eee3f517..90012fa9 100644 --- a/Source/SPTextAndLinkCell.m +++ b/Source/SPTextAndLinkCell.m @@ -264,4 +264,12 @@ static inline NSRect SPTextLinkRectFromCellRect(NSRect inRect) { return lastLinkRow; } +/** + * Suppress the built-in expansion tooltip + */ +- (NSRect)expansionFrameWithFrame:(NSRect)cellFrame inView:(NSView *)view +{ + return NSZeroRect; +} + @end -- cgit v1.2.3