Skip to content

Commit 76d64ca

Browse files
committed
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 <[email protected]>
1 parent 8f86339 commit 76d64ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2429,7 +2429,7 @@ proc makewindow {} {
24292429
$ctext tag conf msep -font textfontbold
24302430
$ctext tag conf found -back $foundbgcolor
24312431
$ctext tag conf currentsearchhit -back $currentsearchhitbgcolor
2432-
$ctext tag conf wwrap -wrap word
2432+
$ctext tag conf wwrap -wrap word -lmargin2 1c
24332433
$ctext tag conf bold -font textfontbold
24342434

24352435
.pwbottom add .bleft

0 commit comments

Comments
 (0)