473,320 Members | 1,991 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Python Syntax Highlighting Module

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
4 2650
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

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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: dmbkiwi | last post by:
I am new to this group, and relatively new to python programming, however, have encountered a problem I just cannot solve through reading the documentation, and searching this group on google. I...
8
by: Bo Peng | last post by:
Dear list, I am writing a Python extension module that needs a way to expose pieces of a big C array to python. Currently, I am using NumPy like the following: PyObject* res =...
43
by: Mladen Adamovic | last post by:
Hi! I wonder which editor or IDE you can recommend me for writing Python programs. I tried with jEdit but it isn't perfect.
12
by: Thomas Bartkus | last post by:
Does anyone use emacs together with both WordStar key bindings and python mode? I'm afraid that Wordstar editing key commands are burned R/O into my knuckles! I would like to play with emacs...
8
by: Jason Jiang | last post by:
Hi, Could someone recommend a good Python editor? Thanks. Jason
29
by: dbhbarton | last post by:
Had a thought that's grown on me. No idea if it's original or not- too inexperienced in programming- but I guess there's no harm floating it out there. Python wins big on readability, and...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.