Re: Apply Leo's main stylesheet to plugin window

2015-08-25 Thread john lunzer
Sounds like a plan, I'll check it out soon, thanks for the link to the demo widget. On Tuesday, August 25, 2015 at 1:18:30 PM UTC-4, Terry Brown wrote: > > On Tue, 25 Aug 2015 10:14:17 -0700 (PDT) > john lunzer > wrote: > > > I'm at the point where I'm trying to convert my quick-replace > > @c

Re: NEW: Edit Settings menu

2015-08-25 Thread 'Terry Brown' via leo-editor
On Tue, 25 Aug 2015 10:18:47 -0700 (PDT) "Edward K. Ream" wrote: > On Tuesday, August 25, 2015 at 9:53:01 AM UTC-5, Edward K. Ream wrote: > > > ...it's time to declare that configuration setting should never be > cached. Instead code should always call c.config.getX. We shouldn't > sacrifice

Re: Apply Leo's main stylesheet to plugin window

2015-08-25 Thread 'Terry Brown' via leo-editor
On Tue, 25 Aug 2015 10:14:17 -0700 (PDT) john lunzer wrote: > I'm at the point where I'm trying to convert my quick-replace > @command to a plugin and I looked around in the current plugins but I > couldn't find an example of how I apply Leo's main stylesheet to > floating QtWidgets. I'm trying t

Re: NEW: Edit Settings menu

2015-08-25 Thread Edward K. Ream
On Tuesday, August 25, 2015 at 9:53:01 AM UTC-5, Edward K. Ream wrote: > ...it's time to declare that configuration setting should never be cached. Instead code should always call c.config.getX. We shouldn't sacrifice flexibility to save a few millionths of a second here and there. There is an

Apply Leo's main stylesheet to plugin window

2015-08-25 Thread john lunzer
I'm at the point where I'm trying to convert my quick-replace @command to a plugin and I looked around in the current plugins but I couldn't find an example of how I apply Leo's main stylesheet to floating QtWidgets. I'm trying to match Leo's look and feel. Any guidance would be greatly appreci

Re: Wrap around search/replace in the Find tab

2015-08-25 Thread reinhard . engel . de
On Tuesday, August 25, 2015 at 5:19:47 PM UTC+2, Edward K. Ream wrote: > > > > On Mon, Aug 24, 2015 at 8:56 AM, > > wrote: > >> ... would be a nice feature. >> > > ​Please file a wishlist bug at > https://github.com/leo-editor/leo-editor/issues. > > Sorry, I thought I deleted this 'wish' a couple

Re: Running a Qt application with Ctrl-B

2015-08-25 Thread reinhard . engel . de
> > @Terry and Edward > Thank you both for your detailed answers! I tried both methods, and both work like a charm. Reinhard -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, se

Re: Wrap around search/replace in the Find tab

2015-08-25 Thread Edward K. Ream
On Mon, Aug 24, 2015 at 8:56 AM, wrote: > ... would be a nice feature. > ​Please file a wishlist bug at https://github.com/leo-editor/leo-editor/issues. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and sto

Re: Find tab: forward wrapping does not work

2015-08-25 Thread Edward K. Ream
On Mon, Aug 24, 2015 at 9:38 AM, wrote: > When searching forward (F3) in the Find tab, the search stops at the last > found item: 'not found (wrapping)'. > ​This may be a recent problem. Please file an official bug report. EKR -- You received this message because you are subscribed to the Go

Re: Bug in Find tab

2015-08-25 Thread Edward K. Ream
On Tue, Aug 25, 2015 at 1:32 AM, wrote: > To reproduce the bug: > > 1. Activate the Find tab > (By default, the option 'Ignore case' is deactivated.) > > 2. Enter an ALLCAPS term into the 'Find' field. > > 3. Press the button 'Find Next: F3'. > > The bug: > > The option 'Ignore case' gets

Re: Running a Qt application with Ctrl-B

2015-08-25 Thread Edward K. Ream
On Tue, Aug 25, 2015 at 5:26 AM, wrote: > May be this is a stupid question: > ​There are no stupid questions, only stupid answers :-) ​ > I'm trying to import a large Qt application into Leo. For testing, I > created a script in a single node with the headline ' > ​​ > @clean QtTest.pyw)' and

Re: NEW: Edit Settings menu

2015-08-25 Thread Edward K. Ream
On Mon, Aug 24, 2015 at 9:38 AM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: > On Mon, 24 Aug 2015 09:21:36 -0500 > "Edward K. Ream" wrote: > > I was really only referring to Reload settings to see appearance > changes, which I think should work. I thought it used to work,

Re: Increasing the "instant appeal" of Leo

2015-08-25 Thread Edward K. Ream
On Mon, Aug 24, 2015 at 9:28 AM, Kent Tenney wrote: > Right, and the bindings are great for someone coming > to vim via Leo, hence only interested in the ones Leo implements. > > I'm talking about users with vim experience, they will be drawn > to the 'edit file in vim' feature which offers the f

Re: Running a Qt application with Ctrl-B

2015-08-25 Thread 'Terry Brown' via leo-editor
On Tue, 25 Aug 2015 03:26:58 -0700 (PDT) reinhard.engel...@googlemail.com wrote: > May be this is a stupid question: > I'm trying to import a large Qt application into Leo. For testing, I > created a script in a single node with the headline '@clean > QtTest.pyw)' and the following body: > > @la

Re: pyw as extension for @clean imports

2015-08-25 Thread Edward K. Ream
On Tue, Aug 25, 2015 at 5:51 AM, wrote: > Thank you! > ​You're welcome :-)​ > > I added the '.pyw' extension to the extensions list in the Python importer. > Everything works fine now. > ​Just to be clear, pulling 859dea9bd should do this automatically. EKR -- You received this message bec

Re: pyw as extension for @clean imports

2015-08-25 Thread reinhard . engel . de
Thank you! I added the '.pyw' extension to the extensions list in the Python importer. Everything works fine now. Reinhard -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an

Running a Qt application with Ctrl-B

2015-08-25 Thread reinhard . engel . de
May be this is a stupid question: I'm trying to import a large Qt application into Leo. For testing, I created a script in a single node with the headline '@clean QtTest.pyw)' and the following body: @language python @tabwidth -4 import sys from PyQt5.QtCore import QObject from PyQt5.QtWidgets