aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-05-20 15:25:57 +0000
committerBibiko <bibiko@eva.mpg.de>2009-05-20 15:25:57 +0000
commit14b3a654bad83e021aa80e0838b6b72ca79ac9d6 (patch)
treed5bb0963536a8957a232a0792171d50f8c5506cd /Source/CMTextView.h
parent86a11d827706093e0aeaa9c6922a0f1cb73e2008 (diff)
downloadsequelpro-14b3a654bad83e021aa80e0838b6b72ca79ac9d6.tar.gz
sequelpro-14b3a654bad83e021aa80e0838b6b72ca79ac9d6.tar.bz2
sequelpro-14b3a654bad83e021aa80e0838b6b72ca79ac9d6.zip
• made mySQLConnection reachable for CMTextView
• for MySQL version > 4 added proc/func names to the completion suggestion list • changed the way of adding the table names to the completion suggestion list - now it uses [mySQLConnection listTables] instead of taking the names from the table view list due to the header items • added some pragma marks to CMTextView
Diffstat (limited to 'Source/CMTextView.h')
-rw-r--r--Source/CMTextView.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CMTextView.h b/Source/CMTextView.h
index 37731784..fad867e2 100644
--- a/Source/CMTextView.h
+++ b/Source/CMTextView.h
@@ -47,6 +47,9 @@
NSUserDefaults *prefs;
+ CMMCPConnection *mySQLConnection;
+ int mySQLmajorVersion;
+
}
- (IBAction)showMySQLHelpForCurrentWord:(id)sender;
@@ -77,5 +80,6 @@
- (unsigned int) characterIndexOfPoint:(NSPoint)aPoint;
- (void) makeTextSizeLarger;
- (void) makeTextSizeSmaller;
+- (void) setConnection:(CMMCPConnection *)theConnection withVersion:(int)majorVersion;
@end