On Mon, Nov 14, 2011 at 7:33 PM, Terry Brown wrote:
>> When I try the above, I see a window appear and then immediately
>> disappear. Is there something else I need to do in order to keep the
>> window around?
>
> When the script exits the sole reference to the window, w, ceases to
> exist, so t
On Mon, Nov 14, 2011 at 11:49 AM, Josef wrote:
> Well, unfortunately the comment delimiters are the problem. When
> trying to embed SQL or Lua in Python strings, this means the resulting
> strings contain comments starting with "#", which is not recognized as
> a valid comment delimiter in either
On Mon, Nov 14, 2011 at 12:33 PM, Kent Tenney wrote:
> I'm going to implement this as a button/plugin, the the feature
> list I want keeps growing, so ...
>
> Nevermind.
It sounds like a useful feature. Please keep us posted.
Edward
--
You received this message because you are subscribed to t
For the last few days Leo's add-comment command has put comment
delimiters at the left edge. This was a side effect of fixing the
command for languages like html do not have single-line comment
delimiters. I did not like this new way of working at all.
Today I restored Leo's legacy operation (mi
I am going to make this a new thread to emphasize its importance.
Not reading settings when Leo runs external unit tests was a
disastrous mistake. The "savings" of 0.3 seconds ruined many unit
tests. Changing one argument in leoDynamicTest.py.main() corrects that
mistake.
This fix, combined with
why do you need leoQtFrame? It's recommended to use qwidgets directly, that
way your code won't break if Leo classes are modified.
On Nov 15, 2011 1:20 AM, "Brian Theado" wrote:
> I want to learn about PyQt and leo's qtGui. As a first step, I'm
> trying to execute a script from within a leo body
On Nov 14, 4:35 pm, "Edward K. Ream" wrote:
> > It's easy to enforce this constraint. Just set::
>
> > bodyCtrl = widget
>
> Actually, this doesn't work for ivars. Not too big a deal.
On second thought, it is a big deal. Rev 4807 ensures this constraint
by making body.bodyCtrl and log.lo
On Nov 15, 9:31 am, "Edward K. Ream" wrote:
> I am going to make this a new thread to emphasize its importance.
Just a few more words about why I have been willing to devote several
weeks of my life to making external unit tests work just like local
unit tests.
1. The new work demonstrates that
Great! Thanks so much for that tweak. It looks like just what I need:
it will hopefully let me open whatever (even html) externally. I will
give a road test.
Best,
Bill
On Nov 14, 7:03 pm, Terry Brown wrote:
> On Sun, 13 Nov 2011 21:53:03 -0800 (PST)
>
> wgw wrote:
> > I installed the active_p
On Nov 15, 9:11 am, "Edward K. Ream" wrote:
> For the last few days Leo's add-comment command has put comment
> delimiters at the left edge. This was a side effect of fixing the
> command for languages like html do not have single-line comment
> delimiters. I did not like this new way of working
On Nov 15, 12:05 pm, "Edward K. Ream" wrote:
> I'll start this never-ending project by upgrading the docstrings for
> add-comments and delete-comments.
Done at rev 4809.
As so often happens, adding documentation got me thinking, which
resulted in improving both add-comments and delete-comments
> Docstrings, and F1 (help-for-command), may be the middle ground that
> resolves the tension between Kent's desire for documentation and my
> belief that nobody reads them.
>
> As a minimal standard, the docstring for a command should mention all
> settings that pertain to that command. We would
On Tue, Nov 15, 2011 at 11:16 AM, Ville M. Vainio wrote:
> why do you need leoQtFrame? It's recommended to use qwidgets directly, that
> way your code won't break if Leo classes are modified.
>
This is just one-off code with the intention of interactively playing
with bits and pieces of Leo code.
v4.9.1 build 4669
WinXP
If I 'Open' a file, I get the following node header:
@edit E:/Documents/index.html
If I 'Import' the same file, I get the following:
@file E:\Documents\index.html
Just wondering why the difference between
E:/ and E:\
This is probably trivial and of no consequence, but
Suppose my focus node is under a @path directive, say @path E:
\Documents\Some Folder\
Is there a setting that would cause the 'File>Open' or 'File>Import
File' commands to begin the search dialog in the directory, E:
\Documents\Some Folder\ instead of the last directory used?
Would others find t
15 matches
Mail list logo