summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 69c0b5d)
raw | patch | inline | side by side (parent: 69c0b5d)
author | Paul Mackerras <paulus@samba.org> | |
Wed, 4 Jul 2007 12:41:19 +0000 (22:41 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Wed, 4 Jul 2007 12:41:19 +0000 (22:41 +1000) |
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>
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>
gitk | patch | blob | history |
index 767b0ed8b87d0a36f76adc004e3c2781781dbaa2..45e16e4fd5ebb6670b289a2cd4006a878c80df6c 100755 (executable)
--- a/gitk
+++ b/gitk
}
unselectline
normalline
- stopfindproc
if {$curview >= 0} {
set vparentlist($curview) $parentlist
set vdisporder($curview) $displayorder
proc dofind {{rev 0}} {
global findstring findstartline findcurline selectedline numcommits
- stopfindproc
unmarkmatches
cancel_next_highlight
focus .
}
}
-proc stopfindproc {{done 0}} {
- global findprocpid findprocfile findids
- global ctext findoldcursor phase maincursor textcursor
- global findinprogress
-
- catch {unset findids}
- if {[info exists findprocpid]} {
- if {!$done} {
- catch {exec kill $findprocpid}
- }
- catch {close $findprocfile}
- unset findprocpid
- }
- catch {unset findinprogress}
- notbusy find
-}
-
# mark the bits of a headline or author that match a find string
proc markmatches {canv l str tag matches font} {
set bbox [$canv bbox $tag]