The idea is that we want to establish good habits early. On the other
hand, we don't want to intimidate our very young students. Maybe each
teacher will have a different way of doing this, so I would like to
get some opinions.
--
You received this message because you are subscribed to the Google Groups "PyWhip" group.
To post to this group, send email to pyw...@googlegroups.com.
To unsubscribe from this group, send email to pywhip+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pywhip?hl=en.
I've added a #-hints: tag to our upload format. This isn't
implemented yet, but we will probably do something like add a "Hints"
button where the student can bring up suggestions like a list of
simpler exercises to practice before this one.
@Andre, We don't have much control over the EditArea widget, other
than toggling it ON or OFF. Maybe we should look for a more versatile
widget. You can zoom in or out using standard controls in your web
browser.
Sorry, that's not true. :-) I use EditArea for crunchy and there's
a whole slew of configuration options one might use.
Here's the code used for initializing EditArea on the PyKata site:
<script language="javascript" type="text/javascript">
editAreaLoader.init({
id: "code-area",
syntax: "python",
start_highlight: true,
allow_resize: "no",
font_size: 14,
toolbar: "new_document, |, help",
replace_tab_by_spaces: 4
});
</script>
Just to point out one example, allow_resize is set to "no", and the
tool bar has only two options.
And here's the one used in (an older version of) Crunchy (which I have
on my work computer):
<script type="text/javascript">
editAreaLoader.init({
id: "code_2:3",
font_size: "11",
allow_resize: "both",
allow_toggle: true,
language: "en",
toolbar: "new_document, save, load, |, fullscreen, |, search,
go_to_line, |, undo, redo, |, select_font, |, change_smooth_selection,
highlight, reset_highlight, |, help",
syntax: "python",
start_highlight: true,
load_callback:"my_load_file",
save_callback:"my_save_file",
display: "later",
replace_tab_by_spaces:4,
min_height: 150});</script>
Note that it is initialized so that it can be resized, and that the
toolbar selection includes a "font selector", for example.
Let's continue this discussion in another thread. Or you can file an
enhancement request at http://code.google.com/p/pykata/issues/list, and
we can continue in the comments to that issue.
> Andr�
>
>