Syntax colouring in WinEdit?

Paulo Soares psoares at consiste.pt
Wed Nov 10 12:01:15 EST 1999


I ended up doing my own colour file. Put the following text in a file
named winedit\system\syntax\py.clr and then associate the extension py
with it and the character '#' as a comment. It doesn't work with strings
of the type '''.

***Start of py.clr***
[COLORS]
;Colors for Keywords (=1, Quoted Strings, Comments
;Default test and backgrond defined in syntax coloring dialog
;Additional colors defined here


[KEYWORDS]
and=1
assert=1
break=1
class=1
continue=1
def=1
del=1
elif=1
else=1
except=1
exec=1
finally=1
for=1
from=1
global=1
if=1
import=1
in=1
is=1
lambda=1
not=1
or=1
pass=1
print=1
raise=1
return=1
try=1
while=1


Best Regards,
Paulo Soares
> -----Original Message-----
> From:	Paulo Soares 
> Sent:	Wednesday, November 10, 1999 11:56
> To:	python-list at python.org
> Subject:	Syntax colouring in WinEdit?
> 
> Does anyone has something to do python syntax colouring in WinEdit?
> 
> Best Regards,
> Paulo Soares
> 
> -- 
> http://www.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list