Open GoogleCodeExporter opened 9 years ago
I wrote a first pass at syntax highlighting for Python.
The main "paintbrush.python.js" file is attached. I also added:
<script type="text/javascript"
src="scripts/paintbrush/paintbrush.python.js"></script>
to "application.html" and
doubleOrTripleQuotedString: (/("""[^"]*""")|("(?:\.|(\\\")|[^\""\n])*")/gm),
on line 121 of "paintbrush.js". Still missing a couple of details, but it works
well
for me.
Original comment by odwyerrob
on 7 Apr 2010 at 5:38
Attachments:
Original issue reported on code.google.com by
ch.zwerschke@gmail.com
on 17 Sep 2009 at 4:40