• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Stripping newlines/blanks when pasting on an NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stripping newlines/blanks when pasting on an NSTextField


  • Subject: Stripping newlines/blanks when pasting on an NSTextField
  • From: Michele Balistreri <email@hidden>
  • Date: Sat, 28 Oct 2006 21:50:18 +0200

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.

Regards,
Michele Balistreri
brik. Lead programmer.



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: Stripping newlines/blanks when pasting on an NSTextField
      • From: Ricky Sharp <email@hidden>
    • Re: Stripping newlines/blanks when pasting on an NSTextField
      • From: Rosyna <email@hidden>
  • Prev by Date: bindings best practices
  • Next by Date: Re: Stripping newlines/blanks when pasting on an NSTextField
  • Previous by thread: bindings best practices
  • Next by thread: Re: Stripping newlines/blanks when pasting on an NSTextField
  • Index(es):
    • Date
    • Thread