projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b093448
)
gitk: Fix bug where page-up/down wouldn't always work properly
author
Paul Mackerras
<paulus@samba.org>
Fri, 19 May 2006 23:58:49 +0000
(09:58 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Fri, 19 May 2006 23:58:49 +0000
(09:58 +1000)
If the user pressed page up or page down and the new page wasn't
already drawn, we failed to select the line we wanted in the new
page. This fixes it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk
patch
|
blob
|
history
diff --git
a/gitk
b/gitk
index d59debf2f5bb8907cd77fb63f70aa59d6e856602..286f5cd5fd11a40a3f1013b4320acd73120dc561 100755
(executable)
--- a/
gitk
+++ b/
gitk
@@
-3429,6
+3429,7
@@
proc selnextpage {dir} {
set lpp 1
}
allcanvs yview scroll [expr {$dir * $lpp}] units
+ drawvisible
if {![info exists selectedline]} return
set l [expr {$selectedline + $dir * $lpp}]
if {$l < 0} {