From: Paul Mackerras Date: Thu, 23 Jan 2014 11:06:22 +0000 (+1100) Subject: gitk: Indent word-wrapped lines in commit display header X-Git-Tag: v1.9-rc1~28^2 X-Git-Url: https://repo.or.cz/w/alt-git.git/commitdiff_plain/76d64ca6b5d33df59222e44194efbf92469815dc 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 --- diff --git a/gitk b/gitk index 94ea5ff912..90764e8948 100755 --- a/gitk +++ b/gitk @@ -2429,7 +2429,7 @@ proc makewindow {} { $ctext tag conf msep -font textfontbold $ctext tag conf found -back $foundbgcolor $ctext tag conf currentsearchhit -back $currentsearchhitbgcolor - $ctext tag conf wwrap -wrap word + $ctext tag conf wwrap -wrap word -lmargin2 1c $ctext tag conf bold -font textfontbold .pwbottom add .bleft