aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTextViewAdditions.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-07-13 15:24:16 +0000
committerBibiko <bibiko@eva.mpg.de>2009-07-13 15:24:16 +0000
commit27db10fe504117dd8b4a166dcfc94881528c44c3 (patch)
tree1926c3c44974d3a632b90b3bfca7fd9a25e8ce27 /Source/SPTextViewAdditions.m
parent04e807c2ca899cabe57ee834eab4336b8e3dbb7a (diff)
downloadsequelpro-27db10fe504117dd8b4a166dcfc94881528c44c3.tar.gz
sequelpro-27db10fe504117dd8b4a166dcfc94881528c44c3.tar.bz2
sequelpro-27db10fe504117dd8b4a166dcfc94881528c44c3.zip
• added levenshteinDistanceOfWord: to SPStringAdditions
- will be used mainly for auto-matching column names while csv import • fixed bug for in/decreasing the font size by using the two-finger gesture on a trackpad if a textView has a selection
Diffstat (limited to 'Source/SPTextViewAdditions.m')
-rw-r--r--Source/SPTextViewAdditions.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/SPTextViewAdditions.m b/Source/SPTextViewAdditions.m
index f9c9a1de..2dcf0614 100644
--- a/Source/SPTextViewAdditions.m
+++ b/Source/SPTextViewAdditions.m
@@ -416,7 +416,7 @@
#pragma mark multi-touch trackpad support
/*
- * Trackpad two-finger zooming gesture in/decreases the font size
+ * Trackpad two-finger zooming gesture for in/decreasing the font size
*/
- (void) magnifyWithEvent:(NSEvent *)anEvent
{
@@ -430,7 +430,6 @@
else if([anEvent deltaZ]<-5.0)
[self makeTextSizeSmaller];
- [self insertText:@""];
}