np, i will have a look this weekend. I don't know exactly how to create emphasis, but Text and TextStream look likely. Look at class references and you will get some examples. Also senders of asText (152!), and surrounding protocol. I don't know how you integrate these into the workspace though. I'm sure there is an example somewhere. cheers, Mike 2010/1/15 Mariano Martinez Peck <marianopeck@gmail.com>:
Michael: I will put some welcome workspaces in the next PharoDev. I also have the same problem with the English. I would also like to put italics and bold, but I have no idea how to do it.
If you want to check what I wrote, would be really cool as I plan to do the next dev image during the weekend.
If you are willing to do it:
Gofer new    squeaksource: 'ImageForDevelopers';    package: 'ImageForDevelopers-pharo';    load.
And look for the class side methods of DEVImageWorkspaces !!!
Thanks for any feedback.
Mariano
On Fri, Jan 15, 2010 at 10:18 PM, Michael Roberts <mike@mjr104.co.uk> wrote:
hey this is really neat!
I can offer you some corrections or perhaps suggestions for better phrasing. Â just my native 2p if it helps.
As a general comment, i know it would be more work, if you could get some emphasis e.g bold, italics it would really make the expressions and names of classes or methods stand out.
---Welcome--- I suppose you have called me to learn Smalltalk. --> You must want me to help you learn Smalltalk!
---Doing vs printing--- You've just executed a Smalltalk instruction --> You've just executed a Smalltalk expression
---Doing vs printing 2--- It's a Do It which print the result --> It's a Do It which prints the result
---basic types numbers--- you know how to execute Smalltalk code --> you now know how to execute Smalltalk code
---basic types characters--- A Character can be instanciated --> A Character can be instantiated
--basic types string--- Use single quotes to create a String instance --> Use single quotes to create a String.
---basic types dynamic array--- Dynamic Array are created at execution time: --> Dynamic Arrays are created at execution time:
---unary messages--- Unary messages have the following form: Â Â anObject aMethod name --> anObject aMethodName
--keyword messages-- The message is between:and: sent to Number object --> The message is between:and: sent to the Number 4
---message syntax: execution order--- Between similar messages, expressions are executed from left to right --> Between messages of similar precedence, expressions are executed from left to right
---parentheses--- Use parentheses to change order --> Use parentheses to change order of evaluation
---mathematical precedence--- A message does not know mathematical precedence. Simplicity has a price :) --> (rephrase ?) Traditional precedence rules from mathematics do not follow in Smalltalk. Â The simplicity has a price ;) It might surprise you that precedence rules you know from mathematics do not apply here. Â This has a price as you can see...
---conditionals--- Conditionals are just message sent to Boolean objects --> Conditionals are just messages sent to Boolean objects
---loops--- Loops are messages send to collections, high-level iterators --> Loops are messages sent to collections, high-level iterators
---iterators--- Here we want to print all the numbers of the Transcript (a console) --> Here we want to print all the numbers on the Transcript (a console)
---() vs []--- --> I know what you are trying to articulate here, but this page doesn't really work since your 'annotation' is not syntactic and therefore your learning style breaks. pehaps have a think about this slide
cheers Mike
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project