aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-04-01 22:59:05 +0000
committerrowanbeentje <rowan@beent.je>2009-04-01 22:59:05 +0000
commit8fd7a25952b3d5317a22e14c83af06b56c32710a (patch)
tree215711b1c3be6b90011ff38c7fa658f7c2e3ae3c /Source/CustomQuery.h
parentac70439744db350206de86e14209fd84e750bb64 (diff)
downloadsequelpro-8fd7a25952b3d5317a22e14c83af06b56c32710a.tar.gz
sequelpro-8fd7a25952b3d5317a22e14c83af06b56c32710a.tar.bz2
sequelpro-8fd7a25952b3d5317a22e14c83af06b56c32710a.zip
- Add autopairing support to CMTextView - many thanks to Hans-Jörg Bibiko for the original patch (see http://code.google.com/p/sequel-pro/issues/detail?id=208 for full details). Applied with slight amendments.
- Further changes to make CMTextView more standalone and reusable - autopairing and autoindenting can now be enabled/disabled and checked. - Autopairing and autoindenting moved to app preferences.
Diffstat (limited to 'Source/CustomQuery.h')
-rw-r--r--Source/CustomQuery.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CustomQuery.h b/Source/CustomQuery.h
index c3a61b56..1abc5e57 100644
--- a/Source/CustomQuery.h
+++ b/Source/CustomQuery.h
@@ -25,6 +25,7 @@
#import <Cocoa/Cocoa.h>
#import <MCPKit_bundled/MCPKit_bundled.h>
#import "CMCopyTable.h"
+#import "CMTextView.h"
#import "CMMCPConnection.h"
#import "CMMCPResult.h"
@@ -33,7 +34,7 @@
IBOutlet id tableWindow;
IBOutlet id queryFavoritesButton;
IBOutlet id queryHistoryButton;
- IBOutlet id textView;
+ IBOutlet CMTextView *textView;
IBOutlet CMCopyTable *customQueryView;
IBOutlet id errorText;
IBOutlet id affectedRowsText;