Re: What is going on with universalCallback?

2008-06-25 Thread bobjack
back). Rev 579 on the trunk corrects the spelling > (again??). And there is code that I don't understand in > universalCallback, and it may have been reverted somehow also. > > Please check this code, bobjack. Thanks. > > Edward --~--~-~--~~---

Re: Using icons to show status

2008-06-24 Thread bobjack
On Jun 24, 2:44 pm, TL <[EMAIL PROTECTED]> wrote: > The ShowStatus approach of setting icons based on a node's text raises > the possibility of a solution to the problem of retaining the Cleo's > project estimates and % complete information in the sub-nodes of @thin > file nodes across Leo sessi

Re: undo appears to be broken

2008-06-24 Thread bobjack
Its difficult to nail down the exact circumstances and results. The following does not show all the problems I have been experiencing but it does serve to show that undo/redo is broken. In a new window do Ctrl-I 1, Ctrl-I 2, Ctrl-I 3, to insert three headlines named 1,2 and 3. Go back to 1 and

Re: Using icons to show status

2008-06-24 Thread bobjack
Cool. ># beforeBox beforeIcon beforeHeadline afterHeadline I hadn't realized these options were available, thank you for pointing them out. Bob On Jun 23, 9:24 pm, Terry Brown <[EMAIL PROTECTED]> wrote: > Just posted this: > > http://leo.zwiki.org/ShowStatus > > ...icons to indicate status of

Re: undo appears to be broken

2008-06-24 Thread bobjack
ob On Jun 23, 2:37 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > On Mon, Jun 23, 2008 at 4:33 AM, bobjack <[EMAIL PROTECTED]> wrote: > > > Undo appears to be broken. Any significant sequence of undo's results > > in corruption. I used to use undo/re

Re: Is it time to require Python 2.4 ?

2008-06-24 Thread bobjack
Oh yes please, python 2.4 would be perfect. I still use python 2.4 on my old linux machine and wouldn't want to upgrade just for Leo. On Jun 23, 9:30 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > On Mon, Jun 23, 2008 at 10:34 AM, Terry Brown <[EMAIL PROTECTED]> > wrote: > > > > > Would it mak

undo appears to be broken

2008-06-23 Thread bobjack
Undo appears to be broken. Any significant sequence of undo's results in corruption. I used to use undo/redo as a sort of cheap version control, now I hardly dare use it at all. I am using Python 2.5 on Vista/XP and the latest trunk. Bob --~--~-~--~~~---~--~~ Yo

Re: at_folder plugin

2008-06-19 Thread bobjack
This wot I wrote is rubbish. Sorry I go my wires crosssed. Oh well guess I need a holiday, whers my fishhing rod. :) On Jun 19, 10:29 am, bobjack <[EMAIL PROTECTED]> wrote: > No this is not so Edward.  The wrappers also convert separators in > strings as I said which os.path does

Re: registerCommand bug, bobjack's big boo boo

2008-06-19 Thread bobjack
bugs will have been introduced. Once again, I appologise for any disruption and extra work I have caused by introducing this bug. Bob On Jun 19, 10:20 am, bobjack <[EMAIL PROTECTED]> wrote: > I am ashamed to say that I have made a very big and very stupid > mistake.  When

Re: I have trashed the trunk.

2008-06-19 Thread bobjack
Think I've fixed it now. On Jun 19, 1:00 pm, bobjack <[EMAIL PROTECTED]> wrote: > I'm sorry I appear to have trashed the trunk. > > Guess I'm having a bad hair day :( > > Bob --~--~-~--~~~---~--~~ You received this message beca

I have trashed the trunk.

