「Xamarin.MacでNSTextViewのスマートクォートを無効化する」の版間の差分
imported>Administrator |
|||
| 36行目: | 36行目: | ||
// disable Smart Quotes | // disable Smart Quotes | ||
// よくわからんのでAutomaticで始まるプロパティ全部にfalseを設定してみた | // よくわからんのでAutomaticで始まるプロパティ全部にfalseを設定してみた | ||
_nsTextView.AutomaticDashSubstitutionEnabled = false; | |||
_nsTextView.AutomaticDataDetectionEnabled = false; | |||
_nsTextView.AutomaticLinkDetectionEnabled = false; | |||
_nsTextView.AutomaticQuoteSubstitutionEnabled = false; | |||
_nsTextView.AutomaticSpellingCorrectionEnabled = false; | |||
_nsTextView.AutomaticTextReplacementEnabled = false; | |||
_nsTextView.EnabledTextCheckingTypes = 0; | |||
} | } | ||
} | } | ||