Re: Best way to get window/frame for current leo file

2015-06-08 Thread Edward K. Ream
On Fri, May 29, 2015 at 3:33 PM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: c.frame or some attribute of c.frame? Or walk c.frame.parent() until None, or the better answer Edward will provide ;-) ​c.frame is almost always what is wanted. EKR -- You received this

Re: goto-global-line doesn't work properly in @clean files

2015-06-08 Thread Edward K. Ream
On Tuesday, June 2, 2015 at 9:22:00 AM UTC-5, vitalije wrote: I presume Edward missed this topic, so I am just touching it again. IMHO this bug can easily repel newbies. If one is not able after seeing stack trace in console, to easily find a specific line in source code using Leo, he

Re: Implementing goto-next-N-visible

2015-06-08 Thread Edward K. Ream
On Sat, Jun 6, 2015 at 10:08 AM, 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: On Fri, 5 Jun 2015 11:01:13 -0500 'Terry Brown' via leo-editor leo-editor@googlegroups.com wrote: Well, I'm definitely seeing Todo.py related slow down, and will attempt to investigate that.

Re: @command nodes not dynamically updated

2015-06-08 Thread Edward K. Ream
On Mon, Jun 1, 2015 at 6:22 AM, john lunzer lun...@gmail.com wrote: About a month ago Terry posted about how the dynamic nature of @button/@rclick/@command nodes and how powerful that concept is. When I define commands in my myLeoSettings.leo @settings--@commands node I'm not seeing this

Re: mistake in the documentation

2015-06-08 Thread Edward K. Ream
On Wed, May 20, 2015 at 5:12 AM, Zoltan Benedek benzol...@gmail.com wrote: The algorithm always places ambiguous lines at the start of the following node because it’s more common to add lines to the end of nodes. Probably should be: The algorithm always places ambiguous lines at the end of

Re: Adding my change to body text to the undo stack

2015-06-08 Thread Edward K. Ream
On Mon, Jun 1, 2015 at 7:40 AM, john lunzer lun...@gmail.com wrote: I'm working on a command that makes a change to c.p.b. If I make that change simply by assigning a string to c.p.b I can't use Ctrl+Z to undo the change. How would I go about making my command undo enabled? ​My apologies