add-editor traceback

2014-09-04 Thread Kent Tenney
alt-x add-editor when returning focus to lh window: ** isPython3: False Leo 4.11 final, build 20140903205542, Wed Sep 3 20:55:42 CDT 2014 Git repo info: branch = master, commit = 4a84122e672b Python 2.7.6, PyQt version 4.8.6 linux2 setting leoID from os.getenv('USER'): 'ktenney' reading settings

The collapse in complexity is complete

2014-09-04 Thread Edward K. Ream
This project appears to be a complete success. No further work is planned. I have encountered no problems at all during this reorg, and don't expect any, but we shall see... Here are the highlights: 1. *All* of the odious redirection code in Leo is gone. The redirection code appeared in

Re: add-editor traceback

2014-09-04 Thread Edward K. Ream
On Thu, Sep 4, 2014 at 6:22 AM, Kent Tenney kten...@gmail.com wrote: alt-x add-editor when returning focus to lh window: Thanks Kent, I'll fix this immediately. Edward -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe from this

Re: add-editor traceback

2014-09-04 Thread Edward K. Ream
On Thu, Sep 4, 2014 at 6:46 AM, Edward K. Ream edream...@gmail.com wrote: On Thu, Sep 4, 2014 at 6:22 AM, Kent Tenney kten...@gmail.com wrote: alt-x add-editor when returning focus to lh window: Thanks Kent, I'll fix this immediately. The bug was introduced at rev 665bf93 on 3 Sept. 13:16.

Re: add-editor traceback

2014-09-04 Thread Kent Tenney
np I may be somewhat an edge case in my use of add-editor, it's a great feature, but I can manage without it for the time being. On Thu, Sep 4, 2014 at 8:00 AM, Edward K. Ream edream...@gmail.com wrote: On Thu, Sep 4, 2014 at 6:46 AM, Edward K. Ream edream...@gmail.com wrote: On Thu, Sep 4,

Recursive import fails on windows back up files

2014-09-04 Thread Israel Hands
I'm using the wonderful file import code as found in scripts to import all my Latex files into nodes. This works brilliantly but fails on reaching Word backup files (file names prefixed with a ~) This is not a massive problem but I thought that the importer would ignore any file that didn't

Re: Recursive import fails on windows back up files

2014-09-04 Thread Edward K. Ream
On Thu, Sep 4, 2014 at 8:37 AM, Israel Hands alist...@mcgh.ee wrote: I'm using the wonderful file import code as found in scripts to import all my Latex files into nodes. This works brilliantly but fails on reaching Word backup files (file names prefixed with a ~) This is not a massive problem

Re: add-editor traceback

2014-09-04 Thread Edward K. Ream
On Thu, Sep 4, 2014 at 8:06 AM, Kent Tenney kten...@gmail.com wrote: np I may be somewhat an edge case in my use of add-editor, it's a great feature, but I can manage without it for the time being. It's not you. The code is hosed. It may be one line that got transliterated incorrectly in

API change?

2014-09-04 Thread Kent Tenney
A button of mine checks for selected body text, what is the current equivalent of: c.frame.body.hasSelection() which causes a traceback, presumably the following has also changed: c.frame.body.getSelectedText() Thanks, Kent -- You received this message because you are subscribed to the Google

Re: API change?

2014-09-04 Thread Edward K. Ream
On Thu, Sep 4, 2014 at 11:11 AM, Kent Tenney kten...@gmail.com wrote: A button of mine checks for selected body text, what is the current equivalent of: c.frame.body.hasSelection() which causes a traceback, presumably the following has also changed: c.frame.body.getSelectedText() Change

Re: add-editor traceback

2014-09-04 Thread Edward K. Ream
On Thu, Sep 4, 2014 at 10:08 AM, Edward K. Ream edream...@gmail.com wrote: It's not you. The code is hosed. It may be one line that got transliterated incorrectly in the reorg. That's exactly what happened. A recent rev fixed that bug, and another rev makes add-editor work with the

Re: API change?

2014-09-04 Thread Fidel N
are there more such things to be changed on the scripts? I was using c.frame.body a lot. On Thu, Sep 4, 2014 at 7:37 PM, Edward K. Ream edream...@gmail.com wrote: On Thu, Sep 4, 2014 at 11:11 AM, Kent Tenney kten...@gmail.com wrote: A button of mine checks for selected body text, what is the

Re: API change?

2014-09-04 Thread Edward K. Ream
On Thu, Sep 4, 2014 at 12:54 PM, Fidel N fidelpe...@gmail.com wrote: are there more such things to be changed on the scripts? I was using c.frame.body a lot. body - body.wrapper is the main one. logCtrl remains, so no change re the log. Off hand, I can't think of any others. Certainly no

Re: API change?

2014-09-04 Thread Fidel N
hehe I will. Thanks for the confirmation. On Thu, Sep 4, 2014 at 8:17 PM, Edward K. Ream edream...@gmail.com wrote: On Thu, Sep 4, 2014 at 12:54 PM, Fidel N fidelpe...@gmail.com wrote: are there more such things to be changed on the scripts? I was using c.frame.body a lot. body -