summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 38ec8d3)
raw | patch | inline | side by side (parent: 38ec8d3)
author | Pat Thoyts <patthoyts@users.sourceforge.net> | |
Wed, 27 Oct 2010 22:37:31 +0000 (23:37 +0100) | ||
committer | Pat Thoyts <patthoyts@users.sourceforge.net> | |
Wed, 27 Oct 2010 22:37:31 +0000 (23:37 +0100) |
The Tk text widget tab style is tabular where the first tab will align to
the first tabstop and if that position is left of the current location
then just a single character space is used. With the wordprocessor style
a tab moves the next character position to the next rightmost tabstop
as expected for viewing code.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
the first tabstop and if that position is left of the current location
then just a single character space is used. With the wordprocessor style
a tab moves the next character position to the next rightmost tabstop
as expected for viewing code.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
git-gui.sh | patch | blob | history |
diff --git a/git-gui.sh b/git-gui.sh
index 5e8378fc3e4af9854f0063cd5df8ddfdf78ab412..efbc446d674433980cf7910006a8f6736e32039e 100755 (executable)
--- a/git-gui.sh
+++ b/git-gui.sh
-xscrollcommand {.vpane.lower.diff.body.sbx set} \
-yscrollcommand {.vpane.lower.diff.body.sby set} \
-state disabled
+catch {$ui_diff configure -tabstyle wordprocessor}
${NS}::scrollbar .vpane.lower.diff.body.sbx -orient horizontal \
-command [list $ui_diff xview]
${NS}::scrollbar .vpane.lower.diff.body.sby -orient vertical \