Number: 1535

Date: 27-Jun-84 16':33':21

Submitter: Sannella.PA

Source: Feuerman.pasa

Subject: SHRINKing tedit window that hasn''t been saved to a file gives error

Assigned To: 

Attn: release

Status: Fixed


Problem Type: Bug

Impact: Serious

Difficulty: Easy

Frequency: Everytime

Priority: Absolutely

System: Text

Subsystem: TEdit



Lisp Version: 

Source Files: 

Microcode Version: 

Memory Size: 

File Server: 

Server Software Version: 


Description: '
Date': 25 Jun 84 09':08 PDT'
From': Feuerman.pasa'
Subject': TEdit': Shrinking to an Icon'
cc': Feuerman.pasa'
TEdit-System-Date': 24-May-84 17':31':57'
Lisp-System-Date':  4-Jun-84 00':43':25'
Machine-Type': Dandelion'
I like the new Icon that TEdit windows shrink to.  The only problem is that I did run into a small bug with it.  If the TEdit stream is not referring to a file (i.e., if you''ve just opened an empty window without saving it out to a file), SHRINKW breaks with an illegal argument NIL because it doesn''t have anything to label the icon with.  This of course brings up the question as to what label to come up with when the TEdit stream isn''t associated with a file.  May I suggest the first two words of the text.  If the stream consists only of an IMAGEOBJ, perhaps the word "IMAGE" could be the label.'
Perhaps all of this has already been worked out?'


Test Case: 

Edit-By: Sybalsky

Edit-Date: 18-Aug-84 11':40':38