Python Syntax Highlighting Module

F

frikker

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
 
B

Brian Quinlan

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?

Google: SilverCity

Cheers,
Brian
 
G

gene tani

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/
 
F

frikker

thank you! These will be very helpful.

I'm not necessarily creating an editor from scratch, but maybe an
editor that has some additional custom functionality.

Thanks again,
blaine
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top