aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-04-22 21:20:16 +0000
committerrowanbeentje <rowan@beent.je>2010-04-22 21:20:16 +0000
commit2124b2987a31ad704adb5eb68157cd2b1f396ccf (patch)
tree663f3ddc13eaed15b9e98a889b85789f83402667 /Source/CMTextView.h
parentd7a60be55db3fa16565c888351af4a2142e7b751 (diff)
downloadsequelpro-2124b2987a31ad704adb5eb68157cd2b1f396ccf.tar.gz
sequelpro-2124b2987a31ad704adb5eb68157cd2b1f396ccf.tar.bz2
sequelpro-2124b2987a31ad704adb5eb68157cd2b1f396ccf.zip
- Allow CMTextView to track SPNarrowDownCompletion state, ensuring old windows are closed. This also allows SPNarrowDownCompletion to be closed when CMTextView is deallocated; this should fix http://spbug.com/l/139 .
- Fix some minor memory leaks
Diffstat (limited to 'Source/CMTextView.h')
-rw-r--r--Source/CMTextView.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CMTextView.h b/Source/CMTextView.h
index 6e51d47f..7c09d827 100644
--- a/Source/CMTextView.h
+++ b/Source/CMTextView.h
@@ -31,6 +31,8 @@
#define SP_TEXT_SIZE_TRIGGER_FOR_PARTLY_PARSING 10000
+@class SPNarrowDownCompletion;
+
@interface CMTextView : NSTextView
{
BOOL autoindentEnabled;
@@ -47,6 +49,7 @@
NSString *showMySQLHelpFor;
IBOutlet NSScrollView *scrollView;
+ SPNarrowDownCompletion *completionPopup;
NSUserDefaults *prefs;