aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPStringAdditions.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-11 12:43:46 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-11 12:43:46 +0000
commitf5a548c05eb23afd80d3c7f105233542b0cfe8aa (patch)
treea822cf20087f43a9942769c1ded82735a592ceed /Source/SPStringAdditions.m
parentf633a067d2120cca67fd1b2782688424cadde9d4 (diff)
downloadsequelpro-f5a548c05eb23afd80d3c7f105233542b0cfe8aa.tar.gz
sequelpro-f5a548c05eb23afd80d3c7f105233542b0cfe8aa.tar.bz2
sequelpro-f5a548c05eb23afd80d3c7f105233542b0cfe8aa.zip
• added to Bundle shell command these variables:
SP_ALL_DATABASES, SP_ALL_TABLES, SP_ALL_VIEWS, SP_ALL_FUNCTIONS, SP_ALL_PROCEDURES, SP_RDBMS_VERSION, SP_RDBMS_TYPE [hard-coded yet ;)] • some minor improvements to editor Bundle support • fixed issue while running a bash command that the SP GUI doesn't block • added first sequelpro url scheme functionality - sequelpro://$SP_PROCESS_ID/passToDoc/SelectTable/a_name - sequelpro://$SP_PROCESS_ID/passToDoc/SelectDatabase/a_db_name - sequelpro://$SP_PROCESS_ID/passToDoc/SelectDatabase/a_db_name/a_table_name
Diffstat (limited to 'Source/SPStringAdditions.m')
-rw-r--r--Source/SPStringAdditions.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPStringAdditions.m b/Source/SPStringAdditions.m
index c57ccacb..7909bd70 100644
--- a/Source/SPStringAdditions.m
+++ b/Source/SPStringAdditions.m
@@ -452,7 +452,7 @@
untilDate:[NSDate distantPast]
inMode:NSDefaultRunLoopMode
dequeue:YES];
- usleep(10000);
+ usleep(1000);
if(!event) continue;
if ([event type] == NSKeyDown) {
unichar key = [[event characters] length] == 1 ? [[event characters] characterAtIndex:0] : 0;
@@ -461,6 +461,7 @@
userTerminated = YES;
break;
}
+ [NSApp sendEvent:event];
} else {
[NSApp sendEvent:event];
}