#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Sat, 10 Nov 2018 00:20:36 +0100
changeset 5950 756275df9939
parent 5949 10935e855698
child 5951 8d21b8a2c8cc
#REFACTORING by cg class: TerminalView added: #computePreferredExtent removed: #preferredExtent
TerminalView.st
--- a/TerminalView.st	Sat Nov 10 00:19:32 2018 +0100
+++ b/TerminalView.st	Sat Nov 10 00:20:36 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1998 by eXept Software AG
               All Rights Reserved
@@ -2637,14 +2639,7 @@
 
 !TerminalView methodsFor:'queries'!
 
-isKeyboardConsumer
-    "return true, if the receiver is a keyboard consumer;
-     Always return true here"
-
-    ^ true
-!
-
-preferredExtent
+computePreferredExtent
     "return my preferred extent - this is computed from my numberOfLines,
      numberOfCols and font size"
 
@@ -2652,8 +2647,14 @@
       @ 
       ((self heightForLines:self class defaultNumberOfLines) + 8)
 
-    "Modified: / 20-06-1998 / 20:06:57 / cg"
-    "Modified (format): / 16-11-2016 / 23:14:18 / cg"
+    "Created: / 09-11-2018 / 20:02:19 / Claus Gittinger"
+!
+
+isKeyboardConsumer
+    "return true, if the receiver is a keyboard consumer;
+     Always return true here"
+
+    ^ true
 !
 
 terminalType