Re: Pyodide - Like Jython for Javascript With Jupyter-like Notebooks

2019-12-16 Thread Thomas Passin
It occurs to me that ViewRendered2 does part of what Iodide and Jupyter do. You can mix whole trees of nodes between code and text. rst, or md. You can also do Python calculations and display the results in the pane. It's actually much easier moving around and finding your place with Leo, of

Re: Pyodide - Like Jython for Javascript With Jupyter-like Notebooks

2019-12-16 Thread Edward K. Ream
On Sun, Dec 15, 2019 at 5:40 PM Thomas Passin wrote: > I just stumbled onto Pyodide, and it's very impressive. It produces > Jupyter-like notebooks in a browser. > Thanks for this link. This is an exciting time for python, now that webasm promises to open browsers to

The fix for unsaved files has been merged into devel

2019-12-16 Thread Edward K. Ream
The new code fixes #1451 and is a thorough rewrite of all undo-related code. It's much simpler and robust than before. I have been happily eating my own dog food for several days. Please report any problems immediately. I have updated code as necessary throughout Leo's core, all plugins, uni

Re: Progress report re #1451: unsaved files

2019-12-16 Thread Edward K. Ream
On Sun, Dec 15, 2019 at 8:03 PM Brian Theado wrote: I didn't notice these comments until just now... > The way I describe it implies two separate pieces of data (dirty counter and dirty bit) and I think that's what you mean when you say "new caching"? Yes. > I don't think perfect bookkeeping o

Re: Progress report re #1451: unsaved files

2019-12-16 Thread Edward K. Ream
On Sun, Dec 15, 2019 at 8:03 PM Brian Theado wrote: > It is a different issue, but one being created as "collateral damage" by the dirty changes you are making for #1451. Or am I misunderstanding? I mean the scenario I described where the user gets unnecessarily prompted about saving changes it n