Python Syntax Highlighting Module

gene tani gene.tani at gmail.com
Mon Aug 21 11:19:29 EDT 2006


frikker at gmail.com wrote:
> Hello,
> I have an idea for a project which involves an editor that supports
> syntax highlighting.  This would be for any language, particularly php,
> html, css, etc.  I would like to write this program using python.  It
> would only make sense to base this upon existing open source code.  My
> question is there a python module or examples on how to write a code
> editor which supports modulated syntax highlighting?
>
> Thank you,
> Blaine

just a *few* examples

http://lfw.org/python/cedit

http://mathieu.fenniak.net/formatting-a-simple-function-in-python/
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/200638
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/442482

http://effbot.python-hosting.com/browser/stuff/sandbox/pythondoc/

http://qbnz.com/highlighter/index.php
http://pudge.lesscode.org/

also look at GNU / emacs:

http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el.html
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52298

http://www.danbala.com/python/lpy/lpy.py.html
http://www.gnu.org/software/src-highlite/




More information about the Python-list mailing list