• 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: 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


References: 
 >Syntax Coloring? (From: Keitaroh Kobayashi <email@hidden>)

  • Prev by Date: Syntax Coloring?
  • Next by Date: Re: Best Way to Simulate Keyboard
  • Previous by thread: Syntax Coloring?
  • Next by thread: Re: Syntax Coloring?
  • Index(es):
    • Date
    • Thread