|Title:||New tag option -selectforeground|
|Submitter:||kjnash||Created on:||2007-07-24 23:07:30|
|Subsystem:||18. [text]||Assigned To:||fvogel|
|Status:||Closed||Last Modified:||2016-03-20 08:29:25|
|Closed on:||2016-03-20 08:29:25|
Existing tag options include -background color -foreground color -bgstipple bitmap -fgstipple bitmap To assist with syntax highlighting I would like this tag option: -selectforeground color For completeness these options could also be considered: -selectbackground color -selectbgstipple bitmap -selectfgstipple bitmap Widget Configuration Different colors are permitted for -foreground and -selectforeground in the widget configuration. Often the -foreground and -selectbackground colors are dark, and the -selectforeground color is white: the text color is inverted when text is selected. Tag Configuration Tag -foreground colors are widely used, e.g. for syntax highlighting, and it would aid readability when using a light -background and a dark -selectbackground (or vice versa) if the text color could be changed when it is selected.
fvogel added on 2016-03-20 08:29:25:
[http://tip.tcl.tk/443.html|TIP #443] ws accepted by TCT vote (but new stippling tag options were rejected). Now merged to core-8-6-branch and trunk.
fvogel added on 2016-03-08 21:35:53:
TIP #443 deals with this RFE.
fvogel added on 2016-01-08 08:10:37:
Patch: see .
fvogelnew1 added on 2012-01-05 19:42:20:
Patches related to this request are traced in item #3469780, i.e. here: https://sourceforge.net/tracker/index.php?func=detail&aid=3469780&group_id=12997&atid=312997
fvogelnew1 added on 2012-01-05 03:59:41:
I have cooked a patch for addition of the -selectbackground option to the tags feature. For some reason I can't attach it to this tracker, don't know why. Any advice?