Re: On the subject of Nav...

2010-11-23 Thread Rob Sheppard
On Sat, Nov 20, 2010 at 7:20 PM, Terry Brown terry_n_br...@yahoo.com wrote: Done on the trunk: Thank you! Nice, I go away for a couple of days and get to come back to this bit of good news. You just saved me about a million extra clicks over the course of the next few years... :) RobS --

Re: On the subject of Nav...

2010-11-20 Thread Rob Sheppard
On Fri, Nov 19, 2010 at 2:12 PM, Ville M. Vainio vivai...@gmail.com wrote: On Fri, Nov 19, 2010 at 9:01 PM, Terry Brown terry_n_br...@yahoo.com wrote: ICYDK: if the Nav expression starts with r: the r: is ignored and the rest is treated as a regular expression. ICYDK 2: searching for m

how to export body text for node + children

2010-11-19 Thread Rob Sheppard
Is there an easy way to export all the body text in outline order, starting at the selected node (without any headlines or outline structure). Just the body text, ideally each node separated by a blank line? I'm experimenting with exporting a flattened outline, but then I get all the node

Re: how to export body text for node + children

2010-11-19 Thread Rob Sheppard
On Fri, Nov 19, 2010 at 10:15 AM, Ville M. Vainio vivai...@gmail.com wrote: Using @nosent provides a handy way to do this, if exporting it on every save is not a big deal. You can also use @nosent temporarily. A command to simulate @nosent for arbitrary node would be nice. -- Ville M.

On the subject of Nav...

2010-11-19 Thread Rob Sheppard
I think the Nav tab is great. I use it exclusively when I need to find stuff in an outline. But I have one minor nit to pick. My apologies if this has already been brought up. Is there any way we can have the cursor/focus go immediately into the text input box as soon as one clicks the Nav

Re: how to export body text for node + children

2010-11-19 Thread Rob Sheppard
On Fri, Nov 19, 2010 at 11:35 AM, Edward K. Ream edream...@gmail.com wrote: On Fri, Nov 19, 2010 at 11:33 AM, Edward K. Ream edream...@gmail.com wrote: I suspect less than 20 lines of Python code should be able to do this.  Something like:    for p in all_unique_positions():       output

Re: how to export body text for node + children

2010-11-19 Thread Rob Sheppard
On Fri, Nov 19, 2010 at 11:53 AM, Rob Sheppard r...@cybershep.net wrote: On Fri, Nov 19, 2010 at 11:35 AM, Edward K. Ream edream...@gmail.com wrote: On Fri, Nov 19, 2010 at 11:33 AM, Edward K. Ream edream...@gmail.com wrote: I suspect less than 20 lines of Python code should be able to do

Re: wondering about rich text

2010-11-09 Thread Rob Sheppard
On Tue, Nov 9, 2010 at 8:42 AM, Edward K. Ream edream...@gmail.com wrote: There is an @button node in LeoDocs.leo that will also show the formatted rST for the selected node.  At present, it works only for Python 2k, because it uses ux.  Here is the corrected version:    

Re: Link locations not displayed when doing rst-preview

2010-11-09 Thread Rob Sheppard
On Tue, Nov 9, 2010 at 12:46 PM, Ville M. Vainio vivai...@gmail.com wrote: I recommend trying viewrendered plugin instead. Wow, another hidden gem. Works great for me. I just wish it was documented. I don't even see it in the list of available plugins (except now I see it in leoPlugins.leo,

wondering about rich text

2010-11-08 Thread Rob Sheppard
There was some discussion several months ago about adding a wysiwyg rich text editor window, and I believe Ville did some experimenting with his stickynote plugin. I may have missed some of the discussion because I've been out of the loop for a while, but a search in the google group showed me

Re: Revisions to Leo's Users Guide

2010-10-26 Thread Rob Sheppard
Just in case you've overlooked this... You mentioned earlier that you were going to purge @root from the docs. But, there's a FAQ called Which should I use: @root trees or @thin trees?, and it makes @root sound more desirable than @thin if one is willing to learn how to use it. RobS -- You

Command to create section node?

