Re: How important is LeoWapp to you?

2018-12-09 Thread pimgeek
- How important?
  - So important that I may contribute code for it in future.

- How would I use it?
  - I've been searching for note-taking tools which support DAG data 
structure editing, so that I can organize my thought fragments in a 
non-linear flexible way. When non-linear editing is not a problem, I would 
like to publish a subset of my notes online(with comment box for getting 
feedback) in order to share my thoughts and attract readers and 
collaborators.
  - Currently I've purchased TheBrain10 Pro, which can satisify much of my 
needs. However, it's close-sourced software and doesn't provide API access, 
so I have to use its Cloud Publishing service and somewhat limited default 
web interface(node and line graph view), which is not ideal for me.
  - But here comes leoWapp project, it seems I can achieve my goals without 
locking down my data to a proprietary database, so it's like a very 
promising alternative solution. (I've used leo-editor client app for a 
while and know it's highly customizable)

Hope this helps. :-)

在 2018年12月4日星期二 UTC+8下午11:37:26,Edward K. Ream写道:
>
> As I explain here 
> , there 
> is no doubt in my mind that leoflexx.py could be made into a commercial 
> app. 
>
> That being so, now is a good time to ask you these questions:
>
> - How important is the LeoWapp project 
>  to you?
> - How likely are you to use it?
>
> I'll probably continue work on LeoWapp for the next week or so in any 
> case, but I'd like to get your responses first.
>
> 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: OMG: the LeoApp class needs no outline data!

2018-11-13 Thread pimgeek
Sounds very promising!

A related question to ask:

Can I turn Leo Editor App into a Leo Data Server by install the leoflexx 
plugin? (and then in theory I can access the data via Web Browser from 
every machine on the internet) :-O

Recently I try to bind Leo Data to a one-page WebApp via package eel 
, and I also noticed package flexx 
. Is that related to leoflexx.py? :-)

在 2018年11月13日星期二 UTC+8下午10:39:19,Edward K. Ream写道:
>
> None of the outline-related data structures mentioned in leoflexx.py 
> progress report 3 
>  are 
> needed!!
>
> Proof: The dicts returned by the app.redraw and app.send_children_to_tree 
> actions contain *all* the data the tree class is ever going to need.  If 
> not, I'll add more.
>
> The LeoApp class itself never needs these data because *LeoApp is on the 
> python side*.  app.make_redraw_dict has full access to real c and p 
> objects.
>
> End of code, end of performance worries.  It takes 0.000 seconds *not *to 
> compute something ;-) app.make_redraw_dict itself takes 0.006 seconds on my 
> machine.
>
> I am on the "put one in, get more than one out" part of the learning curve.
>
> The changeover to the new scheme will happen today or tomorrow.  You can 
> test the new code now by typing "redraw" (without the quotes) in the 
> minibuffer.
>
> 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: How to get viewrendered pane size?

2018-11-13 Thread pimgeek
Thanks for your quick reply!

The problem is, I want to hide / show vr pane but the default Alt-0 method 
always "breaks the layout"  after hiding and re-showing vr pane, it 
moved to an unexpected location.

I have figured out this solution by trail-and-error, is there any simpler 
ways to do it? :-)

# get lowercase leo filename
> this_filename = c.fileName().lower()
> # get vr obj
> vr = g.app.pluginsController.loadedModules['leo.plugins.viewrendered'].
> controllers[this_filename]
> curr_vr_width = vr.width()
> curr_vr_height = vr.height()
> # change pane size
> vr.change_size(...)
>
>
在 2018年11月13日星期二 UTC+8下午9:30:04,Terry Brown写道:
>
> On Mon, 12 Nov 2018 21:16:49 -0800 (PST) 
> pimgeek > wrote: 
>
> > I want to create a changePaneSize @command in myLeoSettings.leo, but 
> > don't know how to get and change pane size, what should I do? 
>
> Probably the easiest thing is to arrange the panes as you want them, 
> then right click the divider between panes (doesn't matter which one), 
> select 'Save Layout', and give the layout a name.  It should persist 
> after 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.


How to get viewrendered pane size?

2018-11-13 Thread pimgeek
I want to create a changePaneSize @command in myLeoSettings.leo, but don't 
know how to get and change pane size, what should I do?

-- 
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.