diff options
author | Max <post@wickenrode.com> | 2014-09-18 23:06:38 +0200 |
---|---|---|
committer | Max <post@wickenrode.com> | 2014-09-18 23:06:38 +0200 |
commit | 51b148d157ff11c5d2393b02584fbb203d710b11 (patch) | |
tree | 3be1e8797f708185ba2000e4ad2bee2ca02f5eb6 /Source/SPBundleCommandTextView.m | |
parent | a86bed3db5f1f5528b9ce38052373286719c2313 (diff) | |
parent | f4b384bc3e6ac805567af71e515b8dc3ae79c9b6 (diff) | |
download | sequelpro-51b148d157ff11c5d2393b02584fbb203d710b11.tar.gz sequelpro-51b148d157ff11c5d2393b02584fbb203d710b11.tar.bz2 sequelpro-51b148d157ff11c5d2393b02584fbb203d710b11.zip |
Merge patch to disable smart quotes in editor
Diffstat (limited to 'Source/SPBundleCommandTextView.m')
-rw-r--r-- | Source/SPBundleCommandTextView.m | 4 |
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]; |