• 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: Problem with NSLineBreakByTruncatingMiddle under 10.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with NSLineBreakByTruncatingMiddle under 10.2


  • Subject: Re: Problem with NSLineBreakByTruncatingMiddle under 10.2
  • From: Tim Hewett <email@hidden>
  • Date: Sun, 20 Feb 2005 11:11:49 +0000

Thanks for the info.

It is strange because the Jaguar developer documentation
shows the NSLineBreakByTruncatingMiddle constant as being
a valid line wrap mode in the App Kit API reference page
for the NSParagraphStyle class, but not in the programming
topics section on rulers and paragraph styles at:

/Developer/Documentation/Cocoa/TasksAndConcepts/ProgrammingTopics/ Rulers/Concepts/AboutParaStyles.html#CJBBEHJA

Empirically the latter is the accurate one of course.

Thanks again,

Tim.


On 19 Feb 2005, at 22:36, Stéphane Sudre wrote:


On samedi, février 19, 2005, at 04:16 PM, Tim Hewett wrote:

Hi,

[...]

As said, it works great under 10.3 but not at all under 10.2, yet
it works fine for Finder under 10.2. I'm not getting any warnings
of undefined methods being called on any objects so it seems
these methods are supported under 10.2, yet nothing is happening.

Do you have to do something different/extra to get this type of line
truncation working under 10.2? Is there something wrong with this
code for 10.2 but  fine for 10.3?

The NSLineBreakByTruncatingMiddle option is not working in Mac OS X 10.2.


The Finder is a Carbon application so it explains why it's not affected.

_______________________________________________ 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: 
 >Re: Problem with NSLineBreakByTruncatingMiddle under 10.2 (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: combining strings with floats into an NSTextView
  • Next by Date: Localizing hierarchical plist information?
  • Previous by thread: Re: Problem with NSLineBreakByTruncatingMiddle under 10.2
  • Next by thread: Problem with a framework with a nib
  • Index(es):
    • Date
    • Thread