Re: colorer 0.9.9 for eclipse and python

20 views
Skip to first unread message

Igor Russkih

unread,
Apr 26, 2013, 10:09:13 AM4/26/13
to Claudius Sailer, colorer
Hi Claudius,

I'm putting colorer group in cc since I'm not actively developing this project now.

Python uses tabulations to identify blocks. Thats quite tricky to support parsing of such constructions in colorer. But thats possible.

Similar logic is implemented in HAML syntax - check it out.

  Igor


On Fri, Apr 26, 2013 at 4:02 PM, Claudius Sailer <Claudiu...@lbbw.de> wrote:

Hello Igor,

I am testing at the moment your colorer with my eclipse installation kepler
M6. Everything looks fine and I was also able to make some changes for
sql.hrc and created new sqr.hrc, a language which we use here. I now had a
first look at python and there I have a question. Is it possible to get
command blocks as expandeble and collapsing blocks? I can't find a regex
which describes the python syntax. It would be great to get the
functionality collapsing and expanding source code by the block
functionality. I can see that it works with comments and () about several
codelines, but not with if, try, def and other language structures.

Do you have any help for me?


kind regards

Claudius Sailer

Landesbank Baden-Wuerttemberg
Anstalt des oeffentlichen Rechts
Hauptsitze: Stuttgart, Karlsruhe, Mannheim, Mainz
HRA 12704
Amtsgericht Stuttgart


Reply all
Reply to author
Forward
0 new messages