From cc5aa6c295b6072b5feedc1b912df264c34a9edb Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 23 Nov 2010 14:20:26 +0000 Subject: =?UTF-8?q?=E2=80=A2=20Bundle=20Editor=20-=20fixed=20gui=20arragem?= =?UTF-8?q?ent=20-=20suppress=20error=20message=20if=20no=20ouptut=20key?= =?UTF-8?q?=20found=20in=20command.plist=20=E2=80=A2=20added=20sequelpro:/?= =?UTF-8?q?/ID@/passToDoc/SelectTableRows/1/3/4/..=20scheme=20command=20wh?= =?UTF-8?q?ich=20selects=20given=20rows=20in=20current=20table=20if=20a=20?= =?UTF-8?q?SPCopyTable=20is=20the=20first=20responder;=20not=20valid=20giv?= =?UTF-8?q?en=20rows=20are=20ignored=20=E2=80=A2=20added=20SP=5FSELECTED?= =?UTF-8?q?=5FROW=5FINDICES=20as=20passed=20shell=20variable=20for=20Data?= =?UTF-8?q?=20Table=20scope?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPDatabaseDocument.m | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Source/SPDatabaseDocument.m') diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m index 4626f031..270892f0 100644 --- a/Source/SPDatabaseDocument.m +++ b/Source/SPDatabaseDocument.m @@ -4563,6 +4563,13 @@ return; } + if([command isEqualToString:@"SelectTableRows"]) { + if([params count] > 1 && [[[NSApp mainWindow] firstResponder] respondsToSelector:@selector(selectTableRows:)]) { + [[[NSApp mainWindow] firstResponder] selectTableRows:[params subarrayWithRange:NSMakeRange(1, [params count]-1)]]; + } + return; + } + if([command isEqualToString:@"ReloadContentTable"]) { [tableContentInstance reloadTable:self]; return; -- cgit v1.2.3