2008-06-19 Thread bobjack
I'm sorry I appear to have trashed the trunk. Guess I'm having a bad hair day :( Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@googlegroups.c

Re: at_folder plugin

2008-06-19 Thread bobjack
No this is not so Edward. The wrappers also convert separators in strings as I said which os.path does not, I don't have the code to hand but I'll put a pointer to the relevant part later. @path has to handle partial strings from the user which have embedded separators. On Jun 18, 12:51 pm, "Ed

registerCommand bug, bobjack's big boo boo

2008-06-19 Thread bobjack
I am ashamed to say that I have made a very big and very stupid mistake. When I added the c.universallCallback wrapper (appart from mis-spelling universal) I added a wrap=True argument to k.registerCommand so it would wrap func in c.universalCallback when so requested. This should of course have

Re: at_folder plugin

2008-06-18 Thread bobjack
On Jun 17, 3:03 pm, Terry Brown <[EMAIL PROTECTED]> wrote: > On Tue, 17 Jun 2008 08:47:20 -0500 > > Terry Brown <[EMAIL PROTECTED]> wrote: > > os.path is OS aware... but g.os_path_ may be the better option anyway, > > saves importing os etc. Of course, I hope the active_path plugin will > > be

Re: at_folder plugin

2008-06-17 Thread bobjack
Instead of using os.path directly, wouldn't it be better to use g.os_path_? It conditions the path and path seperators for cross platform compatibility. Remeber us poor window$ users. Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed

request to add plugin to leoPluginsRef

2008-06-17 Thread bobjack
I have started to seperate out some common code used in rClick/toolbar and several other plugins that I am working on. I am putting this code in a 'plugin' called rClickBasePluginClasses.py. Importing the file has no side effects and it has a top level init function that allways returns False so

Re: sort child nodes bug

2008-06-17 Thread bobjack
outline panel suddenly changed completly, leaving me bewildered. It's not a high priority, but I think it ought to be fixed. On Jun 16, 2:28 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > On Mon, Jun 16, 2008 at 3:41 AM, bobjack <[EMAIL PROTECTED]> wrote: > > &

Re: c.bind c.bind2 bugs

2008-06-16 Thread bobjack
Doh! Yes of course! Thank you. On Jun 16, 2:34 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > On Mon, Jun 16, 2008 at 4:10 AM, bobjack <[EMAIL PROTECTED]> wrote: > > > I have fixed the c.bind, c.bind2 methods to allow for '+' , which is > >

Re: c.bind c.bind2 bugs

2008-06-16 Thread bobjack
I'm not familiar with tag_bind, maybe the add=None fix should be applied to that as well? Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@goog

c.bind c.bind2 bugs

2008-06-16 Thread bobjack
I have fixed the c.bind, c.bind2 methods to allow for '+' , which is usually included as an arg rather than a keyword. This fixes a bug in at least one plugin. Shouldn't c.bind2 be doing something with **keys? Bob --~--~-~--~~~---~--~~ You received this message be

sort child nodes bug

2008-06-16 Thread bobjack
When the child nodes of the current node are sorted, the selection moves to the parent node of the current node. This bug appears to have been introduced when the sax-graph branch was merged. Bob --~--~-~--~~~---~--~~ You received this message because you are subs

Re: mod_labels broken

2008-06-15 Thread bobjack
On Jun 14, 11:02 pm, "Kent Tenney" <[EMAIL PROTECTED]> wrote: > I looked at the .leo file and wished the labels were text instead > of .. pickled? I'll look into that when I start work on it. I think the labels are converted to hex to avoid encoding problems. Bob --~--~-~--~~---

mod_labels broken

2008-06-14 Thread bobjack
The mod labels plugin is broken. I fixed a couple of obvious bugs only to reveal others. I guess no one is using it seriously. I plan on doing major surgery to this plugin, if anyone has any objections, suggestions, requests etc then please say. Bob --~--~-~--~~~---

Mods to shortcut_button.py plugin

2008-06-14 Thread bobjack
I have modified the shortcut_button.py plugin. An @data shortcut_button_data may now be used in @setting trees to control the colors for the buttons and to set an @popup menu. A blank annotated version has been put in leoSettings.leo although the iconbar= and icon= features described there are no

Re: minor rclick issue

2008-06-14 Thread bobjack
On Jun 13, 12:22 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > On Fri, Jun 13, 2008 at 3:58 AM, bobjack <[EMAIL PROTECTED]> wrote: > > > The same thing applies to menu.add_radiobutton and > > menu.add_checkbutton. > > Another potential source

Re: minor rclick issue

2008-06-13 Thread bobjack
On Jun 12, 4:51 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > On Jun 12, 10:07 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > > > > rClick is broken by this. > > > Sorry about that. I could have sworn I checked rClick specifically. I'll > > fix this today. No need to revert anything. >

Re: minor bugs

2008-06-12 Thread bobjack
> > > 1: When you open a new leo frame from the menu, the new frame only has > > > a single New Headline node. When you click that node another New > > > Headline node appears. If you edit the first New Headline node the > > > headline text of the second node changes as well. If you edit the >

Re: minor bugs

2008-06-12 Thread bobjack
On Jun 10, 11:02 am, bobjack <[EMAIL PROTECTED]> wrote: > 1: When you open a new leo frame from the menu, the new frame only has > a single New Headline node.  When you click that node another New > Headline node appears. If you edit the first New Headline node the > headline

Re: minor rclick issue

2008-06-11 Thread bobjack
No. On Jun 11, 11:26 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > Some of yesterday's changes (augmented with today's fix of c.tag_bind) may > solve the problem. Those changes were intended to guarantee that > c.outerUpdate gets called after all events get handled. > > As a special case, I

