git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] gitk: Better highlighting of search results
@ 2012-09-22  7:40 Stefan Haller
  2012-09-22  7:40 ` [PATCH 1/2] gitk: Highlight current search hit in orange Stefan Haller
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stefan Haller @ 2012-09-22  7:40 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: git

Here's something that has been bugging me for a long time: when using
the incremental search feature, it's hard to tell what happens when
clicking the Search button (or type Ctrl-S) repeatedly. It does have
the concept of a "current" search hit, and Ctrl-S advances to the next
one; however, you can't see it because all search hits are highlighted
in the same way (yellow). So when there are multiple hits visible on
the current page, it will at some point scroll down to reveal more
hits, but it's impossible to predict when this will happen.

To improve this, we highlight the current search in orange and the
other ones in yellow (like Chrome does it when you search on a Web
page).

Needs to go on top of the recent "Synchronize highlighting in file view
when scrolling diff" patch, v3.

[PATCH 1/2] gitk: Highlight current search hit in orange
[PATCH 2/2] gitk: Highlight first search result immediately on incremental search

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-23  7:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-22  7:40 [PATCH 0/2] gitk: Better highlighting of search results Stefan Haller
2012-09-22  7:40 ` [PATCH 1/2] gitk: Highlight current search hit in orange Stefan Haller
2012-09-22  7:40 ` [PATCH 2/2] gitk: Highlight first search result immediately on incremental search Stefan Haller
2012-09-23  6:59 ` [PATCH 0/2] gitk: Better highlighting of search results Paul Mackerras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).