• 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: controlTextDidChange, backspace possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: controlTextDidChange, backspace possible?


  • Subject: Re: controlTextDidChange, backspace possible?
  • From: Andreas Mayer <email@hidden>
  • Date: Wed, 15 Sep 2004 02:08:28 +0200


Am 14.09.2004 um 17:13 Uhr schrieb Frederick Cheung:

Also it is a bad idea (tm) to truncate a unicode string at an arbitrary index or delete some arbitrary range. You could get unexpected results or even an invalid string.

Are you sure? Could you give an example?

We are not talking about byte ranges here. Characters are really that - unicode characters. I think it's perfectly fine to delete any range you want. Of course the look of certain characters may change (e.g. when deleting a part of a ligature), but it should never result in an invalid string. I hope. :)


Andreas

_______________________________________________
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: controlTextDidChange, backspace possible?
      • From: Frederick Cheung <email@hidden>
References: 
 >controlTextDidChange, backspace possible? (From: "Peter Karlsson" <email@hidden>)
 >Re: controlTextDidChange, backspace possible? (From: j o a r <email@hidden>)
 >Re: controlTextDidChange, backspace possible? (From: Frederick Cheung <email@hidden>)

  • Prev by Date: Re: custom NSView: solved!
  • Next by Date: noteFileSystemChanged: - Bug?
  • Previous by thread: Re: controlTextDidChange, backspace possible?
  • Next by thread: Re: controlTextDidChange, backspace possible?
  • Index(es):
    • Date
    • Thread