[BUG][FIX]TextMorph initializeRe: How to add slot for Scripting?

Karl Ramberg karl.ramberg at chello.se
Thu Apr 12 18:04:10 UTC 2001



Ned Konz wrote:
> 
> I've made changes to allow Scripting access to TextMorph
> font changes. But I can't get it to work.
> 
> Does anyone have any suggestions?
> 
> from preamble:
> 
> "Change Set:            TextMorphFontNumberInScripting-nk
> Date:                   12 April 2001
> Author:                 Ned Konz
> 
> This is an attempt to add Scripting access to TextMorph
> font changes.
> 
> However, despite the fact that I've changed this and done
> 
>         StandardScriptingSystem initialize
> 
> the new slot doesn't yet appear in the text category.

I don't understand these issues either. I have to admit, I have 
never understood TextMorph. I found a bug and fixed it while 
poking around, though.

It seems the slots for TextMorphs are held somewere else, this line 
does not show up either in the basic category

(basic (
(slot characters	'The characters in my contents' string	readWrite player
getCharacters player setCharacters:))))

Karl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TextMorph clas...itialize.st.gz
Type: application/octet-stream
Size: 349 bytes
Desc: Unknown Document
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010412/91a5f775/TextMorphclas...itialize.st.obj


More information about the Squeak-dev mailing list