summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 000a106)
raw | patch | inline | side by side (parent: 000a106)
author | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 2 Jun 2007 18:35:44 +0000 (14:35 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 6 Jun 2007 05:26:49 +0000 (01:26 -0400) |
Most source code files are under 9,999 lines of text, so using a
field width of 5 characters meant that we should have had one char
padding on the left edge (because we right-justify the line number).
Unfortunately when I added the right margin earlier (when I removed
the padding) I ate into the extra character's space, losing the left
margin. This put the line numbers too close to the commit column in
any file with more than 999 lines in it.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
field width of 5 characters meant that we should have had one char
padding on the left edge (because we right-justify the line number).
Unfortunately when I added the right margin earlier (when I removed
the padding) I ate into the extra character's space, losing the left
margin. This put the line numbers too close to the commit column in
any file with more than 999 lines in it.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/blame.tcl | patch | blob | history |
diff --git a/lib/blame.tcl b/lib/blame.tcl
index 1c3f5e985e0ecdbd6c7b297c870b1445fc5e2a6f..55617026836171c2be557b430d5949ed7d0fbe89 100644 (file)
--- a/lib/blame.tcl
+++ b/lib/blame.tcl
-state disabled \
-wrap none \
-height 40 \
- -width 5 \
+ -width 6 \
-font font_diff
$w_line tag conf linenumber -justify right -rmargin 5