summaryrefslogtreecommitdiff
path: root/common_darwin.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-24 16:11:53 -0400
committerPietro Gagliardi <[email protected]>2014-10-24 16:11:53 -0400
commitd82a6bc36d029c89cd677276fcab65db28992414 (patch)
treeb2909ea690e29104742ed71de1be420e917483f1 /common_darwin.m
parentcbcf77fb6d2729fa377e820238672b30c564c43f (diff)
Started the OS X implementation of Textbox.
Diffstat (limited to 'common_darwin.m')
-rw-r--r--common_darwin.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/common_darwin.m b/common_darwin.m
index 3043f21..f56ceae 100644
--- a/common_darwin.m
+++ b/common_darwin.m
@@ -13,4 +13,7 @@ void disableAutocorrect(id onwhat)
// don't worry about automatic data detection; it won't change stringValue (thanks pretty_function in irc.freenode.net/#macdev)
[tv setAutomaticSpellingCorrectionEnabled:NO];
[tv setAutomaticTextReplacementEnabled:NO];
+ [tv setAutomaticQuoteSubstitutionEnabled:NO];
+ [tv setAutomaticLinkDetectionEnabled:NO];
+ [tv setSmartInsertDeleteEnabled:NO];
}