2010-10-24 Thread Rob Sheppard
I thought something like this was possible, but now I'm not finding it in the docs. Say I want to create a section, so I type somename in the body of my node. Now, is there a command to create a child node with the headline set to the somename section name I just typed? RobS -- You

Re: Command to create section node?

2010-10-24 Thread Rob Sheppard
On Sun, Oct 24, 2010 at 7:59 PM, Rob Sheppard r...@cybershep.net wrote: I thought something like this was possible, but now I'm not finding it in the docs. Say I want to create a section, so I type somename in the body of my node.  Now, is there a command to create a child node

SQL syntax coloring/highlighting

2010-10-23 Thread Rob Sheppard
I noticed the @language SQL directive doesn't do anything, and sql is not listed as a supported language in the Leo reference. Not long ago I remember reading that one of you guys use Leo to manage a bunch of SQL queries. How do you get highlighting, or do you live without? RobS -- You

Re: myLeoSettings

2010-10-22 Thread Rob Sheppard
On Fri, Oct 22, 2010 at 3:51 PM, Graham Chiu compkar...@gmail.com wrote: Hi Is there a minimalist myLeoSettings.leo file anywhere that I can download? I didn't have one so I just copied the Settings.leo file and renamed it ... but obviously that is a bit redundant. I did get the stickynotes

Re: myLeoSettings

2010-10-22 Thread Rob Sheppard
On Fri, Oct 22, 2010 at 3:51 PM, Graham Chiu compkar...@gmail.com wrote: I did get the stickynotes plugin working that way, but couldn't do the same with th...@string initial_split_orientation = horizontal directive Sorry, forgot to mention, I have @string initial_split_orientation = horizontal

Re: Mis-handling of mod_autosave interval parameter

2010-10-19 Thread Rob Sheppard
On Sat, Sep 4, 2010 at 8:29 AM, Edward K. Ream edream...@gmail.com wrote: On Sep 4, 6:44 am, Edward K. Ream edream...@gmail.com wrote: The mod_autosave_active setting is redundant: the plugin is active only if a) the plugin is enabled in an @enabled-plugins node and b) @bool

Re: Mis-handling of mod_autosave interval parameter

2010-10-19 Thread Rob Sheppard
On Tue, Oct 19, 2010 at 7:42 PM, Edward K. Ream edream...@gmail.com wrote: On Tue, Oct 19, 2010 at 10:16 AM, Rob Sheppard r...@cybershep.net wrote: [snip]  File C:\Leo\Trunk\leo\plugins\mod_autosave.py, line 97, in onIdle    last = d.get('last') AttributeError: 'NoneType' object has

Re: Vote for bugs you urgently want fixed

2009-12-20 Thread Rob Sheppard
Edward K. Ream wrote, On 12/18/2009 9:14 AM: Per a recent suggestion, please vote here if there is a bug at https://bugs.launchpad.net/leo-editor/+bugs that is causing you *severe* and *practical* discomfort. Please don't list your priorities: they won't be useful, but if there is

Re: added Delete to context menu...

2009-12-05 Thread Rob Sheppard
Terry Brown wrote, On 12/3/2009 12:50 PM: ...which highlights the fact the the context menu commands can handle multiple selected nodes Thanks for adding this, great idea, but it's behaving strangly for me. I wonder if anyone else is seeing this... If I create 4 nodes, all at the root level

RE: Pls invite me to be a google wave tester :-)

2009-11-01 Thread Rob Sheppard
Original Message Subject: Re: Pls invite me to be a google wave tester :-) From: Matt Wilkie map...@gmail.com Date: Sun, November 01, 2009 12:44 am To: leo-editor@googlegroups.com I have a dozen invitations to give out. Still need one? anyone else? -matt I'd like

Re: Getting leo to work

2009-10-30 Thread Rob Sheppard
Sam wrote, On 10/30/2009 1:27 PM: Downloaded and installed http://www.python.org/ftp/python/2.5.4/python-2.5.4.amd64.msi python 2.5 in C:\python25 Downloaded and installed http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-Py2.5-gpl-4.4.3-1.exe. The installer complained that

