• 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
"/" and NSTextView soft breaks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"/" and NSTextView soft breaks


  • Subject: "/" and NSTextView soft breaks
  • From: Jesse Grosjean <email@hidden>
  • Date: Sat, 18 Dec 2004 16:51:31 -0500

I'm building a view for users to enter shareware license keys. I'm now using OpenSSL as described in google "Using OpenSSL for license keys". This works great except now the keys are pretty long, so I'm using an NSTextView to enter them. I'm also automatically stripping off whitespace and new lines so that the license key text will fit nicely into the text view. This is works well except for one catch.

It seems that the "/" character will cause a soft break when there is no whitespace and the paragraph won't all fit into a single line. Is there a way to turn this off?

Thanks,
Jesse


_______________________________________________
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


  • Prev by Date: How to remove extension while saving a folder
  • Next by Date: Re: NSAlert strategy advice
  • Previous by thread: How to remove extension while saving a folder
  • Next by thread: How to capture a full screen image
  • Index(es):
    • Date
    • Thread