差分

ナビゲーションに移動 検索に移動

Xamarin.MacでNSTextViewのスマートクォートを無効化する

21 バイト除去, 2017年7月26日 (水) 05:43
// disable Smart Quotes
// よくわからんのでAutomaticで始まるプロパティ全部にfalseを設定してみた
_startupScript_nsTextView.AutomaticDashSubstitutionEnabled = false; _startupScript_nsTextView.AutomaticDataDetectionEnabled = false; _startupScript_nsTextView.AutomaticLinkDetectionEnabled = false; _startupScript_nsTextView.AutomaticQuoteSubstitutionEnabled = false; _startupScript_nsTextView.AutomaticSpellingCorrectionEnabled = false; _startupScript_nsTextView.AutomaticTextReplacementEnabled = false; _startupScript_nsTextView.EnabledTextCheckingTypes = 0;
}
}
匿名利用者

案内メニュー