Re: Anyone know of advantages or disadvantages of new-style classes?

2011-11-21 Thread zpcspm
I know for a fact that method resolution order for new style classes is different (but not well enough to be able to explain it, I just try to avoid mixing old style classes with new style ones for this reason). Without knowing any details about the appeared problems that you mention, I wonder if t

Re: Exceptions in doCommand

2011-11-21 Thread Morgul
On 18 nov, 19:58, "Edward K. Ream" wrote: > Thanks for this report. This bug has been fixed at rev 4830, with a > new unit test. It was due to a recent botch, not caught by unit > tests. > > Edward Hello Edward. It seems that revision solved some of the issues I found (namely, the Ctrl-C issue

Re: Exceptions in doCommand

2011-11-21 Thread Morgul
On 18 nov, 19:58, "Edward K. Ream" wrote: > Thanks for this report. This bug has been fixed at rev 4830, with a > new unit test. It was due to a recent botch, not caught by unit > tests. > > Edward Hello Edward. It seems that revision solved some of the issues I found (namely, the Ctrl-C issue

key handling in plugin panes

2011-11-21 Thread Terry Brown
Somewhere in a recent thread Edward announced top level key handling so Leo's keys have their default behavior in *all* windows which don't provide specific overrides. This is fantastic - now you can move around the tree with keys, doing things to nodes by clicking in plugin windows without having

Re: key handling in plugin panes

2011-11-21 Thread Edward K. Ream
On Mon, Nov 21, 2011 at 9:39 AM, Terry Brown wrote: > Somewhere in a recent thread Edward announced top level key handling so > Leo's keys have their default behavior in *all* windows which don't > provide specific overrides.  This is fantastic - now you can move > around the tree with keys, doing

Body text: toggle between full view and recursive view

2011-11-21 Thread Bulletproof Monk
Hello. New user here, sorry for basic question. The problem with my question is defining the search terms so that Google may tell me what I want but, since I seem to fail at that, here I am, bothering you. :) There must be some way to toggle the view in body panel/editor between default view (wha

Re: Exceptions in doCommand

2011-11-21 Thread Edward K. Ream
On Mon, Nov 21, 2011 at 3:15 AM, Morgul wrote: > However, I've realized the solution to that issue is trivial. It just > takes to change "ins" by "insert" in the line 3241 of leo/plugins/ > qtGui.py: > > -        w0.setSelectionRange(i,j,ins=ins) > +        w0.setSelectionRange(i,j,insert=ins) >

Re: Anyone know of advantages or disadvantages of new-style classes?

2011-11-21 Thread Edward K. Ream
On Sun, Nov 20, 2011 at 2:57 PM, Terry Brown wrote: > On Sat, 19 Nov 2011 19:03:22 -0800 (PST) > "Edward K. Ream" wrote: > >> But just to be sure, I thought I would ask the Leonine Brain Trust >> (tm) if they know of any down sides to deriving from object. > > I'd say don't do it because... Than

Re: Body text: toggle between full view and recursive view

2011-11-21 Thread Terry Brown
On Mon, 21 Nov 2011 06:05:27 -0800 (PST) Bulletproof Monk wrote: > There must be some way to toggle the view in body panel/editor between > default view (whatever selected node contains) and recursive view > (content of selected node and all of it's kids). > > While waiting for an response, I wi

Re: Warning: key handling partially broken in the trunk

2011-11-21 Thread Edward K. Ream
On Sun, Nov 20, 2011 at 1:34 PM, Kent Tenney wrote: > try alt-x add-editor, type in new editor, very broken for me. Thanks for this. I've just added another @test that failed. Changing:: w0.setSelectionRange(i,j,in=ins) to:: w0.setSelectionRange(i,j,insert=ins) in updateEditors make

Re: Ratcheting: kaizen and unit tests

2011-11-21 Thread Edward K. Ream
On Oct 17, 1:41 pm, Kent Tenney wrote: > As I understand the discipline expected in the Zope community: > > When approaching a bug, begin by writing a test which fails > due to the bug. Then fix the code such that the test succeeds. > > Patches which don't follow this convention are not considered

Re: Warning: key handling partially broken in the trunk

2011-11-21 Thread Kent Tenney
Not to worry, I can survive nicely without added editors. Thanks, Kent On Mon, Nov 21, 2011 at 12:15 PM, Edward K. Ream wrote: > On Sun, Nov 20, 2011 at 1:34 PM, Kent Tenney wrote: >> try alt-x add-editor, type in new editor, very broken for me. > > Thanks for this.  I've just added another @te

Exploring thirty party code with leo

2011-11-21 Thread TNick
Hello! I'm a new user of Leo. Until I find proper ways to get informations about Leo without posting in the mail list have patience with me, please. :) Was thinking about ways to use Leo and one of those is to make sense of the code written by others. I seem to recall reading about this topic

Re: Ratcheting: kaizen and unit tests

2011-11-21 Thread Edward K. Ream
On Nov 21, 12:36 pm, "Edward K. Ream" wrote: > I am now training myself to create the @test node even when the fix is > "trivial", as with the recent fix to updateEditors. Imo, it's time to start greasing the unit-test gears in addition to removing grit. After writing this post, I saw that the

Caution: Rev 4833 is an important update

2011-11-21 Thread Edward K. Ream
Rev 4833 should make mouseless operation much more pleasant than before. It also corrects some recently reported bugs, and adds the cycle-tab-focus command. This rev involves some extremely complex code. New unit tests cover all aspects of the new work, but as always, there could be problems that

Re: Exploring thirty party code with leo

2011-11-21 Thread Brian Theado
On Mon, Nov 21, 2011 at 1:44 PM, TNick wrote: > Was thinking about ways to use Leo and one of those is to make sense of the > code written by others. [...] It looks like you are trying to recursively "slurp" files into @auto nodes? I haven't used the 'projectwizard' plugin, but its docstring des

Re: Exploring thirty party code with leo

2011-11-21 Thread Terry Brown
On Mon, 21 Nov 2011 20:18:53 -0500 Brian Theado wrote: > On Mon, Nov 21, 2011 at 1:44 PM, TNick wrote: > > Was thinking about ways to use Leo and one of those is to make sense of the > > code written by others. > [...] > > It looks like you are trying to recursively "slurp" files into @auto > n

Re: Exploring thirty party code with leo

2011-11-21 Thread Edward K. Ream
On Mon, Nov 21, 2011 at 12:44 PM, TNick wrote: > Hello! > > I'm a new user of Leo. Until I find proper ways to get informations about > Leo without posting in the mail list have patience with me, please. :) I use the "Recursive import script" in scripts.leo, the node:: Important-->Recursive

Re: Caution: Rev 4833 is an important update

2011-11-21 Thread Edward K. Ream
On Nov 21, 6:40 pm, "Edward K. Ream" wrote: > Rev 4833 should make mouseless operation much more pleasant than > before.  It also corrects some recently reported bugs, and adds the > cycle-tab-focus command. > > This rev involves some extremely complex code. New unit tests cover > all aspects of t

Re: Body text: toggle between full view and recursive view

2011-11-21 Thread Bulletproof Monk
oh... thanks. Will look into the sources some time latter, maybe I can contribute a patch. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To view this discussion on the web visit https://groups.google.com/d/msg/leo-editor/-/Fi9S_m0O5AUJ. To pos

Re: Exploring thirty party code with leo

2011-11-21 Thread Bulletproof Monk
Right. Search the scripts. Search the plug-ins. Got it. :) Thanks. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To view this discussion on the web visit https://groups.google.com/d/msg/leo-editor/-/vBsL-ShxlfMJ. To post to this group, send e