git-gui: Add a search command to the blame viewer.
commitf10d5b064ae5c9bcd6e353211f128f5c4072ed4f
authorAlexander Gavrilov <angavrilov@gmail.com>
Fri, 3 Oct 2008 07:36:53 +0000 (3 11:36 +0400)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 10 Oct 2008 16:33:21 +0000 (10 09:33 -0700)
tree39d2118c15a9f8990d4d30b8e710c1f72088d47d
parentd4d992562e8c6d27ac584ff0907ff840030a98d9
git-gui: Add a search command to the blame viewer.

One of the largest deficiencies in the blame viewer at
the moment is the impossibility to search for a text
string. This commit fixes it by adding a Firefox-like
search panel to the viewer.

The panel can be shown by pressing F7 or clicking a
menu entry, and is hidden by pressing Esc. Find Next
is available through the F3 key.

Implementation is based on the gitk code, but heavily
refactored. It now also supports case-insensitive
searches, and uses the text box background color to
signal success or failure of the search.

Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh
lib/blame.tcl
lib/search.tcl [new file with mode: 0644]