From f4b384bc3e6ac805567af71e515b8dc3ae79c9b6 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 18 Sep 2014 23:05:40 +0200 Subject: Disable Smart quotes in Bundle Editor --- Source/SPBundleCommandTextView.m | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source') 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]; -- cgit v1.2.3