Re: Getting leo to work

2009-10-30 Thread Rob Sheppard
Rob Sheppard wrote, On 10/30/2009 2:57 PM: might as well get python 2.6.4. Forgot to mention, if you do get Python 2.6, you'll need the corresponding version of Qt: http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py2.6-gpl-4.6.1-1.exe Rob

Re: 4.7 beta 1(Linux): edit in file extension?

2009-10-29 Thread Rob Sheppard
Edward K. Ream wrote, On 10/29/2009 7:00 AM: The obvious heuristic would be to look up the tree for any @file node, and use extension in that node. I've been keeping my eye out for a simple mod/fix that I might be able to contribute, and I thought this would be a good exercise for me. I

Re: 4.7 beta 1(Linux): edit in file extension?

2009-10-29 Thread Rob Sheppard
Ville M. Vainio wrote, On 10/29/2009 3:51 PM: You should propose the branch for merging so the review can be done on launchpad. You should also fix your bzr username and email address, so your work will be credited properly in change history. Okay, will do. Since this branch is not

Re: 4.7 beta 1(Linux): edit in file extension?

2009-10-29 Thread Rob Sheppard
Ville M. Vainio wrote, On 10/29/2009 3:51 PM: Are you using a recent bzr version? Sorry, I was actually using 2.0.0. That 0.8.3 was the version of the bzr explorer gui. I updated to 2.0.1. Forgot to mention I got a similar error the first time I tried to push, but then it worked the second

Can't drag nodes, can't cut/paste clones

2009-10-28 Thread Rob Sheppard
I can't drag a node to move it in Windows/Qt (works for me with tk). Also, if I create a clone, and try to cut/paste it to move it, it ceases to be a clone as soon as I cut it (the clone icon disappears), and then when I paste it I get a copy of the original node. In other words, changes I

limit nav search to sub-tree?

2009-10-28 Thread Rob Sheppard
Is there any way to limit the nav tab search to a single node and it's children? I was hoping that hoisting the node would accomplish this, but the nav search still applies to the whole file, and if you select a match outside of the hoisted node, it shows you the body pane of the matched

Re: Improving Leo's body pane

2009-10-27 Thread Rob Sheppard
Ville M. Vainio wrote, On 10/26/2009 5:15 PM: Perfect is the enemy of good. Doing this for @thin and @auto would be enough for most purposes. If you're going to do this for @thin, please please please do this for @shadow as well. Rob --~--~-~--~~~---~--~~

Re: Improving Leo's body pane

2009-10-23 Thread Rob Sheppard
Ville M. Vainio wrote, On 10/22/2009 1:01 PM: Case in point - .h and .b. They are less descriptive that getHeadstring() and getBodystring(), but boy, do they look better in code and are easier to type... Certainly easier to type, but as far as looking better, I personally would rather see

Re: Improving Leo's body pane