Re: minor rclick issue

2008-06-11 Thread bobjack
Yipee! I can now commit to bzr again! Doh! Now I have to go to work :-( --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@googlegroups.com To unsubscri

Re: minor rclick issue

2008-06-11 Thread bobjack
On Jun 10, 5:26 pm, Terry Brown <[EMAIL PROTECTED]> wrote: > With rclick enabled I don't get redraws when I change cleo priority > icons, there is an redraw with rclick disabled. This isn't so! The problem occurs regardless of whether rclick is enabled or not. The problem is in Edwards new red

Re: minor bugs

2008-06-10 Thread bobjack
Also in leoSettings.py @settings-->Menus-->@popup_menus-->Main Context Menus-->@popup body-- >@item * That is the very last item of @popup body. the first line should be rclick-gen-context-sensitive-commands and the second line should be deleted. Hopefully I will fix my commit problem real so

Re: minor bugs

2008-06-10 Thread bobjack
Another bug seems to have crept in to plugins_menu. Here is the fix but I am unable to commit at the moment so can't fix it myself. @thin plugins_menu.py-->class TkScrolledMessageDialog-- >show_message_as_html replace two occurances of 'leo.core.leo_to_html as leo_to_html' with 'leo_to_html' al

Re: $200 reward for gui plugins

2008-06-10 Thread bobjack
On Jun 10, 2:22 pm, "Kent Tenney" <[EMAIL PROTECTED]> wrote: > > I think much of Leo is great for the Leo dovotee, will never be used > by those attracted from the community at large. > ... that's the next big thing, IMAO. > (In My Arrogant Opinion) There is nothing arrogant in your opinion, i

minor bugs

2008-06-10 Thread bobjack
1: When you open a new leo frame from the menu, the new frame only has a single New Headline node. When you click that node another New Headline node appears. If you edit the first New Headline node the headline text of the second node changes as well. If you edit the second node the first node

Re: $200 reward for gui plugins

2008-06-10 Thread bobjack
> I guess what I'm saying is - we should probably should not implement > all of leo, but let the features of stock controls do most of our > work. > QScintilla would do all the code coloration, tree view would be > connectected to QAbstractTreeModel that exposes the leo outline in > editable for

Re: right click menu issue?

2008-06-10 Thread bobjack
On Jun 9, 9:44 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > Just to be clear, I no longer see any problems after any right click: > no segfault, no traceback. > > I presume the bug in tree.setCanvasBindings precipitated a segfault in > the Tk code.  This, of course, would be considered a se

Re: right click menu issue?

2008-06-08 Thread bobjack
Edward I apologize for not responding more quickly to this bug report. My attention has been monopolized by serious matters elsewhere. I can't reproduce the segfault using on Ubuntu 6.10 with python 2.4 and tk 8.4, could you give me more details on how this came about? Especially what plugins w

Re: right click menu issue?

2008-06-04 Thread bobjack
I'm swamped with work at the moment but I'll get on to this ASAP On Jun 3, 7:23 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > On Tue, Jun 3, 2008 at 9:23 AM, Terry Brown <[EMAIL PROTECTED]> wrote: > > > Cleo's context menu does this: > > > Error: 1 > > Exception in Tk callback > > Function:

Re: right click menu issue?

2008-06-04 Thread bobjack
On Jun 3, 7:23 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > On Tue, Jun 3, 2008 at 9:23 AM, Terry Brown <[EMAIL PROTECTED]> wrote: > > > Cleo's context menu does this: > > > Error: 1 > > Exception in Tk callback > > Function: (type: > 'function'>) Args: (,) > > Event type: ButtonPress

Re: Leo 4.5 b1 coming in about a week

2008-05-28 Thread bobjack
I would like to add two new chapters to LeoDocs, one each for the rClick and toolbar, plugins. The docs for these are a bit too big for the plugins chapter. Do you have any objections or alternative suggestions? On May 27, 6:57 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > Leo looks stable

Re: tkhtml in leo demo

2008-05-15 Thread bobjack
On May 14, 8:41 pm, "Kayvan A. Sylvan" <[EMAIL PROTECTED]> wrote: > I wrote my first programs in High School, by submitting punch card decks > of Fortran progarms which would be run in batches nightly and then the output > would be given to me the next day. > > You had a typewriter and a paper

Re: tkhtml in leo demo

2008-05-14 Thread bobjack
On May 14, 6:01 pm, Terry Brown <[EMAIL PROTECTED]> wrote: > You're making me feel old ;-) You feel old! I wrote my first program at school, in BASIC, on a typewriter that was attached to a paper tape punch. To get the program to run the machine had to be connected to a remote computer by put

Re: minor bug in mod_tempfname

2008-05-14 Thread bobjack
I think I misled you there, I did not mean the character ellipses but three ascii dots. I think it is related to the recent enhancements, which do not produce a valid temp file path when there are several consecutive dots (even if seperated by spaces). Bob --~--~-~--~~~---

Re: tkhtml in leo demo

2008-05-14 Thread bobjack
Thanks for your help Terry, I'm a bit out of my depth here. All sorts of possibilities, yes, but I'm not sure how useful it will be if people have to compile the .so for their system before they use it. Can it be assumed that if people are using Linux they will be able and willing to do this?

Re: missing items in leoSettings

2008-05-14 Thread bobjack
Ignore the above and curse me for an idiot! I think this might be what you are asking for: @popup_menus Main Context Menus @popup body @item & @item - @menu Block Operations @item indent-region @item dedent-region @item - @item add-comments @item delete-comments @item & @item - @item match-

Re: tkhtml in leo demo

2008-05-14 Thread bobjack
Yes that's the problem I get using Tk 8.4. bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@googlegroups.com To unsubscribe from this group, send

Re: key-handling branch ready for testing

2008-05-14 Thread bobjack
I'm a little confused and intimidated by key bindings. Would it be possible to have a sort of back-to-basics idiots guide? Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this grou

Re: missing items in leoSettings

2008-05-14 Thread bobjack
> Could you post the settings you want restored, in cut/past format? Here is the @popup stuff. Some other stuff is missing too, I'll look back to see if I can find what it is. I think some of Terry's stuff might also have gone. Bob @popup_menus Main Context Menus @popup body @item & @item - @me

missing items in leoSettings

2008-05-14 Thread bobjack
the default @popup menus seems to have been removed from the @settings file is this accidental or on purpose? If accidental it may be as well for people to check on what else has disappeared, if on purpose could you explain your objections? Bob --~--~-~--~~~---~--~--

Re: Lite-leo with Qt4 using leoBridge

2008-05-14 Thread bobjack
> What if someone (say, me ;-) decided to "port" leo to pyqt4, but not > really port the source code - rather, implement a new GUI on top of > leoBridge? Sounds cool to me, go for it! If I can get qt4 working on windows I'll be glad to test for you. Bob --~--~-~--~~~

tkhtml in leo demo

2008-05-14 Thread bobjack
The mod_tkhtml branch now allows Leo's local html documentation to be browsed in a tab in the log panel. All style sheets are honored and images displayed. Links within the file system (including those with fragments ) are followed but external links are ignored. The __tkhtml.py and rClick.py plu

Re: key-handling code now polished

2008-05-13 Thread bobjack
Congratulations Edward. Key handling is one of the most important (and most difficult) parts of an editor. As an ex vim user I'm glad you have adapted vim like key handling, it can only be of benefit. I'd like to take this opportunity to thank you for all the many years of hard work you have put

Re: Possible refactoring: make commands into commands

2008-05-12 Thread bobjack
> The form of getPublicCommands is always: > > def getPublicCommands (self): > return { > 'command-name1': self.methodName1, > 'command-name2': self.methodName2, > ... > } > > Thinking out loud, let's see whether the migration can be done easily. We > would change the entry: > >

leo-editor@googlegroups.com

2008-05-12 Thread bobjack
> Hmm, given that, perhaps the original special case approach was best, > I'll switch back to that, and try not to think about how long I spent > trying to get those menus defined in @menus :-} Actually I like your approach, it allows other items to be inserted and for your commands to be overrid

leo-editor@googlegroups.com

2008-05-11 Thread bobjack
Terry Other problems with Recent Files mods. The first problem is that if people have customized @menus in myLeoSettings then the changes to @menu Recent &Files will not be seen. This was the cause of the crash I reported previously. Now you have fixed the crash, but there is still a problem b

Re: recetFilesStatic crash

2008-05-10 Thread bobjack
On May 10, 1:38 pm, Terry Brown <[EMAIL PROTECTED]> wrote: > I've added an initialization to guard against the exception you got (on > the trunk), although I couldn't reproduce it and still don't see how > you could get to that point without self.c.recentFilesStatic existing. > > Let me know if

Re: recetFilesStatic crash

2008-05-10 Thread bobjack
Has anyone else had this problem? Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@googlegroups.com To unsubscribe from this group, send email to

recetFilesStatic crash

2008-05-10 Thread bobjack
My leo refused to start and issued the following message when I merged the new trunk into it. Traceback (most recent call last): File "C:\bobjack\mod_rclick\leo\src\leo.py", line 438, in run() File "C:\bobjack\mod_rclick\leo\src\leo.py", line 149, in run c

Re: Possible refactoring: make commands into commands

2008-05-10 Thread bobjack
> > 1. c.keyHandler (aka c.k) will define lists of single-line and multi- > line editing commands. > > 2. k.registerCommand will get an new, optional keyword args telling > whether the newly-registered command is a single-line or multi-line > editing command. > > The ease with which data can be a

Re: Summary of commands in new key scheme

2008-05-10 Thread bobjack
On May 9, 4:03 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > The new key-handling scheme requires that all Leo commands be > classified as single-line editing, multi-line editing or non-editing > commands: How will a newly registered command tell leo what sort of command it is. With rclick

Re: Summary of commands in new key scheme

2008-05-10 Thread bobjack
On May 9, 4:03 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > The new key-handling scheme requires that all Leo commands be > classified as single-line editing, multi-line editing or non-editing > commands: > How will a newly registered command tell leo what sort of command it is. With rcli

Re: Request for help with pygtk ang gtkgui on windows

2008-05-10 Thread bobjack
> My all-time favorite "picture": > > http://tavmjong.free.fr/INKSCAPE/DRAWINGS/clock2.svg > > Edward That IS cool! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send ema

minor bug in mod_tempfname

2008-05-09 Thread bobjack
If a headline ending in ... (ellipses) is an ancestor of a node to be edited the file path formed is invalid (at least on windows vista), so the node can not be edited. Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

minor bug in spellcheck

2008-05-09 Thread bobjack
If the mis-spelled word starts at position 0, it is detected but can not be replaced. Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@googlegro

Re: Request for help with pygtk ang gtkgui on windows

2008-05-09 Thread bobjack
> probably just followed the directions :-) The directions are confusing and even contradictory. Guess I won't bother, Tk is fine with me. And, if I can't even install it, it's unlikley that I could be of any help! Bob --~--~-~--~~~---~--~~ You received this me

