• 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: Jerome Laurens <email@hidden>
  • Date: Thu, 20 Dec 2001 16:09:53 +0100
  • Organization: Universite de Bourgogne - Dijon - France

Andreas Monitzer wrote:
>
> On Wednesday, December 19, 2001, at 12:49 , Peter wrote:
>
> > ..hey...
> >
> > I'm making a HTML editor in Cocoa.... now, how to make syntax
> > coloring ?? - like in BBEdit/Project Builder
> >
> > .. any one know how to do that ?
>
> Nope, but TeXShop does and it's open source.
>

another approach which is more cocoa and less spaghetti OOP is to
subclass NSTextStorage and use fixAttributesInRange:


References: 
 >Re: Syntax Coloring... (From: Andreas Monitzer <email@hidden>)

  • Prev by Date: Re: AutoreleasePool mechanics
  • Next by Date: (OT) auto-indent a big hit here
  • Previous by thread: Re: Syntax Coloring...
  • Next by thread: getting booleans out of plists
  • Index(es):
    • Date
    • Thread