• 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
Multi-keystroke text input issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multi-keystroke text input issue


  • Subject: Multi-keystroke text input issue
  • From: Gideon King <email@hidden>
  • Date: Tue, 9 Nov 2004 21:44:34 +1000

I have a case where I need to regenerate a text view after each keystroke (in textView:shouldChangeTextInRange:replacementString:) and reset the text using the text storage's setAttributedString: method. This works fine in English, but when users are entering text which requires multiple keystrokes for generation of a single character (e.g. in using Hirgana input), the call to the shouldChangeTextInRange... method is sent for every keystroke even if a full character has not been composed yet.

How do I pick up that I don't have a full character yet so I can allow the textview to display the partially composed character?

Thanks

Gideon _______________________________________________
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: Multi-keystroke text input issue
      • From: Satoshi Matsumoto <email@hidden>
  • Prev by Date: Re: New Spotlight Info
  • Next by Date: Start Editing Table Cell After NSArrayController Insert
  • Previous by thread: Re: How do I do this / are there examples?
  • Next by thread: Re: Multi-keystroke text input issue
  • Index(es):
    • Date
    • Thread