[Sc-devel] *** Refactoring of "Document" class *** now committed [cross-platform implications]

Alberto de Campo decampo at iem.at
Mon Nov 19 12:33:22 PST 2007


OK, a suggestion how to fix this:

Since Document.listener should work (it should be platform independent)
and assuming there is always at least one window existing,
one could change Meta_Document:listener

//	*listener {
//		^allDocuments[this.prGetIndexOfListener];
//	}
	*listener {
		^allDocuments.first.class.prGetIndexOfListener;
	}

best, a

>>Hi Tom -
>>
>>That error, as you can probably tell, is happening as SC runs your
>>startup.rtf file. Try moving it out of the way temporarily - I'm sure
>>the lang will compile happily. The question is, what have I broken in
>>your startup.rtf?
>>
>>There is probably a call to some Document method in there. If you can
>>find out what command is causing the error (e.g. by commenting things
>>out) and let us know, we may be able to fix it straightforwardly. Feel
>>free to send me your startup.rtf offlist if you think that'll help.
>>
>>Dan
>
>Hi Dan, Tom,
>
>in my startup file, what fails is
>
>Document.listener;
>
>best, a
>
>>
>>2007/11/19, Tom Hall <scth at ludions.com>:
>>>  Hello Dan
>>>
>>>  I still am unable to build successfully.
>>>  Latest errors below.
>>>  Can anyone else reproduce this?
>>>
>>>  Regards
>>>
>>  > Tom
>
>--
>--
>Alberto de Campo
>Bergstrasse 59/33
>A-8020 Graz, Austria
>e-mail : decampo at iem.at
>--
>_______________________________________________
>Sc-devel mailing list
>Sc-devel at create.ucsb.edu
>http://www.create.ucsb.edu/mailman/listinfo/sc-devel


-- 
--
Alberto de Campo
Bergstrasse 59/33
A-8020 Graz, Austria
e-mail : decampo at iem.at
--


More information about the Sc-devel mailing list