threads / discuss / 48753

gitk selection color not persistent

Subject: gitk selection color not persistent

## tl;dr

One message between Jun 21, 2018 and Jun 21, 2018.

replies: 0people: 1as markdown or json

mjanes@jw.org· Jun 21, 2018, 14:48 UTC · lore

Dear git community, Is it possible please for the gitk selection color setting to be persistent? Since 2015 the below approach has been working for me. Thank you for considering! Mychael

--- a/gitk
+++ b/gitk
@@ -2409,6 +2409,7 @@ proc makewindow {} {
     text $ctext -background $bgcolor -foreground $fgcolor \
 	-state disabled -undo 0 -font textfont \
 	-yscrollcommand scrolltext -wrap none \
+	-selectbackground $selectbgcolor -selectforeground $fgcolor \
 	-xscrollcommand ".bleft.bottom.sbhorizontal set"
     if {$have_tk85} {
 	$ctext conf -tabstyle wordprocessor

← back to recent threads