Need non-breaking strings in RTF

I need to specify certain strings in my RTF documents as non-breaking, but haven't found a way to do this. Any suggestions?

What sort of strings? If the string is breaking at a space, you can use U+00A0 NO-BREAK SPACE. If it’s breaking elsewhere, please post an example.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

"|√(a↑2+b↑2)|" Thanks. I think it would be ideal if I could use TextEdit to select a string and mark it as non-breaking.

"|√(a↑2+b↑2)|"

OK. AFAICT there’s no NSAttributedStringKey attribute that marks a range of arbitrary characters as non-breaking )-:

I think it would be ideal if I could use TextEdit to select a string and mark it as non-breaking.

I think that’d make a fine enhancement request. Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Reported as FB9125801. Thanks again.

Need non-breaking strings in RTF
 
 
Q