[BUG]AttributedTextStream class(Object)>>error:

ken at kencausey.com ken at kencausey.com
Wed Jan 7 22:18:53 UTC 2004


In another thread from December entitled simply 'Scamper' Stephen Davies
reports that AttributedStream>>class new was removed with update 5503. 
Adding back the removed method with the text

  new
	^ super basicNew initialize

seems to fix the problem.

I reposted this primarily to make it clearer in BFAV and to seperate it
from another issue mentioned in the same thread.

Ken Causey

7 January 2004 4:15:14 pm

VM: unix - a SmalltalkImage
Image: Squeak3.7alpha [latest update: #5623]

AttributedTextStream class(Object)>>error:
	Receiver: AttributedTextStream
	Arguments and temporary variables: 
		aString: 	'Streams are created with on: and with:'
	Receiver's instance variables: 
		superclass: 	Stream
		methodDict: 	a MethodDictionary(#contents->a CompiledMethod (2962)
#currentAttri...etc...
		format: 	140
		instanceVariables: 	#('characters' 'attributeRuns' 'attributeValues'
'currentAtt...etc...
		organization: 	('retrieving the text' contents)
('stream protocol' nextPut: next...etc...
		subclasses: 	nil
		name: 	#AttributedTextStream
		classPool: 	nil
		sharedPools: 	nil
		environment: 	a SystemDictionary(lots of globals)
		category: 	nil

AttributedTextStream class(Stream class)>>new
	Receiver: AttributedTextStream
	Arguments and temporary variables: 

	Receiver's instance variables: 
		superclass: 	Stream
		methodDict: 	a MethodDictionary(#contents->a CompiledMethod (2962)
#currentAttri...etc...
		format: 	140
		instanceVariables: 	#('characters' 'attributeRuns' 'attributeValues'
'currentAtt...etc...
		organization: 	('retrieving the text' contents)
('stream protocol' nextPut: next...etc...
		subclasses: 	nil
		name: 	#AttributedTextStream
		classPool: 	nil
		sharedPools: 	nil
		environment: 	a SystemDictionary(lots of globals)
		category: 	nil

DHtmlFormatter(HtmlFormatter)>>initialize
	Receiver: a DHtmlFormatter
	Arguments and temporary variables: 

	Receiver's instance variables: 
		browser: 	nil
		baseUrl: 	nil
		formDatas: 	nil
		outputStream: 	nil
		preformattedLevel: 	nil
		indentLevel: 	nil
		boldLevel: 	nil
		italicsLevel: 	nil
		underlineLevel: 	nil
		strikeLevel: 	nil
		centerLevel: 	nil
		urlLink: 	nil
		listLengths: 	nil
		listTypes: 	nil
		precedingSpaces: 	nil
		precedingNewlines: 	nil
		morphsToEmbed: 	nil
		incompleteMorphs: 	nil
		anchorLocations: 	nil
		imageMaps: 	nil
		fontSpecs: 	nil

DHtmlFormatter class(Behavior)>>new
	Receiver: DHtmlFormatter
	Arguments and temporary variables: 

	Receiver's instance variables: 
		superclass: 	HtmlFormatter
		methodDict: 	a MethodDictionary(#decreaseFontBy:->a CompiledMethod
(3650) #endFo...etc...
		format: 	172
		instanceVariables: 	#('fontSpecs')
		organization: 	('formatting commands' decreaseFontBy: endFont:
endHeader: header...etc...
		subclasses: 	nil
		name: 	#DHtmlFormatter
		classPool: 	nil
		sharedPools: 	nil
		environment: 	a SystemDictionary(lots of globals)
		category: 	nil


--- The full stack ---
AttributedTextStream class(Object)>>error:
AttributedTextStream class(Stream class)>>new
DHtmlFormatter(HtmlFormatter)>>initialize
DHtmlFormatter class(Behavior)>>new
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DHtmlFormatter class(HtmlFormatter class)>>new
Scamper>>displayTextHtmlPage:
Scamper>>displayDocument:
Scamper>>step
Scamper(Object)>>stepIn:
Scamper(Object)>>stepAt:in:
SystemWindow>>stepAt:
StepMessage(MorphicAlarm)>>value:
WorldState>>runLocalStepMethodsIn:
WorldState>>runStepMethodsIn:
PasteUpMorph>>runStepMethods
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess {[[World doOneCycle.  Processor
yield.  false] whileFalse.  nil]}
[] in BlockContext>>newProcess {[self value.  Processor
terminateActive]}



More information about the Squeak-dev mailing list