• 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: Detecting Double Byte Input
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting Double Byte Input


  • Subject: Re: Detecting Double Byte Input
  • From: Douglas Davidson <email@hidden>
  • Date: Tue, 12 Apr 2005 16:32:26 -0700


On Apr 12, 2005, at 4:26 PM, John Pattenden wrote:

Well that's not strictly the case, when double byte characters are being input Cocoa goes into a special mode. You can tell this since the text has a line under it and is not officially "entered" until the user presses the enter key. So there is a difference on the input side for Double Byte characters - All I need to know is if that mode is active or not..



if ([myTextView hasMarkedText]) ...

For more information, see my recent posts to this list on "how input method editors work":

"You should also be aware that in some cases the text view will contain and display text that is only tentative, not yet confirmed by the user.  You can find out whether this is the case by calling -hasMarkedText, and you can determine where it is using -markedRange...."

Douglas Davidson

 _______________________________________________
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: Detecting Double Byte Input
      • From: John Pattenden <email@hidden>
    • Re: Detecting Double Byte Input
      • From: John Pattenden <email@hidden>
References: 
 >Detecting Double Byte Input (From: John Pattenden <email@hidden>)
 >Re: Detecting Double Byte Input (From: glenn andreas <email@hidden>)
 >Re: Detecting Double Byte Input (From: John Pattenden <email@hidden>)

  • Prev by Date: Re: Detecting Double Byte Input
  • Next by Date: Re: Detecting Double Byte Input
  • Previous by thread: Re: Detecting Double Byte Input
  • Next by thread: Re: Detecting Double Byte Input
  • Index(es):
    • Date
    • Thread