Yes, I like that best, too. I wonder how hard it would be to add this to Amber. jgfoster wrote
On May 10, 2019, at 8:53 AM, Christopher Fuhrman <
christopher.fuhrman@
> wrote:
On Fri, May 10, 2019, 15:32 Richard Kenneth Eng <
horrido.hobbies@
<mailto:
horrido.hobbies@
>> wrote:
So say many visitors to https://amber-lang.net/learn.html <https://amber-lang.net/learn.html>.
The problem is this: visitors are failing to read and comprehend the last instruction on the first page of the tutorial. The one that reads: Select the text below and click on the 'DoIt' button. ... How to fix this? How to avoid this PR nightmare? I can think of at least three easy solutions:
Change the button from "DoIt" to "do the selected text"
Change the first line to: Profstef next "(you must select this entire line of text.)"
But the best one might be: Catch the parse error and if it's a null, remind the user she must first select the text.
Some Smalltalk implementations auto-select the entire line if nothing is selected. I like that very much.
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html