Re: Blog post about valuespace up on leo-editor.github.io

2013-05-13 Thread gatesphere
Looks really interesting, Ville! Thanks for sharing, looking forward to diving in. I'm thinking of some uses for in a rulebook and a few blog posts I'm writing right now. Being able to have my document be executable seems awesome. -->Jake On Tuesday, May 14, 2013 4:15:12 AM UTC+8, Ville M

Re: Blog post about valuespace up on leo-editor.github.io

2013-05-13 Thread HaveF
Thanks! Although it beyond my current requirements, maybe, I need to read valuespace_example.leo to find more typical usage. On Tuesday, May 14, 2013 4:15:12 AM UTC+8, Ville M. Vainio wrote: > > This one is not "exhaustive", but in the interest of time management, I > decided to push it as is.

Re: Adding things to the 'File' menu from a plugin?

2013-05-13 Thread Fidel Pérez
Search for @menus within the settings file. You will find that withn the 4rth/5th result. On Monday, May 13, 2013 10:23:47 PM UTC+2, Jacob Peck wrote: > > Hello all, > > How do I add menu items to the File menu from a plugin? I ask because > I'm working on a printing plugin. It works so far, b

Re: Blog post about valuespace up on leo-editor.github.io

2013-05-13 Thread Matt Wilkie
Thank you so much Ville. That looks awesomely powerful. And I have a use for the json slurper right now! I can't wait to try it out. -matt On Mon, May 13, 2013 at 1:15 PM, Ville M. Vainio wrote: > This one is not "exhaustive", but in the interest of time management, I > decided to push it as

Adding things to the 'File' menu from a plugin?

2013-05-13 Thread Jacob Peck
Hello all, How do I add menu items to the File menu from a plugin? I ask because I'm working on a printing plugin. It works so far, but I'd like some deeper level of integration. The commands are currently only accessible via alt-x, and most people are used to using menus when printing. I'

Blog post about valuespace up on leo-editor.github.io

2013-05-13 Thread Ville M. Vainio
This one is not "exhaustive", but in the interest of time management, I decided to push it as is. I'll blog about more features later on. http://leo-editor.github.io/valuespace-intro.html Hope it already helps alleviate the mystery of what it's all about :) -- You received this message because

Re: [Merge] lp:~maphew/leo-editor/pypi-packaging into lp:leo-editor

2013-05-13 Thread Matt Wilkie
okay, thanks for the illumination. :) -matt -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send e

Re: update about Leo google group

2013-05-13 Thread Matt Wilkie
Wierd. I looked around in the management settings of a group I created and don't see any place to get at the website field. Name, description, email, primary language, ... no problem. Looks like we're not alone in this confusion either: http://webapps.stackexchange.com/questions/43305/change-public

Re: Deleting all childs of a node

2013-05-13 Thread Fidel Pérez
As per learning xml parser in python, I appreciate the suggestion and will do that, but right now Im just too bussy just learning Leo :) Im doing this also as an exercice to learn Leo functionalities and familiarize myself with it, and on the way there im also making a guide I would like to have

Re: Deleting all childs of a node

2013-05-13 Thread Fidel Pérez
Thank you both for the answers and clarifications (Terry). Everything was very useful. Edward: Yes, im trying the following code without success: thelist=p.subtree() > for p in thelist: > g.es(p) > p.deletePositionsInList(thelist) > c.redraw() Also tried several variations but cant get it

Re: Deleting all childs of a node

2013-05-13 Thread Terry Brown
On Sun, 12 May 2013 23:52:20 -0700 (PDT) Fidel Pérez wrote: > I already tried (in several ways) to go to the "childest" child and delete > it, then go up, delete, etc, but after the first "childest child" deletion, > when trying to delete its brothers with the iteration, Leo wont work as I > w

Re: [Merge] lp:~maphew/leo-editor/pypi-packaging into lp:leo-editor

2013-05-13 Thread Terry Brown
On Sun, 12 May 2013 22:49:28 -0700 Matt Wilkie wrote: > Thanks Terry! That got me out of the hole. > > Was the mistake I made merging from `trunk` into `pypi-packaging` instead > of the other way around? Yes, all the new stuff in the 'from' branch becomes one revision (with subrevisions) in the

Re: Deleting all childs of a node

2013-05-13 Thread Edward K. Ream
On Mon, May 13, 2013 at 1:59 AM, Fidel Pérez wrote: > Well thinking further, the only think I would *really* need is to find a > way to keep a reference to nodes which lasts through changes in the trees, > and if not possible for all of the nodes, at least for two of them, the > node which begins

Re: Cant find information about insertaslastchild()

2013-05-13 Thread Edward K. Ream
On Mon, May 13, 2013 at 7:11 AM, Jacob Peck wrote: > > > Here's insertAsLastChild for you: > > > http://leo-editor.readthedocs.org/en/latest/leo.core.html#leo.core.leoNodes.position.insertAsLastChild > There is an important distinction that you should know about. The commander (c) methods take

Re: update about Leo google group

2013-05-13 Thread Edward K. Ream
On Sat, May 11, 2013 at 9:58 PM, ne1uno wrote: > http://groups.google.com/group/leo-editor/about > still has the old home page > webpages.charter.net > Thanks for this. At present, I don't see any way to change the old home page! Anyone know how? Edward -- You received this message because

Re: Cant find information about insertaslastchild()

2013-05-13 Thread Jacob Peck
A recent project of mine was to get a decently-large subset of the Leo API autodocumented online. You can find the docstrings and code of most of Leo's API at http://leo-editor.readthedocs.org/, updated nightly. I say most because there a few plugins which aren't documenting themselves at the

Re: Cant find information about insertaslastchild()

2013-05-13 Thread Fidel Pérez
Found it: > Leopyref.leo On Monday, May 13, 2013 10:12:53 AM UTC+2, Fidel Pérez wrote: > > Hi: > I have gone through all those Leo files searching for "insertaslastchild" > and only found it used over and over, but couldnt get to the definition or > any explanation on how it works (or similar

Cant find information about insertaslastchild()

2013-05-13 Thread Fidel Pérez
Hi: I have gone through all those Leo files searching for "insertaslastchild" and only found it used over and over, but couldnt get to the definition or any explanation on how it works (or similar useful functions). scripts.leo > leodocs.leo > leosettings.leo > leopluggins.leo Where can I find