summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 32f1b3e)
raw | patch | inline | side by side (parent: 32f1b3e)
author | Paul Mackerras <paulus@samba.org> | |
Thu, 4 Oct 2007 12:19:24 +0000 (22:19 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Thu, 4 Oct 2007 12:19:24 +0000 (22:19 +1000) |
When changing the selector for Exact/IgnCase/Regexp, we were getting
a Tcl error. This fixes it.
It also adds a workaround for a bug in alpha versions of Tk8.5 where
wordprocessor-style tabs don't seem to work properly around column 1.
Signed-off-by: Paul Mackerras <paulus@samba.org>
a Tcl error. This fixes it.
It also adds a workaround for a bug in alpha versions of Tk8.5 where
wordprocessor-style tabs don't seem to work properly around column 1.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index 01f5926916da4d0b69c12cd5bb46d61bb042dc72..35920abc7bd5f1680c7c102006e1f8e053c7f04a 100755 (executable)
--- a/gitk
+++ b/gitk
drawvisible
}
-proc findcom_change {} {
+proc findcom_change args {
global nhighlights mainfont boldnamerows
global findpattern findtype findstring gdttype
}
set w [font measure $textfont "0"]
if {$firsttabstop != 0} {
- $ctext conf -tabs [list [expr {$firsttabstop * $w}] \
- [expr {($firsttabstop + $tabstop) * $w}]]
+ $ctext conf -tabs [list [expr {($firsttabstop + $tabstop) * $w}] \
+ [expr {($firsttabstop + 2 * $tabstop) * $w}]]
} elseif {$have_tk85 || $tabstop != 8} {
$ctext conf -tabs [expr {$tabstop * $w}]
} else {