aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNarrowDownCompletion.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-03-08 22:12:13 +0000
committerBibiko <bibiko@eva.mpg.de>2010-03-08 22:12:13 +0000
commiteaa7c5890efffcabf485241caad1198c73dca060 (patch)
treed743f5fb0f7beade63ae54e4bdd9d81622d3a7ab /Source/SPNarrowDownCompletion.m
parente819de7f2889a25d3bc7c569b3fdee2f1551c61a (diff)
downloadsequelpro-eaa7c5890efffcabf485241caad1198c73dca060.tar.gz
sequelpro-eaa7c5890efffcabf485241caad1198c73dca060.tar.bz2
sequelpro-eaa7c5890efffcabf485241caad1198c73dca060.zip
• added possibility to define a snippet via ¦a¦b¦ – such a snippet will be shown as completion list with the items “a” and “b”
• set auto-completion default Pref setting to true • fixed some auto-completion issues like do not insert common prefix automatically and some others • applied ¦a¦b¦ template to CompletionTokens.plist and some tiny corrections and improvements
Diffstat (limited to 'Source/SPNarrowDownCompletion.m')
-rw-r--r--Source/SPNarrowDownCompletion.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPNarrowDownCompletion.m b/Source/SPNarrowDownCompletion.m
index 10d4c1f7..9f539d67 100644
--- a/Source/SPNarrowDownCompletion.m
+++ b/Source/SPNarrowDownCompletion.m
@@ -574,7 +574,7 @@
break;
}
}
- else if(key == NSCarriageReturnCharacter || key == NSTabCharacter)
+ else if(key == NSCarriageReturnCharacter || (key == NSTabCharacter && !triggerMode))
{
[self completeAndInsertSnippet];
}