On Sat, Apr 4, 2009 at 11:24 AM, Jesse Aldridge <[email protected]>wrote:

>
> I think the primary purpose of these examples is not so much learning
> as avoiding having to remember lots of details.  Whenever I want to do
> something, I'll hit a keyboard shortcut that opens up the examples
> doc, copy and paste the node closest to what I'm trying to do, and
> then modify it slightly for the specific task.  It feels kind of like
> throwing down a lump of clay and then sculpting it into shape. :)


I think this a good pattern.  Please add more example from the Scripting
chapter, and then to publish the result.

You could commit the file to bzr, say leo/scripts/examples.leo

Also, the newButtons plugin allows code templates.  This probably only works
for the tk gui now, but that's mostly a nit.  This plugin allows you to
defined code templates.  I encourage you to add your examples to that
plugin.

Edward

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to