Re: Design of new key handling

2008-05-09 Thread bobjack
PS to last post. Maybe events could be used to force focus back to the key collector if it should be changed for any reason. You would also have to register all widgets to redirect mouse events to the frame. I'm not sure how easy that would be on a large scale. Oh well just a thought. Bob --

Re: Design of new key handling

2008-05-09 Thread bobjack
I have to admit I am struggling to understand all this, apologies if the following is inane. It strikes me that if you are willing to take control of all objects there is no need for any object to have focus. If you could force focus to be with a single widget designated to collect key presses t

Is the trunk open for commits now?

2008-05-09 Thread bobjack
Can we commit to the trunk or should we wait for a while? Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@googlegroups.com To unsubscribe from t

Request for help with pygtk ang gtkgui on windows

2008-05-08 Thread bobjack
I am having trouble with pygtk. Could you advise me on the best way of installing pygtk on windows and getting leo's gtkgui running? Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to

launchpad karma an embarassment

2008-05-07 Thread bobjack
The launchpad karma system is very embarrasing. The karma rating I have aquired is due to incompetence, I started several braches accidently and deleted them immediatly and got 500 points for each! Also just registering to recieve notification of branch changes seems to give a significant amount

Re: Intrepid testers of the sax-graph branch wanted

2008-05-06 Thread bobjack
toolbar and rClick won't work in the sax-graph branch as some of the changes to core that are needed to support those versions have not been made. I merged those changes into the branch (local copy) and they worked fine. I merged sax-graph into my local copy of the trunk and non of the conflicts

