Re: Syntax Coloring?
Re: Syntax Coloring?
- Subject: Re: Syntax Coloring?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Sat, 22 Aug 2009 16:06:53 +0200
Le 22 août 2009 à 14:33, Keitaroh Kobayashi a écrit :
Hello, I'm writing a code editor and so far, i've been using Flex for
regex-matching the whole document every time the text is changed and
coloring appropriately... I got this idea from some CocoaBuilders or
CocoaDev forum/mailing list awhile ago, but it's terribly
inefficient and
slow, especially with large documents.
Just wondering if you guys have any suggestions in the direction I
should go
in... I just found NSPredicate, but I'm not sure if I should use it...
Anyways, any suggestions are greatly appreciated,
Keita
I think the now abandoned smultron editor do that. Have a look at its
sources:
http://smultron.sourceforge.net/
_______________________________________________
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