gitk: Remove the unused stopfindproc function
This was a hangover from before the "Files" and "Pickaxe" parts of the Find function were moved to the highlight facility in commit 60f7a7dc4904ba4baab44b70e2675a01e6172f54. It serves no useful purpose any more, so this removes it. Signed-off-by: Paul Mackerras <paulus@samba.org>
Paul Mackerras committed
Jul 4, 2007 at 22:41 UTC
d36d385efd89d79c9d1f95ab79849ff1478dc425
1 file changed
-19
gitk
-19
@@ -1786,7 +1786,6 @@ proc showview {n} {
1786
}
1787
unselectline
1788
normalline
1789
- stopfindproc
1789
if {$curview >= 0} {
1790
set vparentlist($curview) $parentlist
1791
set vdisporder($curview) $displayorder
@@ -3939,7 +3938,6 @@ proc findmatches {f} {
3938
proc dofind {{rev 0}} {
3939
global findstring findstartline findcurline selectedline numcommits
3940
3942
- stopfindproc
3941
unmarkmatches
3942
cancel_next_highlight
3943
focus .
@@ -4093,23 +4091,6 @@ proc findselectline {l} {
4091
}
4092
}
4093
4096
-proc stopfindproc {{done 0}} {
4097
- global findprocpid findprocfile findids
4098
- global ctext findoldcursor phase maincursor textcursor
4099
- global findinprogress
4100
-
4101
- catch {unset findids}
4102
- if {[info exists findprocpid]} {
4103
- if {!$done} {
4104
- catch {exec kill $findprocpid}
4105
- }
4106
- catch {close $findprocfile}
4107
- unset findprocpid
4108
- }
4109
- catch {unset findinprogress}
4110
- notbusy find
4111
-}
4112
-
4094
# mark the bits of a headline or author that match a find string
4095
proc markmatches {canv l str tag matches font} {
4096
set bbox [$canv bbox $tag]