• 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: Replacing the default-hyphenator in the cocoa-textsystem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacing the default-hyphenator in the cocoa-textsystem


  • Subject: Re: Replacing the default-hyphenator in the cocoa-textsystem
  • From: Aki Inoue <email@hidden>
  • Date: Tue, 31 May 2005 15:06:06 -0700

Jan,

Starting from Panther, the bottleneck for determining hyphenation position is -[NSAttributedString lineBreakByHyphenatingBeforeIndex:withinRange].

You can override the method to implement custom hyphenation behavior.

Aki

Hi,

I'm trying to replace the hyphenator in the textsystem but I can't find methods or classes to overwrite/implement to do it. I have to do it as the default-hyphenator works very bad for german and so a replacement is needed.

Hope someone can point me in the correct direction ;)

Greetings,
Jan Neumüller _______________________________________________
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

_______________________________________________ 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: Replacing the default-hyphenator in the cocoa-textsystem
      • From: Jan Neumüller <email@hidden>
References: 
 >Replacing the default-hyphenator in the cocoa-textsystem (From: Jan Neumüller <email@hidden>)

  • Prev by Date: Re: Bindings Basics: selections
  • Next by Date: What NSLayoutManager
  • Previous by thread: Replacing the default-hyphenator in the cocoa-textsystem
  • Next by thread: Re: Replacing the default-hyphenator in the cocoa-textsystem
  • Index(es):
    • Date
    • Thread