#DOCUMENTATION
authorClaus Gittinger <cg@exept.de>
Fri, 25 Mar 2016 16:54:13 +0100
changeset 7232 316a6bdc26a7
parent 7230 71910d55d08c
child 7233 65e40c2485b5
#DOCUMENTATION class: SimpleView comment/format in: #containerUnmapped #invalidate #invalidate: changed: #iconInBrowserSymbol
SimpleView.st
--- a/SimpleView.st	Thu Mar 24 20:21:28 2016 +0100
+++ b/SimpleView.st	Fri Mar 25 16:54:13 2016 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1989 by Claus Gittinger
 	      All Rights Reserved
@@ -6037,15 +6035,15 @@
 
 containerUnmapped
     "my container was unmapped
-     - this implies that the recevier is now also unmapped."
+     - this implies that the receiver is now also unmapped."
 
     "/ if I was previously shown, tell it to all of
     "/ my subviews (they remember this in the shown instVar)
 
     realized ifTrue:[
-	shown ifTrue:[
-	    self unmapped
-	]
+        shown ifTrue:[
+            self unmapped
+        ]
     ]
 
     "Modified: 30.5.1996 / 11:41:25 / cg"
@@ -10331,38 +10329,38 @@
 !
 
 invalidate
-    "add a damage to redraw the recevier to its input event queue.
+    "add a damage to redraw the receiver to its input event queue.
      This is preferable to calling redraw directly, in that the drawing is done by
      the views process itself, and there is a possibilty to merge
      multiple damage rectangles into single redraws.
      However, be aware, that the redrawing may be delayed for some time,
-     until the receivers windowGroupProcess gets rescheduled."
+     until the receiver's windowGroupProcess gets rescheduled."
 
     shown ifFalse:[
-	"/ no need to add damage - will get a full-redraw anyway,
-	"/ when I will be shown again.
-	^ self
+        "/ no need to add damage - will get a full-redraw anyway,
+        "/ when I will be shown again.
+        ^ self
     ].
     self
-	invalidateDeviceRectangle:(Rectangle left:0 top:0 width:width height:height)
-	repairNow:false
+        invalidateDeviceRectangle:(Rectangle left:0 top:0 width:width height:height)
+        repairNow:false
 
     "Modified: / 9.11.1998 / 21:04:16 / cg"
 !
 
 invalidate:aRectangle
-    "add a damage to redraw part of the recevier, to its input event queue.
+    "add a damage to redraw part of the receiver, to its input event queue.
      This is preferable to calling redraw directly,
      in that the drawing is done by the views process itself,
      and there is a possibilty to merge multiple damage rectangles into
      single redraws.
      However, be aware, that the redrawing may be delayed for some time,
-     intil the receivers windowGroupProcess gets rescheduled."
+     intil the receiver's windowGroupProcess gets rescheduled."
 
     shown ifFalse:[
-	"/ no need to add damage - will get a full-redraw anyway,
-	"/ when I will be shown again.
-	^ self
+        "/ no need to add damage - will get a full-redraw anyway,
+        "/ when I will be shown again.
+        ^ self
     ].
     self invalidate:aRectangle repairNow:false