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
Need more BracketChars settings in .syn files..
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
What about Keywords
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]
{}
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..
I totally agree.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
Re: What about Keywords
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.. =)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]
{}