From f8e3f12ab02b528f2a05a4f713d7af7ea8e44b42 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 11 Dec 2015 20:37:59 -0500 Subject: LET'S GET THIS FINAL REWRITE EVER STARTED --- common_darwin.m | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 common_darwin.m (limited to 'common_darwin.m') diff --git a/common_darwin.m b/common_darwin.m deleted file mode 100644 index f56ceae..0000000 --- a/common_darwin.m +++ /dev/null @@ -1,19 +0,0 @@ -// 11 august 2014 - -#include "objc_darwin.h" -#include - -void disableAutocorrect(id onwhat) -{ - NSTextView *tv; - - tv = (NSTextView *) onwhat; - [tv setEnabledTextCheckingTypes:0]; - [tv setAutomaticDashSubstitutionEnabled:NO]; - // 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]; -} -- cgit v1.2.3