Sign in to follow this  
Followers 0
timmalos

Pygments and Autoit Coloration

6 posts in this topic

Hy Guys.

Before to start i want to say you I'm french and i don't speak very well english ;)

I don't know if you know about Pygments (http://pygments.org/).

The French Autoit Community (http://autoitscript.fr) is writing a tutorial about Autoit (In French of course) and a very nice french site for tutorials (http://siteduzero.com) uses the Pygments Coloration.

And of course Pygments don't know the Autoit Coloration language. However they say we can create an own lexer (http://pygments.org/docs/lexerdevelopment/) but i haven't the level to do this. (All in english first over) Moreover, I don't know how Scite does his coloration and maybe it could help.

Someone knows how to do?

Thx for help

Cheers,

Tim

Share this post


Link to post
Share on other sites



Noone? May you don't understand me?

Share this post


Link to post
Share on other sites

Unless there is a COM object or DLL for Pygments then I don't think you'll be getting far.

The only other suggestion I have is that you use Python to hook Pygments, sending the data to the stdout. Then use AutoIt to read this information using StdRead.

Share this post


Link to post
Share on other sites

In fact, it isn't a problem with Autoit. I juste want to be able to put into Pygments the Autoit Coloration.

They say in their site its possible:

Just after the list of supported langages :

... that's all?

Well, why not write your own? Contributing to Pygments is easy and fun. Lookhere for the docs on lexer development and here for contact details.

But i don't know how to do. It's Why i asked i the coloration in Scite could help me to success.

Thx,

Tim

Share this post


Link to post
Share on other sites

No of course i will try

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0