gitk: Indent word-wrapped lines in commit display header
In the cases where the lines starting with Precedes:, Follows: and Branches: in the commit display are long enough to be word-wrapped, this adds a 1cm margin on the left of the wrapped lines, to make the display more readable. Suggested by Stephen Rothwell. Signed-off-by: Paul Mackerras <paulus@samba.org>
Paul Mackerras committed
Jan 23, 2014 at 22:06 UTC
76d64ca6b5d33df59222e44194efbf92469815dc
1 file changed
+1
-1
gitk
+1
-1
@@ -2429,7 +2429,7 @@ proc makewindow {} {
2429
$ctext tag conf msep -font textfontbold
2430
$ctext tag conf found -back $foundbgcolor
2431
$ctext tag conf currentsearchhit -back $currentsearchhitbgcolor
2432
- $ctext tag conf wwrap -wrap word
2432
+ $ctext tag conf wwrap -wrap word -lmargin2 1c
2433
$ctext tag conf bold -font textfontbold
2434
2435
.pwbottom add .bleft