From e0b78dfa72f5c24ba7e592d4b381fd97bfb2d407 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 11 Aug 2009 14:53:13 +0000 Subject: =?UTF-8?q?=E2=80=A2=20added=20SPTooltip=20class=20-=20initial=20s?= =?UTF-8?q?etup=20-=20display=20a=20text=20or=20HTML=20tooltip=20for=20gen?= =?UTF-8?q?eral=20messages=20under=20the=20caret=20position=20or=20located?= =?UTF-8?q?=20somewhere=20via=20initializing=20=E2=80=A2=20fixed=20naming?= =?UTF-8?q?=20issue=20in=20SPNarrowDownCompletion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPNarrowDownCompletion.h | 2 +- Source/SPTooltip.h | 37 +++++++++++++++++++++++++++++++++++++ Source/SPTooltip.m | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 Source/SPTooltip.h create mode 100644 Source/SPTooltip.m (limited to 'Source') diff --git a/Source/SPNarrowDownCompletion.h b/Source/SPNarrowDownCompletion.h index 6a2d4d1b..35ef7f1f 100644 --- a/Source/SPNarrowDownCompletion.h +++ b/Source/SPNarrowDownCompletion.h @@ -1,7 +1,7 @@ // // $Id: SPNarrowDownCompletion.h 744 2009-05-22 20:00:00Z bibiko $ // -// SPGrowlController.h +// SPNarrowDownCompletion.h // sequel-pro // // Created by Hans-J. Bibiko on May 14, 2009. diff --git a/Source/SPTooltip.h b/Source/SPTooltip.h new file mode 100644 index 00000000..f24e52c8 --- /dev/null +++ b/Source/SPTooltip.h @@ -0,0 +1,37 @@ +// +// $Id$ +// +// SPTooltip.h +// sequel-pro +// +// Created by Hans-J. Bibiko on August 11, 2009. +// +// This class is based on TextMate's TMDHTMLTip implementation +// (Dialog plugin) written by Ciarán Walsh and Allan Odgaard. +// see license: http://svn.textmate.org/trunk/LICENSE +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at + +#import +#import + + +@interface SPTooltip : NSWindow { + +} + +@end diff --git a/Source/SPTooltip.m b/Source/SPTooltip.m new file mode 100644 index 00000000..c0cfd10f --- /dev/null +++ b/Source/SPTooltip.m @@ -0,0 +1,34 @@ +// +// $Id$ +// +// SPTooltip.m +// sequel-pro +// +// Created by Hans-J. Bibiko on August 11, 2009. +// +// This class is based on TextMate's TMDHTMLTip implementation +// (Dialog plugin) written by Ciarán Walsh and Allan Odgaard. +// see license: http://svn.textmate.org/trunk/LICENSE +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// More info at + +#import "SPTooltip.h" + + +@implementation SPTooltip + +@end -- cgit v1.2.3