Re: Typing into a NSTextView and overriding it

2017-02-20 Thread Quincey Morris
On Feb 20, 2017, at 23:07 , Daryle Walker wrote: > > 1. How can one type in control characters into a text-view? I mean ASCII > range 0 through 31 and 127, not counting horizontal-tab and line-feed. You probably can’t, although it’s not entirely clear. Holding down the Control key and pressing

Typing into a NSTextView and overriding it

2017-02-20 Thread Daryle Walker
1. How can one type in control characters into a text-view? I mean ASCII range 0 through 31 and 127, not counting horizontal-tab and line-feed. 2. Is there a way to filter out the user from typing (or pasting, etc.) characters you don't want (like NUL)? 3. Is there a way to limit the length of a