in reply to Tk configuration

in perl, comments start with '#', not with '//',

in order to do text colors in Text widgets, you should create tags with proper attributes and then insert into your widget.
this is really easy, you just need to look into sample code.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.