diff options
author | stuconnolly <stuart02@gmail.com> | 2010-09-17 20:06:37 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-09-17 20:06:37 +0000 |
commit | 7dfafb60062fc150f71bba694810cd8d328efd00 (patch) | |
tree | d73b3e24ab54b2f93c9b0dfa2b76416015505ad3 /Source/SPTableStructure.m | |
parent | 263b41b74510f4778fc463c7f6c31fe71e0ee650 (diff) | |
download | sequelpro-7dfafb60062fc150f71bba694810cd8d328efd00.tar.gz sequelpro-7dfafb60062fc150f71bba694810cd8d328efd00.tar.bz2 sequelpro-7dfafb60062fc150f71bba694810cd8d328efd00.zip |
New add index sheet, which includes:
- The ability to easily index multiple columns
- The ability to specify the storage type (HASH or BTREE) that should be used when available and permitted
- The ability to specify a length prefix when indexing a specific column (required on TEXT columns)
Requires lots of testing.
Diffstat (limited to 'Source/SPTableStructure.m')
-rw-r--r-- | Source/SPTableStructure.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPTableStructure.m b/Source/SPTableStructure.m index 4d9a496f..a5aa45af 100644 --- a/Source/SPTableStructure.m +++ b/Source/SPTableStructure.m @@ -132,10 +132,13 @@ selector:@selector(startDocumentTaskForTab:) name:SPDocumentTaskStartNotification object:tableDocumentInstance]; + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(endDocumentTaskForTab:) name:SPDocumentTaskEndNotification object:tableDocumentInstance]; + + [prefs addObserver:indexesController forKeyPath:SPUseMonospacedFonts options:NSKeyValueObservingOptionNew context:NULL]; } #pragma mark - |