Re: Intrepid testers of the sax-graph branch wanted

2008-05-06 Thread bobjack
toolbar.py overrides frame in init, it may be as well to delete this file if problems occur (or event if they don't) as it has side effects even if it isn't loaded. Havn't had time to play with sax-graph yet but will soonest Bob --~--~-~--~~~---~--~~ You received

Re: Printing a .leo file / export to html

2008-05-05 Thread bobjack
On linux you may have to set the browser command as well, the default doesn't work for me it opens the browser but puts nothing in it! Bob. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post

Re: Printing a .leo file / export to html

2008-05-05 Thread bobjack
If this plugin loads properly, the following menu items should appear in your File > Export... menu in Leo:: Save Outline as HTML (equivalent to export-html) Save Node as HTML (equivalent to export-html-node) Show Outline as HTML (equivalent to show-html) Show Node as HTML

Re: Printing a .leo file / export to html

2008-05-05 Thread bobjack
The easiest way is to use the show-html command from the minibuffer which will open a browser with the outline converted to html. Print from the browser. If you want the body as well as the headlines you need to go to the plugins->leo_to_html->Properties menu and set the flagjustheadlines setting

Re: Multiple iconbars with mutiple overflow.

2008-05-04 Thread bobjack
On May 2, 3:02 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > Good luck on dnd. It turns out that dnd is almost trivial! I have committed the new toolbar plugin to trunk. It includes: - Enhanced @button nodes - Multiple iconBars - Automatically expanding/contracting iconBars - Drag an

Multiple iconbars with mutiple overflow.

2008-05-02 Thread bobjack
I have put the second draft of the icon bar code in the mod_rclick branch for testing. This branch is a mirror of the current trunk (377) apart from the toobar.py plugin. Each toolbar now consists of multiple iconbars, the number of which automatically adjusts to accommodate the buttons. It m

Re: Iconbar now has multiple lines.

2008-05-01 Thread bobjack
On Apr 29, 12:52 pm, bobjack <[EMAIL PROTECTED]> wrote: > On Apr 29, 11:11 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > > My original thought was that Leo might create a second iconbar line > > automatically if the width of the widget in t

Re: Iconbar now has multiple lines.

2008-04-29 Thread bobjack
On Apr 29, 11:11 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > My original thought was that Leo might create a second iconbar line > automatically if the width of the widget in the first iconbar line got too > big.  If this could be done it would satisfy a long-standing request. > Otherwis

Re: Iconbar now has multiple lines.

2008-04-29 Thread bobjack
Unfortunatley untit tests reports a fail because I have overridden a base class method that it thinks should not be overridden. I saw this error and put a if g.app.unitTesting guard on the code that does the overriding but foolishly failed to re run the unit tests, which still reportes the failur

Iconbar now has multiple lines.

2008-04-28 Thread bobjack
I have put the first draft of the multiple iconbar code in the trunk. Both the toolbar.py and rClick.py plugins must be enabled. There are no docs yet but if you right click on the icon bar you will see the options to add another icon bar or to add a script-button to the iconbar you just clicked

Re: Enhancements to @buttons; the toolbar plugin.

2008-04-28 Thread bobjack
On Apr 27, 1:06 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > BTW, I would like to add support for allowing multiple lines in the icon > area. Is this something you would like to tackle? > > Edward Yes, I'll start work on that today. Bob --~--~-~--~~~---~--~

Re: Enhancements to @buttons; the toolbar plugin.

2008-04-27 Thread bobjack
Sorry for the double post. I have added support for @btn tooltip = My tool tip also @btn bg =(nothing following the =) cancels any default button coloring. I have added a 'toolbar-delete-button' command to be used in button menus. eg @popup my-button-menu @item toolbar-delete-butto

Enhancements to @buttons; the toolbar plugin.

2008-04-26 Thread bobjack
Hi I have added toolbar.py to the plugins section. This contains enhancements to the @button nodes and to buttons created with the add-script button. You can now put a header at the start of the node delimeted by @ and @c. within this block you can but any combination of the following lines @

Enhancements to @buttons; the toolbar plugin.

2008-04-26 Thread bobjack
Hi I have added toolbar.py to the plugins section. This contains enhancements to the @button nodes and to buttons created with the add-script button. You can now put a header at the start of the node delimeted by @ and @c. within this block you can but any combination of the following lines @

Re: Python Refactoring integration

2008-04-25 Thread bobjack
Just an observation, Rope requrires python 2.5. I'm not sure if that should be a consideration or not. Bob -- On Apr 24, 12:09 am, "Kayvan A. Sylvan" <[EMAIL PROTECTED]> wrote: > On Wed, Apr 23, 2008 at 03:56:43PM -0700, Kayvan A. Sylvan wrote: > > In my searches, I came across something else: >

rclick linux bug fixes and popup (cleo, tree) menu mods

2008-04-23 Thread bobjack
I have dusted off an old computer and loaded it with an old linux distro (ubuntu 6/10), so that I can test rclick on linux. Unfortunately there were a few significant bugs. Never mind, they were easily fixed. Some of the problems were generic to tk on linux so I have taken steps to improve (I h

Re: onClick model 'bug'

2008-04-21 Thread bobjack
On Apr 21, 2:57 pm, bobjack <[EMAIL PROTECTED]> wrote: > > The proper and simple solution, of course, is to unregisterHandler in > onCreate, I should have thought of that sooner. Thats nonsenese! For the sake of my dignity let's all pretend I di

Re: onClick model 'bug'

2008-04-21 Thread bobjack
On Apr 21, 1:32 pm, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > > The onCreate method gets called every time *any* new commander is > > created therefore the plugin controllers get recreated for *every* > > commander *every* time a new commander is created. > > I'm not sure whether this is

trunk broken? cut and paste do not work in outline

2008-04-21 Thread bobjack
I get the following message after cutting a node in the outline and trying to paste it. I am using the current trunk, revision 355 Traceback (most recent call last): File "C:\bobjack\trunk\leo\src\leoCommands.py", line 286, in doCommand print "exception executing com

onClick model 'bug'

2008-04-21 Thread bobjack
Hi Edward There is a problem with the onClick model for plugins, as described in the Templates section of the leoPlugins. The onCreate method gets called every time *any* new commander is created therefore the plugin controllers get recreated for *every* commander *every* time a new commander i

rClick now supports icons.

2008-04-20 Thread bobjack
rClick now supports icons in @menu and @item nodes in @popup trees. insert the line icon = into the body text anywhere except the first line. I have also put basic @popup menus in leoSettings. Bob --~--~-~--~~~---~--~~ You received this message because you

rClick now supports colored menu items

2008-04-18 Thread bobjack
I have added support to the trunk for colored menu items in right click context menus. In @popup trees @item nodes can have lines of the form bg = color fg = color Which will set the background and foreground colors. Radio and check button items may also have selected-bg = color

mod to unit Test to suppress 'nav-*-menu' complaints

2008-04-17 Thread bobjack
Edward I have added a line in unitTest.leo to suppress 'nav-*-menu' complaints, as you suggested to Ville. Is there really no other solution to this problem? Bob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "leo

Tkhtml3 Experimental Branch

2008-04-17 Thread bobjack
I have started an experimental branch (dev_tkhtml) to explore the possibility of integrating the Tkhtml3 widget into leo. There is nothing much there yet, just an experimental (and incomplete) Tkinter wrapper for the .dll/.so (also included) in the extensions/ tkhtml3 folder, together with a pyth

Cleo wish list.

2008-04-16 Thread bobjack
>As always, I'm thinking about cleo, for which there are some >overdue improvements that I might get around to tackling when the bzr >system is set up. Hi Terry, I've started a new thread on account of the original thread is a 'phd' thread while I'm a 'failed maths twice at school' poster :-) Al

Re: Vim branch - Testers needed

2008-04-16 Thread bobjack
> Let me know if there are any problems or suggestions for improvements. > > Regards, > TL I have been using the older version (merged with trunk) on Windows Vista with Python 2.5 without problems, I'll try the new version soonest. If you are thinking of doing more enhancements, it would be co

Re: A howto for rClick?

2008-04-15 Thread bobjack
On Apr 15, 11:05 am, bobjack <[EMAIL PROTECTED]> wrote: > > Thanks for this Kayvan, it's a big help when people can show me the Sorry Alex, how rude of me, I meant thanks for this Alex. Thank you Kayvan also for your feedba

Re: A howto for rClick?

2008-04-15 Thread bobjack
> I tried something like this: > > > def more_menu_items(keywords): > # A very static "dyanamic menu" just for testing > return [("|", None)] > > c.context_menus['iconbox'] = [ > ('*', more_menu_items), > ] > Thanks for this Kayvan, it's a big help when people can show me the bits

  1   2   >