Re: What is the `a="E"` attribute in my .leo file for?

2016-12-05 Thread Edward K. Ream
On Mon, Dec 5, 2016 at 6:01 PM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: > When I save the file in Leo on Ubuntu, the V nodes get an `a="E"` > > attribute, but not on Windows. This is cluttering my git history. > > I think, subject to Edward confirming, it marks the node

Re: What is the `a="E"` attribute in my .leo file for?

2016-12-05 Thread Arjan
Ah, that makes sense, some experimenting seems to confirm this. That means the pattern I thought I saw was just accidental. Storing the content in separate files seems like a good idea, I guess, but will require more careful organization - I'm experimenting a lot with cloning and working in dif

Re: What is the `a="E"` attribute in my .leo file for?

2016-12-05 Thread 'Terry Brown' via leo-editor
On Mon, 5 Dec 2016 14:29:42 -0800 (PST) Arjan wrote: > Hi, I'm still new to leo and slowly learning to work with it. I have > a notes.leo file which I'm working on from two different computers > (one Windows, one Linux, but with the same Python and Leo versions). > > When I save the file in Leo

What is the `a="E"` attribute in my .leo file for?

2016-12-05 Thread Arjan
Hi, I'm still new to leo and slowly learning to work with it. I have a notes.leo file which I'm working on from two different computers (one Windows, one Linux, but with the same Python and Leo versions). When I save the file in Leo on Ubuntu, the V nodes get an `a="E"` attribute, but not on Wi

Re: 3 important projects at once

2016-12-05 Thread 'Terry Brown' via leo-editor
Yes, search for tree-declutter in leoSettings.leo. set @bool tree-declutter = True then @settings node @data tree-declutter-patterns can contain patterns like: # remove @clean and use an iconRULE ^@clean (.*)REPLACE \1ICON file_icons/file_clean.png # show the last part of long filenamesRULE ^.{1,

Re: 3 important projects at once

2016-12-05 Thread djc
Did anyone ever implement the functionality Terry mentions regarding hiding/showing the @auto, @clean etc. directives in the outline view? On Wednesday, 25 February 2015 11:43:19 UTC-7, Terry Brown wrote: > > On Mon, 23 Feb 2015 05:24:30 -0800 (PST) > "Edward K. Ream" > wrote: > > > I am now wo

All importers are ready for real testing

2016-12-05 Thread Edward K. Ream
Rev 4824283 completes work on the new javascript importer. All importers have now been converted to the new code base. All relevant unit tests pass. Many tests are considerably strong than before. Please report any problems with any importer immediately. I plan no further work on the importe

Re: creating an outline programatically

2016-12-05 Thread djc
Thanksthis helps. I played with it over the weekend and actually got to something that worked for what I was trying to accomplish, but this is more flexible and helps in starting to dig into the code. I will keep asking questions as they come up. djc On Saturday, 3 December 2016 15:41:2

Re: Importers to-do

2016-12-05 Thread Edward K. Ream
On Monday, December 5, 2016 at 3:10:15 AM UTC-6, Edward K. Ream wrote: > So while the complexity is unavoidable, it's all in one place where future maintainers can understand them fairly easily. In fact, the C_Importer class consists of only four methods: two override corresponding methods in t

Re: Importers to-do

2016-12-05 Thread Edward K. Ream
On Sunday, December 4, 2016 at 5:45:37 AM UTC-6, Edward K. Ream wrote: > > I have declared #334 : > to be complete. In fact, Leo's importers are clearly as simple as possible. > i.gen_lines now supports skip counts, and in a more flexible manne