From 77bf566ebbcb62acd4d08d905d9542d6ff9b6b80 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 30 Aug 2014 23:02:02 -0400 Subject: ...in with the new. --- redo/common_darwin.m | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 redo/common_darwin.m (limited to 'redo/common_darwin.m') diff --git a/redo/common_darwin.m b/redo/common_darwin.m deleted file mode 100644 index 3043f21..0000000 --- a/redo/common_darwin.m +++ /dev/null @@ -1,16 +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]; -} -- cgit v1.2.3