From: Thomas Rast Date: Wed, 27 Nov 2013 19:16:13 GMT Subject: Re: [PATCH] gitk: make pointer selection visible in highlighted lines Message-ID: <871u21hczm.fsf@thomasrast.ch> In-Reply-To: <20131127180601.GA31211@wheezy.local> Max Kirillov writes: > Custom tags have higher priority than sel, and when they define > their own background, it makes selection invisible. Especially > inconvenient for filesep (to select filenames), but may aslo affect > other tags. > > Signed-off-by: Max Kirillov Nice. Tested-by: Thomas Rast > --- > gitk-git/gitk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gitk-git/gitk b/gitk-git/gitk > index 5cd00d8..9f350ab 100755 > --- a/gitk-git/gitk > +++ b/gitk-git/gitk > @@ -2385,6 +2385,7 @@ proc makewindow {} { > $ctext tag conf found -back $foundbgcolor > $ctext tag conf currentsearchhit -back $currentsearchhitbgcolor > $ctext tag conf wwrap -wrap word > + $ctext tag raise sel > > .pwbottom add .bleft > if {!$use_ttk} { -- Thomas Rast tr@thomasrast.ch