Re: Syntax Coloring?
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