Hi,
I'm working on a Code Editor based on NSTextView; There are many built-in "smart" features of NSTextView that are disable-able (automatic quote/dash/etc.), but I can't find a way to prevent the "double space to enter period" system-wide shortcut from affecting my text view.
Is a some way to make NSTextView ignore that? Otherwise, any tips for implementing a non-fragile workaround?
Thanks
If you're willing to disable this throughout your app (rather than for just one class of text view), you can set the user default "NSAutomaticPeriodSubstitutionEnabled" to false somewhere early in startup. I discovered that key name by doing "defaults read -g", toggling that setting in System Preferences, doing "defaults read -g" again, and comparing the output from before and after.