Re: Inspired by Vitalije's prototype

2018-06-01 Thread Terry Brown
On Fri, Jun 1, 2018 at 2:57 PM, vitalije wrote: > This is exactly why I was reluctant to share unfinished prototype. I did > beg you though, not to make any decisions before the prototype is finished, > but it seems too hard to resist. I couldn't resist the temptation to share > the unfinished

Re: Inspired by Vitalije's prototype

2018-06-01 Thread vitalije
This is exactly why I was reluctant to share unfinished prototype. I did beg you though, not to make any decisions before the prototype is finished, but it seems too hard to resist. I couldn't resist the temptation to share the unfinished code, you couldn't resits to make decisions. I'll write

Re: ENB: detailed study of Vilalije's code

2018-06-01 Thread Edward K. Ream
On Thu, May 31, 2018 at 2:55 PM, vitalije wrote: > Having said that, the ivars() method is dubious, and imo should be >> replaced by explicit assignments >> ​..​ >> . > > Well, in my opinion this make code ugly. > ​I'm happy with whatever you do in the prototype. As I have just said in the

Inspired by Vitalije's prototype

2018-06-01 Thread Edward K. Ream
Here are my thoughts after several days of intense study of Vitalije's prototype. 1. The top priority will be to accelerate Leo's read code, using xml.etree.ElementTree and much faster scanning of external files. The goal will be to be able to do without caching. Imo, it's doable. I'll create

Re: How to enable a theme?

2018-06-01 Thread Arjan
Aha, so my problem was just the missing `=`. Thanks! -- 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

Re: How to enable a theme?

2018-06-01 Thread Chris George
Hi Arjan, Here is my setup. 1. Pick a theme. I use BreezeDarkTheme. 2. Copy the file from .../leo-editor/leo/themes to ~/.leo and rename it (I used BreezeDarkThemeLocal) 3. Add a node under @settings in myLeoSettings with the headline @string theme-name = BreezeDarkThemeLocal. 4. Restart Leo.

Heads up: #917 fixed, but needs more testing

2018-06-01 Thread Edward K. Ream
Rev 74e0557 in "devel" apparently fixes #917. Preliminary tests all pass, but use caution. Please report any problems immediately. 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

How to enable a theme?

2018-06-01 Thread Arjan
I'm trying to enable a theme, but I seem to be missing something. The docs say: To enable a theme, put the following setting in myLeoSettings.leo: > @string theme-name I tried putting `@string theme-name LeoBlackSolarized.leo` (also without .leo) in myLeoSettings, but no changes take effect

New leo-model repository

2018-06-01 Thread Edward K. Ream
The leo-model repo will be the place for Vitalije and I to share code. The present code comes from the attachment in this post , with modifications that I have been describing on

Re: LeoModel2.zip: Updated version of Vitalije's prototype

2018-06-01 Thread Edward K. Ream
On Thu, May 31, 2018 at 2:20 PM, vitalije wrote: > Anyway, LeoTreeModel should check if the gnxes are different and insert >> node accordingly. >> >> Done. I have added method changeGnx(oldgnx, newgnx) to LeoTreeModel and > loading external files now checks to see if the gnx in xml and in

Re: how to debug leo: abbreviation

2018-06-01 Thread Edward K. Ream
On Fri, Jun 1, 2018 at 12:00 AM, Jeremy Chen wrote: > Hi, > > I can't live without Leo's abbreviation function now and I'm using it both > on Mac and Windows. > ​Glad you like it. I noticed one setting was missing when it wasn't working: [M] @bool > enableabbreviations = True > > Is there a