aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCopyTable.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-10-30 09:45:43 +0000
committerBibiko <bibiko@eva.mpg.de>2010-10-30 09:45:43 +0000
commite3f9028ab739d9e973dd97345605c2abc2a79739 (patch)
tree03b08d41987d805e0a9599fc41f09253b47cfc7a /Source/SPCopyTable.m
parentc93f78981eba6eb1f14dcd00c675c48b675b0494 (diff)
downloadsequelpro-e3f9028ab739d9e973dd97345605c2abc2a79739.tar.gz
sequelpro-e3f9028ab739d9e973dd97345605c2abc2a79739.tar.bz2
sequelpro-e3f9028ab739d9e973dd97345605c2abc2a79739.zip
• Custom and Content table in-cell editing
- a possible given selection done inside the edited cell will be passed to the field editor sheet for convenience since one often forgets that the field editor sheet mode is active
Diffstat (limited to 'Source/SPCopyTable.m')
-rw-r--r--Source/SPCopyTable.m10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/SPCopyTable.m b/Source/SPCopyTable.m
index 98dd45aa..66b97a81 100644
--- a/Source/SPCopyTable.m
+++ b/Source/SPCopyTable.m
@@ -38,6 +38,16 @@ NSInteger MENU_EDIT_COPY_AS_SQL = 2003;
@implementation SPCopyTable
+- (void)setFieldEditorSelectedRange:(NSRange)aRange
+{
+ fieldEditorSelectedRange = aRange;
+}
+
+- (NSRange)fieldEditorSelectedRange
+{
+ return fieldEditorSelectedRange;
+}
+
- (void)copy:(id)sender
{
NSString *tmp = nil;