laurent laffont wrote:
2010/1/15 Mariano Martinez Peck <marianopeck@gmail.com>
2010/1/15 laurent laffont <laurent.laffont@gmail.com>
which I converted in a workspace. I used ShoutWorkspace for that because you have colors and is nicer :)
Totally stupid question: how can I change the text inside a ShoutWorkspace once it's opened ?
Maybe my answer is more stupid than your question ;)
I think I don't understand.
To display each lesson I use PluggableTextMorph#setText:
(You can take a look at LessonView#open and LessonView#showLesson)
I haven't found a such method in Workspace.
On squeaksource I have committed a version which use PluggableShoutMorph, so now I have syntax highlighting.
Cheers,
Laurent
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Did you mean something like (Workspace new contents: ('red text' asText addAttribute: (TextColor color: Color green)); embeddedInMorphicWindowLabeled: 'Welcome to Pharo') position: 100@100 ; width: 200; height: 500; openInWorld ...? Stan -- View this message in context: http://n2.nabble.com/Smalltalk-interactive-tutorial-in-good-English-tp439933... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.