Re: hoist/dehoist

2020-07-06 Thread Félix
Nevermind the hoist/de-hoist I've got it under control! :) works great with this: def getChildren(self, p_ap): '''EMIT OUT list of children of a node''' if p_ap: w_p = self.ap_to_p(p_ap) if w_p and w_p.hasChildren(): return self.outputPNodes(w_p.children()) else: return self.outputPNodes([]) # d

Re: hoist/dehoist

2020-07-06 Thread Félix
Just thought I'd add a little thing: If anyone who knows Leo's codebase wants to help with leoInteg, a nice little thing would be to go through the issues at your leisure, and comment if it rings a bell in relation to a 'helper function' in Leo that might do something in particular to accompli

hoist/dehoist

2020-07-06 Thread Félix
Hi Edward, Another little question here, while trying to find a way to implement hoist/dehoist: Would checking if hoistStack has lenght (is thruty), and using its top entry's "p" as a target (to return its children list) instead of the root node of the tree work? I think so but I Just wanted

Re: Install and use Leointeg with Anaconda python

2020-07-06 Thread Félix
Hmm... Choosing which python to use in vscode says to me you want to start the leobridge server via the vscode debugger (see debug panel, open top dropdown and choose 'run both') which renders the 'auto start' setting via leoInteg setting totally superflous in that case, and should be kept dis

Re: Install and use Leointeg with Anaconda python

2020-07-06 Thread Matt Wilkie
> I just noticed you ran "npm audit fix" after running "npm install" so i'm > not sure what dependency might have been raised to a version that might be > problematic. > Interesting. The first time I ran `npm install` in red text it reported 320 vulnerabilities 70 of which were severe. (I neg

Please test: making leoAst.py stand-alone

2020-07-06 Thread Edward K. Ream
Recent revs add support for command-line arguments when running leo/core/leoAst.py directly: ...leo-editor\leo\core>python leoAst.py -h usage: leoAst.py --help leoAst.py [--fstringify | --fstringify-diff | --orange | --orange-diff] PATHS leoAst.py --pytest ["-k ARGS"] leoAst.py

Re: You didn't ask for it but it's here anyways! LeoInteg 0.1.12

2020-07-06 Thread Edward K. Ream
On Mon, Jul 6, 2020 at 6:27 AM Félix wrote: That's the webkit compilation terminal, to be closed at any key press to > reveal the server-script launch terminal underneath. there Is also a toggle > to switch from one terminal to the next in the upper right corner of vscode > terminal pane. > > Hop

Re: Install and use Leointeg with Anaconda python

2020-07-06 Thread Félix
Hi Matt, Thanks again for your contributions that will greatly improve leoIntegs documentation, and handling of Miniconda/Anaconda python installations people might have. I just noticed you ran "npm audit fix" after running "npm install" so i'm not sure what dependency might have been raised t

Re: LeoInteg: Multi-file support on the dev branch

2020-07-06 Thread Félix
Yeah i totally forgot about that little bugfix made in Leo itself to accomodate Leointeg when releasing to LeoInteg's master branch a couple days ago. Should have had a big mention in the readme/contributing.md to use Leo/Devel until its next release !! I'll make sure to to that soon (made

Re: LeoInteg: Multi-file support on the dev branch

2020-07-06 Thread Arjan
Right, I'm at Leo 6.2.1 final, didn't know it depends on new Leo functionality! Thanks, will try later. On Monday, July 6, 2020 at 1:23:23 PM UTC+2, Félix wrote: > > Please copy your leo log pane content to see what version of Leo you're > using. My guess is you're not on the development branch.

Re: You didn't ask for it but it's here anyways! LeoInteg 0.1.12

2020-07-06 Thread Félix
That's the webkit compilation terminal, to be closed at any key press to reveal the server-script launch terminal underneath. there Is also a toggle to switch from one terminal to the next in the upper right corner of vscode terminal pane. Hope this helps. Please check if you can reproduce wha

Re: LeoInteg: Multi-file support on the dev branch

2020-07-06 Thread Félix
Please copy your leo log pane content to see what version of Leo you're using. My guess is you're not on the development branch. (This won't be necessary at the next leo release for 6.3 or something close to that) -- You received this message because you are subscribed to the Google Groups "le

Re: LeoInteg: Multi-file support on the dev branch

2020-07-06 Thread Arjan
I'm on the latest version on the master branch (2020-07-04 692173d), and I see the "Open Leo File" (both under the outline and under "LEO DOCUMENTS"), but using this opens the new Leo outline instead, it doesn't keep the previously opened file in the list. Actually the documents view doesn't sh

Re: You didn't ask for it but it's here anyways! LeoInteg 0.1.12

2020-07-06 Thread Edward K. Ream
On Sun, Jul 5, 2020 at 5:53 PM Félix wrote: > hmm... What I meant by that is that since I try to mimic Leo, i dont > necessarily want the print to output in the log pane, and just have 'print' > output to the stdout/terminal as I already do. > > Can you confirm that ctrl+b on scripts that do 'pr

Re: Install and use Leointeg with Anaconda python

2020-07-06 Thread Edward K. Ream
On Sun, Jul 5, 2020 at 11:56 PM Matt Wilkie wrote: *> My notes from getting vscode and Leointeg working today. Both tools are completely new to me.* Thanks Matt. This will help Leonistas start playing with Félix's work. > Switch back to the original vscode window. Open a terminal in vscode [Ctr