TextView.st
changeset 6059 862a2c65691b
parent 5955 72e55279ce07
child 6084 495039449826
child 6085 4ecbe3a93aec
--- a/TextView.st	Tue Jan 24 23:17:27 2017 +0100
+++ b/TextView.st	Tue Jan 24 23:24:05 2017 +0100
@@ -3135,11 +3135,9 @@
 
     (leftMargin ~~ 0) ifTrue:[
         viewOrigin x <= margin ifTrue:[
-            self paint:color.
-            self fillRectangleX:margin-viewOrigin x
-                              y:(self yOfVisibleLine:visLine)- (lineSpacing//2)
-                          width:leftMargin
-                         height:fontHeight
+            gc paint:color.
+            gc fillRectangleX:(margin-viewOrigin) x y:(self yOfVisibleLine:visLine)- (lineSpacing//2)
+               width:leftMargin height:fontHeight
         ]
     ]