aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2014-09-18 23:05:40 +0200
committerMax <post@wickenrode.com>2014-09-18 23:05:40 +0200
commitf4b384bc3e6ac805567af71e515b8dc3ae79c9b6 (patch)
tree3be1e8797f708185ba2000e4ad2bee2ca02f5eb6
parentba8ed46081716063f17521a8b8cece9889765a57 (diff)
downloadsequelpro-f4b384bc3e6ac805567af71e515b8dc3ae79c9b6.tar.gz
sequelpro-f4b384bc3e6ac805567af71e515b8dc3ae79c9b6.tar.bz2
sequelpro-f4b384bc3e6ac805567af71e515b8dc3ae79c9b6.zip
Disable Smart quotes in Bundle Editor
-rw-r--r--Source/SPBundleCommandTextView.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/SPBundleCommandTextView.m b/Source/SPBundleCommandTextView.m
index b5436ca5..4ca63451 100644
--- a/Source/SPBundleCommandTextView.m
+++ b/Source/SPBundleCommandTextView.m
@@ -62,6 +62,10 @@
[commandScrollView setHasHorizontalRuler:NO];
[commandScrollView setHasVerticalRuler:YES];
[commandScrollView setRulersVisible:YES];
+
+ // disable typo stuff in 10.8+ SDK
+ [self setAutomaticDashSubstitutionEnabled:NO];
+ [self setAutomaticQuoteSubstitutionEnabled:NO];
// Re-define tab stops for a better editing
[self setTabStops];