By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,631 Members | 892 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,631 IT Pros & Developers. It's quick & easy.

Python Syntax Highlighting Module

P: n/a
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

Aug 21 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
fr*****@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?
Google: SilverCity

Cheers,
Brian
Aug 21 '06 #2

P: n/a

fr*****@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/formattin...ion-in-python/
http://aspn.activestate.com/ASPN/Coo.../Recipe/200638
http://aspn.activestate.com/ASPN/Coo.../Recipe/442482

http://effbot.python-hosting.com/bro...box/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/Coo...n/Recipe/52298

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

Aug 21 '06 #3

P: n/a
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
gene tani wrote:
fr*****@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/formattin...ion-in-python/
http://aspn.activestate.com/ASPN/Coo.../Recipe/200638
http://aspn.activestate.com/ASPN/Coo.../Recipe/442482

http://effbot.python-hosting.com/bro...box/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/Coo...n/Recipe/52298

http://www.danbala.com/python/lpy/lpy.py.html
http://www.gnu.org/software/src-highlite/
Aug 24 '06 #4

P: n/a
On Mon, 2006-08-21 at 08:19 -0700, gene tani wrote:
fr*****@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
If I were to start a GUI editor project, I'd undoubtedly start by
looking at Scintilla:

http://www.scintilla.org/

Also see:
http://scintilla.sourceforge.net/ScintillaRelated.html

Regards,
Cliff
--

Aug 24 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.