python_terminal.py

2018-11-02 Thread Chris George
I recently had occasion to install Leo into a brand new vanilla Ubuntu. I 
had no myLeoSettings.leo so the default settings were loaded.

python_terminal.py is enabled by default.

I won't go into the nasty error messages etc. that trying to run Leo with 
python 3.6.6 and PyQt 5.11.2 spewed at me.

The solution was to disable this plugin.

Leo 5.8.1 devel, build 20181013173725, Sat Oct 13 17:37:25 PDT 2018
Git repo info: branch = devel, commit = b8b58c877c61
Python 3.6.6, PyQt version 5.11.2
linux

Neon Linux - A KDE Plasma desktop on top of Ubuntu 18.04.

Perhaps it would be prudent to disable this plugin in the default settings 
in LeoSettings.leo.

Chris

-- 
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 email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: LeoWapp plans

2018-11-02 Thread Terry Brown
On Thu, 1 Nov 2018 20:41:48 -0700 (PDT)
Matt Wilkie  wrote:

> > I think "Flexx uses tornado" was a crossing of threads (ha ha ha),
> > I don't think it does. 
> 
> I know nothing about web sockets or the frameworks discussed in this 
> thread, but the docs say 
> 
> *"Flexx further depends on the following packages (all are pure
> Python, and the latter three are projects under the flexxui
> umbrella): Tornado, PScript,Webruntime,Dialite". *So yes it uses
> Tornado, but maybe not for sockets -- there is wording in 
> https://flexx.readthedocs.io/en/stable/app/api.html?highlight=tornado 
> indicating that while Tornado is required right now they're leaving
> the door open for different back ends in future.
> 
> Matt

Ah, good catch - I was aware of the other dependencies which are Flexx
offshoots, but overlooked Tornado.

If Flexx ends up with no role beyond passing messages between Leo and
Javascript, it would probably be better to just use Tornado or
something to do that.

Cheers -Terry

-- 
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 email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Line numbers position - how to adjust the spacing?

2018-11-02 Thread Alexey Tikhonov
I'm using BreezeDarkTheme.

I need a monospace font for my Fortran projects and, probably, I broke the
stylesheet logic by forcing the font in my_outline to be Courier New:
@string font-family = Courier New

Actually, I need a monospace font in the body panel only but
setting @string body-font-family didn't help me with that. I attached
my_outline.leo and MyLeoSettings.leo.


пт, 2 нояб. 2018 г. в 15:40, Edward K. Ream :

> On Fri, Nov 2, 2018 at 3:02 AM Alexey Tikhonov 
> wrote:
>
>> Hello!
>>
>> Could somebody tell me, how I could set up the position of the body panel
>> to have the line numbers fully visible?
>>
>
> Hmm.  The style sheet should do that.  What theme are you using?
>
> Edward
>
> --
> 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
> email to leo-editor+unsubscr...@googlegroups.com.
> To post to this group, send email to leo-editor@googlegroups.com.
> Visit this group at https://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


my_outline.leo
Description: Binary data


myLeoSettings.leo
Description: Binary data


Heads up: refactored unit testing code in devel

2018-11-02 Thread Edward K. Ream
Rev 600ed3 refactors TM.doTests, the code that runs unit tests locally. 
This should have been done ages ago.

The code adds support for the browser gui, but that code should be moot as 
of rev ba98c1, which disables running unit tests when --gui=browser is in 
effect.  At present, weird things happen in skeleton when running unit 
tests from the browser gui.

Everything appears to work in both the devel and skeleton branches, so I 
thought it best to cherry pick leoTest.py from skeleton branch.  Nothing 
would be gained by delaying wider testing.

There is another reason for updating devel.  The devel branch, not 
skeleton, will be the basis for one or more branches that remove support 
for --script and/or run-*-unit-tests-locally.  That won't start for about a 
week, to give people a chance to comment or complain.

Edward

-- 
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 email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Might be interesting for Leo WebApp

2018-11-02 Thread Edward K. Ream
On Thu, Nov 1, 2018 at 11:05 PM Matt Wilkie wrote:

2 things from https://dynalist.io/why that immediately jump out at me as
> very good ideas:
>
>- `[[` combined with find-as-type to create a link to anywhere
>- Move with find-as-type to move anywhere
>
> Really they're the same idea with different verbs: link, move, copy. I
> like the concept of replacing {action}{navigate}{target} with
> {action}{target}. Spiritually similar to Leo *clone-to-at-spot *and
> *clone-to-last-node* but without predefined destinations.
>

Please file an enhancement request.

Edward

-- 
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 email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: LeoWapp plans

2018-11-02 Thread Edward K. Ream
On Thu, Nov 1, 2018 at 10:41 PM Matt Wilkie  wrote:

> I think "Flexx uses tornado" was a crossing of threads (ha ha ha), I
>> don't think it does.
>>
>
> I know nothing about web sockets or the frameworks discussed in this
> thread, but the docs say
>  *"Flexx
> further depends on the following packages (all are pure Python, and the
> latter three are projects under the flexxui umbrella): Tornado,
> PScript,Webruntime,Dialite". *So yes it uses Tornado, but maybe not for
> sockets -- there is wording in
> https://flexx.readthedocs.io/en/stable/app/api.html?highlight=tornado
> indicating that while Tornado is required right now they're leaving the
> door open for different back ends in future.
>

Matt, I'm not sure how this will affect your distro work.  I do know that
the following pulls in a lot of packages:  conda install flexx -c
conda-forge

Edward

-- 
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 email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.