• 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
Examples of textStorageWillProcessEditing's use ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Examples of textStorageWillProcessEditing's use ?


  • Subject: Examples of textStorageWillProcessEditing's use ?
  • From: Thomas Deniau <email@hidden>
  • Date: Thu, 28 Feb 2002 00:46:33 +0100

Hi !

Has someone examples of -textStorageWillProcessEditing: use ?

I'm trying to use to it to make auto-colorization of source code as the user
types, but if I use setAttributes:range: in this method, I don't know why,
sometimes, not always, the cursor moves to the end of the specified range.

I do not see why a change on the color of the text should change the
insertion point's position ...

Any Ideas ?

Thanks in advance,

--
Thomas Deniau
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Examples of textStorageWillProcessEditing's use ?
      • From: Thomas Deniau <email@hidden>
  • Prev by Date: Keyboard Event
  • Next by Date: NSPanel owned by NSDocumentController: cause of a problem?
  • Previous by thread: Re: Keyboard Event
  • Next by thread: Re: Examples of textStorageWillProcessEditing's use ?
  • Index(es):
    • Date
    • Thread