Nested @path seems to not work

2008-10-01 Thread Kent Tenney
I'm finding @path project \ @shadow one.py @shadow two.py @path subdir \ @shadow three.py I'm finding three.py is considered project/three.py instead of project/subdir/three.py --~--~-~--~~~---~--~~ You received this message because you

Re: @shadow of .py

2008-10-01 Thread Edward K. Ream
On Tue, Sep 30, 2008 at 7:54 PM, Terry Brown [EMAIL PROTECTED] wrote: I just opened a .leo file with a @shadow foo.py where foo.py had been edited externally, and: - inconsistent spaces / tabs in foo.py created syntax errors - no problem there - the changed nodes (changes showed up in

Re: Line length in nested nodes

2008-10-01 Thread Edward K. Ream
On Wed, Oct 1, 2008 at 12:06 AM, zpcspm [EMAIL PROTECTED] wrote: I was browsing the source code and I've incidentally found that the tests for p.textOffset() are not in the trunk. Perhaps they were lost during a merge. Sorry about that. I'll fix this today. Edward

Re: Tk, Qt, Gtk

2008-10-01 Thread Edward K. Ream
On Wed, Oct 1, 2008 at 12:45 AM, Ville M. Vainio [EMAIL PROTECTED] wrote: The question is, how will the widget react to massive changes provoked by c.frame.redraw? I'm sure it will be a breeze. That's what trolltech people are paid to do, and it happens entirely on the C++ side. Of course,

Re: Tk, Qt, Gtk

2008-10-01 Thread Edward K. Ream
On Wed, Oct 1, 2008 at 12:53 AM, Ville M. Vainio [EMAIL PROTECTED] wrote: In my qleolite solution, I just have a dict that maps vnodes to GUI widgets. If leo can give the gui callbacks like: vnode_deleted(v) child_created(v, idx) Hmm. My *guess*, and you might call it more like a hunch,

Re: Problem: full icon area

2008-10-01 Thread Edward K. Ream
On Wed, Oct 1, 2008 at 12:18 AM, zpcspm [EMAIL PROTECTED] wrote: It would make sense to delete the line of the icon area if the deleted button was the only one on that line. I played around with similar issues yesterday. The problem is resizing the Tk.Frame that holds the subsidiary frames

Re: Tk, Qt, Gtk

2008-10-01 Thread Ville M. Vainio
On Wed, Oct 1, 2008 at 2:50 PM, Edward K. Ream [EMAIL PROTECTED] wrote: Yes, this sets up the tree. How does it handle expansion/contraction status of nodes? That's trivial - just use: setItemExpanded ( const QTreeWidgetItem * item, bool expand ) of QTreeWidgetItem. -- Ville M. Vainio

Re: Tk, Qt, Gtk

2008-10-01 Thread Ville M. Vainio
On Wed, Oct 1, 2008 at 3:05 PM, Edward K. Ream [EMAIL PROTECTED] wrote: Hmm. My *guess*, and you might call it more like a hunch, is that the only place that this could be done are in the low-level *position* methods: Great - having an only place is always good. @thin leoNodes.py--class

Re: @shadow of .py

2008-10-01 Thread Edward K. Ream
On Oct 1, 6:28 am, Edward K. Ream [EMAIL PROTECTED] wrote: On Tue, Sep 30, 2008 at 7:54 PM, Terry Brown [EMAIL PROTECTED] wrote: - the changed nodes (changes showed up in the right place) were not  marked... they used to be? It turns out that they never have been marked, and the

Re: Right to left support

2008-10-01 Thread Abdulla Al Muhairi
I found the following googling: http://wiki.tcl.tk/1126 That is, it is possible to fake right-to-left entry in tcl itself. However, I'm not sure whether it would be possible for Leo to do this... Edward Well, I hope to see RTL support in Leo someday, maybe when you move to qt or gtk,

Re: Right to left support

2008-10-01 Thread Edward K. Ream
On Wed, Oct 1, 2008 at 10:08 AM, Abdulla Al Muhairi [EMAIL PROTECTED] wrote: Well, I hope to see RTL support in Leo someday, maybe when you move to qt or gtk, but it will take long time. I think it is time for me to start learning programming, :-) Yes, programming is very useful for Leo

Re: Tk, Qt, Gtk

2008-10-01 Thread Ville M. Vainio
On Wed, Oct 1, 2008 at 6:56 PM, Ville M. Vainio [EMAIL PROTECTED] wrote: (or perhaps the minibuffer should be one of the first things to add, for testing purposes) Just changed my mind about that. ILeo is the best way to execute commands in the initial phase. -- Ville M. Vainio

Re: Tk, Qt, Gtk

2008-10-01 Thread Edward K. Ream
On Wed, Oct 1, 2008 at 10:56 AM, Ville M. Vainio [EMAIL PROTECTED] wrote: I know this seems very strange. Let me give you some background. It doesn't seem strange at all. Now, if we add code that emits signals whenever a vnode is created, deleted or moved (to child number N of vnode v), we

Re: Tk, Qt, Gtk

2008-10-01 Thread Ville M. Vainio
On Wed, Oct 1, 2008 at 6:56 PM, Ville M. Vainio [EMAIL PROTECTED] wrote: It doesn't seem strange at all. Now, if we add code that emits signals whenever a vnode is created, deleted or moved (to child number N of vnode v), we can pretty much hack qleolite to modify the tree in real time, as

Re: User input during execution of scripts

2008-10-01 Thread zpcspm
On Sep 20, 6:22 pm, Edward K. Ream [EMAIL PROTECTED] wrote: On Sat, Sep 20, 2008 at 6:50 AM, zpcspm [EMAIL PROTECTED] wrote: Please follow the example carefully. Here is a tested script: @@@ def getInput (event=None): stateName = 'get-input' k = c.k ; state =

Re: nav_buttons plugin seems broken

2008-10-01 Thread Kent Tenney
On Tue, Sep 30, 2008 at 10:55 AM, Kent Tenney [EMAIL PROTECTED] wrote: On Tue, Sep 30, 2008 at 10:48 AM, Edward K. Ream [EMAIL PROTECTED] wrote: On Tue, Sep 30, 2008 at 10:45 AM, Kent Tenney [EMAIL PROTECTED] wrote: I just added nav_buttons.py to 'enabled plugins', and it seems to be not

Re: Tk, Qt, Gtk

2008-10-01 Thread Edward K. Ream
On Wed, Oct 1, 2008 at 10:42 AM, Ville M. Vainio [EMAIL PROTECTED] wrote: Yes, this sets up the tree. How does it handle expansion/contraction status of nodes? That's trivial - just use: setItemExpanded ( const QTreeWidgetItem * item, bool expand ) of QTreeWidgetItem. Ah, that's not

Re: Nested @path seems to not work

2008-10-01 Thread Edward K. Ream
On Wed, Oct 1, 2008 at 2:27 PM, fernanda cardoso [EMAIL PROTECTED] wrote: sorry,please dont send more email for me about that pleasethank a lot I've edited your leo-editor settings so you don't get any email at all. You can read posts on the web, or you can edit your settings as you like.