• 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: Syntax Coloring?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Syntax Coloring?


  • Subject: Re: Syntax Coloring?
  • From: Rob Keniger <email@hidden>
  • Date: Tue, 25 Aug 2009 13:13:49 +1000


On 25/08/2009, at 11:36 AM, Keitaroh Kobayashi wrote:

Anyways, I was thinking I could keep the basic flex part, and apply it only
to the changed portions of the text. The problem with that is that I would
have to check for quotes and record what's inside the quote from where the
person started typing... But then that runs into the problem of somebody
just putting their text cursor randomly in a string, etc etc.


You could always look at Uli Kusterer's UKSyntaxColoredTextDocument class:

http://zathras.de/angelweb/sourcecode.htm#UKSyntaxColoredTextDocument

It's pretty comprehensive and performance is good. It's free for non- commercial projects.

--
Rob Keniger



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: Syntax Coloring?
      • From: Uli Kusterer <email@hidden>
References: 
 >Syntax Coloring? (From: Keitaroh Kobayashi <email@hidden>)
 >Re: Syntax Coloring? (From: BareFeet <email@hidden>)
 >Re: Syntax Coloring? (From: Keitaroh Kobayashi <email@hidden>)

  • Prev by Date: need help about the touch event
  • Next by Date: Re: Adding Segmented Buttons to Toolbar.
  • Previous by thread: Re: Syntax Coloring?
  • Next by thread: Re: Syntax Coloring?
  • Index(es):
    • Date
    • Thread