<div dir="ltr">I was googling for a Pygment lexer for Scintilla and came across this message. But none of the links work anymore. And I can't find any LexerPygments in the qscintilla, pygments, eric4 or eric5 source code. <br>
What I did find is this:<br><a href="https://code.google.com/p/codimension/source/browse/trunk/src/editor/lexer/lexerpygments.py?spec=svn1598&r=1598">https://code.google.com/p/codimension/source/browse/trunk/src/editor/lexer/lexerpygments.py?spec=svn1598&r=1598</a><br>
<br>but I don't know whether this is the one you are talking about or a completely different one.<br><br>Where is LexerPygments.py now?<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 10, 2012 at 10:15 AM, Detlev Offenbach <span dir="ltr"><<a href="mailto:detlev@die-offenbachs.de" target="_blank">detlev@die-offenbachs.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am Dienstag, 10. Januar 2012, 10:48:14 schrieb Andrei Kopats:<br>
<div><div class="h5">> Hi,<br>
><br>
> I needed pygments QScintilla lexer for my project, and found your<br>
> LexerPygments implementation. The problem with it is that is is really<br>
> slow. For me, 10 % CPU load in idle, and 100% whey actively typing (tested<br>
> on Eric4 on Scheme source file)<br>
><br>
> Profer gave amazing results, parsing source with pygments and highlighting<br>
> is is really quick, 0.1 ms for my test source file, but, you detect file<br>
> language with pygments on  every iteration, and it takes 182 ms. If I don't<br>
> detect language every time, highlighting is really quick.<br>
><br>
> If you would like, you may check my implementation. Probably, you'll find<br>
> some other useful improvements, such as using QsciLexerCustom, or native<br>
> pygments styles.<br>
> <a href="https://github.com/hlamer/mksv3/blob/scheme/mks/plugins/lexerpygments.py" target="_blank">https://github.com/hlamer/mksv3/blob/scheme/mks/plugins/lexerpygments.py</a><br>
><br>
> Andrei Kopats<br>
> <a href="http://hlamer.github.com/mksv3/" target="_blank">http://hlamer.github.com/mksv3/</a><br>
<br>
</div></div>Hello Andrei,<br>
<br>
I'll check the your variant and will see how to improve my LexerPygments.<br>
Thanks for the hints.<br>
<br>
Regards,<br>
Detlev<br>
<span class="HOEnZb"><font color="#888888">--<br>
Detlev Offenbach<br>
<a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a><br>
_______________________________________________<br>
Eric mailing list<br>
<a href="mailto:Eric@riverbankcomputing.com">Eric@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/eric" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/eric</a><br>
</font></span></blockquote></div><br></div>