• 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
Syntax-coloring NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Syntax-coloring NSTextView


  • Subject: Syntax-coloring NSTextView
  • From: "Ryan Z. Hale" <email@hidden>
  • Date: Tue, 29 Oct 2002 22:13:49 -0600

Hi all:

I've picked through some open source apps (the ones that wrap around TeX or something) and attempted to figure out syntax coloring. I'm writing an HTML editor and would like different things to be colored, i.e different colors for different tags. I have an NSTextView (created programatically as HTTextView, borrowed from Stepwise) that the code is typed in.

Any help, pointers, code examples, etc. is greatly appreciated.

Thanks,

Ryan
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Syntax-coloring NSTextView
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Custom Controls and Controllers: Some funny stuff going on here, any ideas?
  • Next by Date: Re: Printable region and drawRect
  • Previous by thread: NSQuickDrawView port management
  • Next by thread: Re: Syntax-coloring NSTextView
  • Index(es):
    • Date
    • Thread