2009-10-23 Thread Rob Sheppard
Ville M. Vainio wrote, On 10/23/2009 11:36 AM: Nevermind that, it was headString() (note how easy it is to forget? You'll never forget .h :-). Notice how easy it is is to forget that .h is a property of p, and not a method? ;) I do agree that h makes much more sense as a property. I won't

Re: Improving Leo's body pane

2009-10-22 Thread Rob Sheppard
Ville M. Vainio wrote, On 10/21/2009 8:27 AM: - By default, show the rich text editor for @r / @html nodes (so the user has to toggle explicitly between editor type) My 2 cents, from a newbie's point of view, I think it would be less confusing to use something more descriptive than @r for

Problem importing @auto-rst file

2009-10-15 Thread Rob Sheppard
Am I doing this wrong? I'm trying to import an rST file into an @auto-rst node. I'm not finding much in LeoDocs.leo about how to use @auto-rst. This are the files I'm trying to import (similar errors for both): http://docutils.sourceforge.net/docs/user/rst/quickstart.txt

Add minibuffer command to right-click?

2009-10-08 Thread Rob Sheppard
Is there an easy way to add minibuffer commands to the right-click context menu in the outline pane? I'd very much like to add the new stickynote command to the context menu. I've got it assigned to a button now, but it would be even better if I had it in the context menu. BTW, kudos to

Minor issue with buttons in myLeoSettings

2009-10-08 Thread Rob Sheppard
This is a little thing, but I thought I would point it out. I've got a growing collection of buttons that I want on all of my Leo windows. I define them in a @button nodes under @settings in myLeoSettins.leo. It's working great, but when I open myLeoSettings.leo, I get 2 of all my buttons,

Re: Minor issue with buttons in myLeoSettings

2009-10-08 Thread Rob Sheppard
Rob Sheppard wrote, On 10/8/2009 10:37 AM: global @button launch-url As long as I'm picking nits, I'll also point out that Leo doesn't preserve the capitalization of my button definitions. For example, @button Launch-URL becomes launch-url on the button. Rob

Re: Minor issue with buttons in myLeoSettings

2009-10-08 Thread Rob Sheppard
Edward K. Ream wrote, On 10/8/2009 12:32 PM: This was done on purpose to remind people that alt-xlaunch-leo exists. We don't want to use mixed case in the minibuffer because lower case is easier to type. Edward Oh, I see. I didn't know a button could be activated by using it's name as

Re: Minor issue with buttons in myLeoSettings

2009-10-08 Thread Rob Sheppard
Edward K. Ream wrote, On 10/8/2009 12:31 PM: leoSettings.leo and myLeoSettings.leo a sometimes special cases. I'd rather leave the code as it is unless this poses a real problem for you. No, it's not a big deal. Rob --~--~-~--~~~---~--~~ You received this

Re: setup issue - cannot run Leo past 4.5.x

2009-10-07 Thread Rob Sheppard
Ville M. Vainio wrote, On 10/6/2009 2:50 PM: However, probably the best solution for you is to install PyQt from: http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py2.6-gpl-4.6-1.exe I don't think this is going to work with 64bit Python. I fiddled with it on my vista64

Re: Anyone tried KeyNote?

2009-09-22 Thread Rob Sheppard
Ville M. Vainio wrote: Also, you may want to have linebreaks in your paragraphs, i.e. do alt-x fill-paragraph occasionally. Is there any difference between fill-paragraph and reformat-paragraph (Shift-Ctrl-p by default)? Since you mentioned this, I've been experimenting and it seems

Re: Anyone tried KeyNote?

2009-09-21 Thread Rob Sheppard
Ville M. Vainio wrote: I always felt Insert is better that ctrl+i for insert node. Unfortunately ins key is currently unbindable. FWIW, I like Leo's keybindings for inserting and moving nodes. I particularly like the fact that after I type a headline, I can hit enter if I intend to start

Re: How to proceed with bzr

2009-09-03 Thread Rob Sheppard
Ville M. Vainio wrote: Have you set up launchpad account properly (incl. the public keys)? If you have, you can do bzr push --remember lp:~villemvainio/leo-editor/my-new-branch (where you use your lp account instead of villemvainio). Thanks, I knew there had to be an easy way to do

Re: The status of the generated .nsi install script

2009-09-03 Thread Rob Sheppard
Edward K. Ream wrote: At present, the only two valid Pythons are 2.5 and 2.6 Oh, I was under the impression you wanted to support 2.3 or later. Actually, I'm not sure why I was thinking that, but I'm guessing I read it in the docs. Anyone see any problems with this approach? No

Re: The status of the generated .nsi install script

2009-09-03 Thread Rob Sheppard
Edward K. Ream wrote: The following is not working for me: ReadRegStr $9 HKLM SOFTWARE\Python\PythonCore\2.6\InstallPath That is, $9 is always empty, even though the registry does have an InstallPath entry. Probably something simple, but I'm stuck. Any ideas? Edward It looks good

Re: First success with generated leo.nsi file. Please help improve it.

2009-09-02 Thread Rob Sheppard
Edward K. Ream wrote: There is still plenty of time to suggest improvements. In particular, at present leo.nsi does not attempt to find python. This should be fixed provided there is a reliable way to find modern (post Python 2.4) installations. Edward If they used the windows