• 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: Inserting localized text to NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inserting localized text to NSTextView


  • Subject: Re: Inserting localized text to NSTextView
  • From: John Stiles <email@hidden>
  • Date: Wed, 18 Apr 2007 11:24:42 -0700

This is more complicated than you think… have you ever looked at the Japanese and Chinese input types?
You can simulate keyboard presses at a very low level if necessary, but are you 100% sure that this is what you want? What is your app doing exactly?



On Apr 18, 2007, at 11:17 AM, email@hidden wrote:

I have an app with a NSTextView. If, for example, the user selects Hebrew in the system preference International panel Input Menu, typing abcd onto the text view produces Hebrew. However, if I programatically insert abcd using [textView insertText:@"abcd"] then English, not Hebrew appears in the text view. How can I programatically insert text onto a text view so that it appears just as the user typed the text? Thanks.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
40blizzard.com


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Inserting localized text to NSTextView
      • From: email@hidden
References: 
 >Inserting localized text to NSTextView (From: email@hidden)

  • Prev by Date: Re: Inserting localized text to NSTextView
  • Next by Date: Re: Inserting localized text to NSTextView
  • Previous by thread: Re: Inserting localized text to NSTextView
  • Next by thread: Re: Inserting localized text to NSTextView
  • Index(es):
    • Date
    • Thread