• 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
Re: break line and colon character
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: break line and colon character


  • Subject: Re: break line and colon character
  • From: glenn andreas <email@hidden>
  • Date: Tue, 15 Mar 2005 14:51:36 -0600


On Mar 15, 2005, at 2:39 PM, nicolas Descombes wrote:

Hello,

I have several lines that finish with duration (as 3:16) in a text view and I would like to deactivate line breaking at character colon ":", I don't want 3: on first line and 16 on second line, I want everytime 3:16 on second line.

Is there a solution to my problem or can I supervize where Cocoa will break lines.

Thanks in advance.


It appears (at least on 10.3.8) that "small colon" 0xfe55 does not cause a line break, since it's not treated as a separator (at least with a little resizing text experment).


However, it does have different spacing than a regular ":" character does (so you might need to tweak the fonts a bit to get what you want).

So since this may be system version dependant, and may look ugly in the font you're using, it may not be the best solution, but it is an easy one.


Glenn Andreas                      email@hidden  <http://www.gandreas.com/> oh my! Mad, Bad, and Dangerous to Know

_______________________________________________
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


References: 
 >break line and colon character (From: nicolas Descombes <email@hidden>)

  • Prev by Date: Re: email and cocoa
  • Next by Date: Re: Blurring, phycedelic NSTableViews.
  • Previous by thread: break line and colon character
  • Next by thread: Is it possible to sort without a key?
  • Index(es):
    • Date
    • Thread