Lisp HUG Maillist Archive

Lisp formatting and syntax highlighting in a custom editor

Folks,

What's the easiest way to get Lisp formatting and syntax highlighting  
in a custom editor that does not use CAPI, without embedding Emacs.

I'm thinking of a Mac/Cocoa app that would need syntax highlighting  
and formatting but, again,  I don't want to use CAPI.

	Thanks, Joel

--
http://wagerlabs.com/






Re: Lisp formatting and syntax highlighting in a custom editor

It seems like you have answered your own question. If you don't want  
to use CAPI/emacs editing (editor-pane) that leaves you with using  
the widgets built into Cocoa. That seems to mean the NSText/ 
NSTextView object which supports rich text formatting. The editor  
source included with LispWorks might be helpful in applying Lisp  
formatting and syntax highlighting to NSText objects.




On Feb 10, 2007, at 9:20 AM, Joel Reymont wrote:

> What's the easiest way to get Lisp formatting and syntax  
> highlighting in a custom editor that does not use CAPI, without  
> embedding Emacs.
>
> I'm thinking of a Mac/Cocoa app that would need syntax highlighting  
> and formatting but, again,  I don't want to use CAPI.



John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


Updated at: 2020-12-10 08:46 UTC