I'm primarily a lurker here, but I have a question--I could research this on my own, but I thought I'd start by just asking.
Can anyone provide a simple explanation (or maybe just answer the following questions) about how text (nodes and headlines) is handled in Leo when a file is "resident" in Leo? I presume all the text (nodes and headlines) are stored in memory at that point (i.e., rather than being paged in or similar from disk)? When a node (or headline) is actually displayed in Leo, is an additional copy of that text made, or does the "text widget" simply access the one copy of text in RAM by means of something analagous to a pointer (reference, ..., or whatever)? I'll probably have more questions later. (You (everyone) should probably ignore the following ;-) The reason I ask is that: * although I like the concept of Leo (outline based editing), I'm not really comfortable with Leo's approach to editing, and am more comfortable with what I'll call a more traditional approach, more like folding in text editors that support folding (or collapsible outlining in MS Word). If someone presses me on exactly why, I'll probably have to think about it/remind myself before replying. (One simple thing that I can remember is searching--in a "traditional" folding editor, the text is stored (primarily) as plain text and I can use applications like recoll to index and search the files, with searches that treat headlines and body text the same. In Leo, iirc, I have to do a few more gymnastics, even with the built in search. Also, I have almost a religious objection to "real time" searches (for example: a grep) as opposed to index based searches.) * my favorite editor (Nedit) unfortunately doesn't support folding (or at least not very well--there are some ugly workarounds possible, and I've even implemented one, but it is very ugly)--one of my desires is to modify Nedit to have a real folding mechanism, and one of the keys to that (imho) is a good storage mechanism for the text--folded text has to be (again, imho) removed from the "view" of the text display widget, yet remain easily accessible for unfolding. Maybe the storage mechanism used by Leo for folded text will be useful in Nedit (ignoring that Nedit is programmed in C and Leo in Python). OTOH, recently I heard about Scite (including here and other places)--it sounds like it might do most of the things I want (among other things, folding, a good macro language, and recordable keyboard macros (which can be edited)--after I upgrade my computer / distro, I'll install Scite and try it out. (I ran into too many dependency problems on my current Mandriva2006 installation and didn't want to chance messing something up. Thanks! Randy Kramer -- I didn't have time to write a short letter, so I created a video instead.--with apologies to Cicero, et.al. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
