Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004788 [Squeak] Kernel minor always 09-09-06 13:08 09-09-06 13:08
Reporter Krivanek View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 3.10
Summary 0004788: [KernelImageOverride] TranscriptStream open
Description TranscriptStream >> open

original:

open
    | openCount |
    openCount _ 0.
    self dependents do:
        [:d | ((d isKindOf: PluggableTextView) or:
            [d isKindOf: PluggableTextMorph]) ifTrue: [openCount _ openCount + 1]].
    openCount = 0
        ifTrue: [self openLabel: 'Transcript']
        ifFalse: [self openLabel: 'Transcript #' , (openCount+1) printString]

override:

open
    | openCount |
    openCount := 0.
    
    openCount := openCount + self dependentsCount.
    
    openCount = 0
        ifTrue: [self openLabel: 'Transcript']
        ifFalse: [self openLabel: 'Transcript #' , (openCount+1) printString]


dependent on PluggableTextView and PluggableTextMorph. Mabye we should special testing message that wil identify that kind of dependent objects (something like isUIDependent, isOpendedDependent or so...)
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
09-09-06 13:08 Krivanek New Issue


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
27 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker