Skip to content

Commit

Permalink
gitk: Indent word-wrapped lines in commit display header
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
paulusmack committed Jan 23, 2014
1 parent 8f86339 commit 76d64ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 76d64ca

Please sign in to comment.