Page 1 of 1

Need more BracketChars settings in .syn files..

Posted: Tue Jun 03, 2003 1:49 pm
by FireEgl
I program in Tcl, and the BracketChars for Tcl are {} [] and (). Of course they all have different meanings.. And it's really confusing when they're all the same color and grouped together on the same line. I would like if there were other BracketChars settings in the .syn files.. For example I'd want to do:

BracketChars = {}
BracketChars2 = []
BracketChars3 = ()

That way, I can have them in different colors.

Thanks,
Philip

What about Keywords

Posted: Wed Jun 18, 2003 7:11 am
by Billi
Its just a small idea:

set one kind of bracket as bracket chars and define the other in two different keyword classes:

BracktChars= []
...

[Keywords 3]
()

[Keywords 3]
{}

Re: Need more BracketChars settings in .syn files..

Posted: Fri Jun 20, 2003 5:14 pm
by no.cache
FireEgl wrote:I program in Tcl, and the BracketChars for Tcl are {} [] and (). Of course they all have different meanings.. And it's really confusing when they're all the same color and grouped together on the same line. I would like if there were other BracketChars settings in the .syn files.. For example I'd want to do:

BracketChars = {}
BracketChars2 = []
BracketChars3 = ()

That way, I can have them in different colors.

Thanks,
Philip
I totally agree. Image

Re: What about Keywords

Posted: Sat Jun 21, 2003 12:35 am
by FireEgl
Billi wrote:Its just a small idea:

set one kind of bracket as bracket chars and define the other in two different keyword classes:

BracktChars= []
...

[Keywords 3]
()

[Keywords 3]
{}
Your suggestion doesn't work in TextPad.. You must'a been thinking of another editor that that would work on.. (whose name I won't mention here.. =)

Posted: Wed Sep 17, 2003 3:48 pm
by altan
This would be real nice.