Nestable background colors for Lisp code
Paulo Henrique Torrens <[email protected]> Mon, 4 Mar 2013 14:16:03 +0000
| Newsgroups | gmane.comp.gnu.source-highlight.general |
|---|---|
| Message-ID | <[email protected]> |
--===============0332788202904289875==
Content-Type: multipart/alternative;
boundary="_f0f59ded-877d-4d8b-8ab8-ed51b83c1581_"
--_f0f59ded-877d-4d8b-8ab8-ed51b83c1581_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi=2C
I have quickly made a code highlighter in PHP for a huge project (which han=
dles several programming languages=2C including some domain specific langua=
ges created for the project)=2C but it got too slow for big files (as expec=
ted=2C since I didn't put much effort)... but I don't have time to rewrite =
it taking care of speed.
So I am intending to migrate to source-highlight=2C which seemed a really g=
ood alternative=2C but I have a problem:
Here is a screenshot of a Common Lisp code highlighted by my code: http://i=
mg841.imageshack.us/img841/2706/capturadetela20130303s1.png
This would also be useful for for highlighting regexes' subexpressions.
I know I cannot achieve this result with source-highlight=2C but... are you=
open to some extensions to make such effect? Any suggestion for the syntax=
for the language files to make such a thing?
I could then write the patch=2C if necessary.
Thanks.
=
--_f0f59ded-877d-4d8b-8ab8-ed51b83c1581_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Hi=2C<br><div dir=3D"ltr"><br>I =
have quickly made a code highlighter in PHP for a huge project (which handl=
es several programming languages=2C including some domain specific language=
s created for the project)=2C but it got too slow for big files (as expecte=
d=2C since I didn't put much effort)... but I don't have time to rewrite it=
taking care of speed.<br><br>So I am intending to migrate to source-highli=
ght=2C which seemed a really good alternative=2C but I have a problem:<br><=
br>Here is a screenshot of a Common Lisp code highlighted by my code: <a hr=
ef=3D"http://img841.imageshack.us/img841/2706/capturadetela20130303s1.png" =
target=3D"_blank">http://img841.imageshack.us/img841/2706/capturadetela2013=
0303s1.png</a><br><br>This would also be useful for for highlighting regexe=
s' subexpressions.<br><br>I know I cannot achieve this result with source-h=
ighlight=2C but... are you open to some extensions to make such effect? Any=
suggestion for the syntax for the language files to make such a thing?<br>=
<br>I could then write the patch=2C if necessary.<br><br><br><br>Thanks.<br=
> </div> </div></body>
</html>=
--_f0f59ded-877d-4d8b-8ab8-ed51b83c1581_--
--===============0332788202904289875==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Help-source-highlight mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-source-highlight
--===============0332788202904289875==--