--- a/TextView.st Fri Apr 26 15:28:21 2013 +0200
+++ b/TextView.st Fri Apr 26 15:28:29 2013 +0200
@@ -2581,19 +2581,19 @@
"/ for now, we do not support variable height entries ...
fontHeight := list first heightOn:self
] ifFalse:[
- fontHeight := font maxHeight max:(italicFont maxHeight max:(boldFont maxHeight)).
- "/ fontHeight := font height "maxHeight" max:(italicFont height "maxHeight" max:(boldFont height "maxHeight")).
+ "/ fontHeight := font maxHeight max:(italicFont maxHeight max:(boldFont maxHeight)).
+ fontHeight := font height "maxHeight" max:(italicFont height "maxHeight" max:(boldFont height "maxHeight")).
].
- "/ fontHeight := fontHeight + lineSpacing.
+ fontHeight := fontHeight + lineSpacing.
"/ fontAscent := font ascent "maxAscent" max:(italicFont ascent "maxAscent" max:(boldFont ascent "maxAscent")).
- "/ fA := font ascent.
- fA := font maxAscent.
+ fA := font ascent.
+ "/ fA := font maxAscent.
"/ fA := (font maxAscent + font ascent) // 2.
- "/ iA := italicFont ascent.
- iA := italicFont maxAscent.
+ iA := italicFont ascent.
+ "/ iA := italicFont maxAscent.
"/ iA := (italicFont maxAscent + italicFont ascent) // 2.
- "/ bA := boldFont ascent.
- bA := boldFont maxAscent.
+ bA := boldFont ascent.
+ "/ bA := boldFont maxAscent.
"/ bA := (boldFont maxAscent + boldFont ascent) // 2.
fontAscent := fA max:(iA max:bA).
fontWidth := font width.
@@ -4841,11 +4841,11 @@
!TextView class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.353 2013-04-26 12:53:56 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.354 2013-04-26 13:28:29 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.353 2013-04-26 12:53:56 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libwidg/TextView.st,v 1.354 2013-04-26 13:28:29 cg Exp $'
! !