Re: Stripping newlines/blanks when pasting on an NSTextField
Re: Stripping newlines/blanks when pasting on an NSTextField
- Subject: Re: Stripping newlines/blanks when pasting on an NSTextField
- From: Ricky Sharp <email@hidden>
- Date: Sat, 28 Oct 2006 16:13:20 -0500
On Oct 28, 2006, at 2:50 PM, Michele Balistreri wrote:
Hi, i have a problem with an NSTextField. I would like it to behave
like a real single-line field, that is, the sure should be unable
to insert newlines even when copying and pasting to it, and should
have immediate visual feedback of what the string will be like.
Would using a custom NSFormatter make sense in that case? Any
advice? Thank you very much for your help.
Yes, a formatter would be a good solution.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden