On 11/22/2013 8:23 AM, Reinhard Engel wrote:
I've seen that the Leo documentation that comes with programm is split into several separate .leo files. Are there any Best Practices for deciding when and how a Leo file should be split in several separate files? With PIMs, I know that much of that is a question of personal preferences.
LeoDocs.leo stores the documentation (and is used to create the website).
CheatSheet.leo is a quick reminder of important concepts.
leoPlugins.leo contains the code for the plugins -- all of which *should* be documented by a docstring. leoSettings.leo and myLeoSettings.leo contain settings -- and as of recent work are fairly self documenting... well, myLeoSettings.leo varies.
quickstart.leo is a newbie's guided tour, sort of
scripts.leo contains a few handy scripts.

The splits here are purely organizational, as far as I know -- conceptual chunks that are easy to understand in isolation, but which would be unwieldy if they were all stored together in one massive outline.

My personal preference is to do this -- one .leo per 'project', though what defines a project is more of a conceptual break rather than a hard and fast separation.

How big can a Leo file grow without noticeable performane degradation?
That depends on your hardware. Leo holds everything in memory to the best of my knowledge. Modern hardware shouldn't have any significant performance issues unless you're holding the entirety of the Linux kernel source in a single .leo outline :p


When opening Leo, is it possible to restore the state of the last session (with all the tabs and opened files).

Leo has session support, though I haven't the slightest where the docs are for this. It involves command-line options. Terry/Edward?

-->Jake

--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to