Re: leo4sqlite plugin

2018-01-17 Thread tscv11
I thought you might want to review the current docstring for leo4sqlite, so here it is. Hopefully reST is okay - I saw it in another plugin's docstring so I went ahead. tscv11 -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from

Re: Undoer class Problem

2018-01-17 Thread Adrian
ok "setUndoTypingParams" gets called frequently, of course, but "recognizeStartOfTypingWord" NEVER gets called which would explain why "word" granulairty seems identical to "char" granularity. (I can move this to bug tracker if desired) The logic that leads to the execution of

Re: Undoer class Problem

2018-01-17 Thread Adrian
OK, I will try again. Thanks! On Monday, January 8, 2018 at 7:21:21 AM UTC-6, Dev Eloper wrote: > > Hello, > > I have undo granularity set to "word". According to the embedded docs, > this should occasionally trigger "recognizeStartOfTypingWord". > > I want to modify this function so that undo

Re: Letter of appreciation

2018-01-17 Thread Adrian
Thanks for keeping up your effort, and not letting your illness defeat you. TSCV11. Don't forget you are not alone. On Thursday, January 11, 2018 at 8:22:59 PM UTC-6, tscv11 wrote: > > > I am an older disabled man with bipolar disorder who uses Leo as daily > therapy. I'd like to say thanks

Re: Leo's usage tips

2018-01-17 Thread Terry Brown
On Wed, 17 Jan 2018 03:29:22 -0800 (PST) "Edward K. Ream" wrote: > Ok. I'll see what I can do. The code will be part of the > LoadManager class, with perhaps some other excursions. I plan to > have a prototype working today. Didn't read ahead far enough to see this - go

Re: My javascript mistake

2018-01-17 Thread Terry Brown
On Wed, 17 Jan 2018 01:50:37 -0800 (PST) rengel wrote: > On Wednesday, January 17, 2018 at 9:56:27 AM UTC+1, Edward K. Ream > wrote: > > > > On Tue, Jan 16, 2018 at 6:08 PM, Terry Brown > > wrote: > > > > Probably want to support JSX as well

Re: Leo's usage tips

2018-01-17 Thread Terry Brown
On Wed, 17 Jan 2018 00:51:37 -0800 (PST) vitalije wrote: > It > seems to me that we can have a new command to collect tips and store > it in g.app.db['leo-tips']. From there they can be displayed in > regular vr pane, or even better, they can be stored in pre-rendered >

Re: Create custom menu items by referencing your existing buttons

2018-01-17 Thread lewis
Not at all On Wednesday, January 17, 2018 at 7:58:34 PM UTC+11, Edward K. Ream wrote: > > > ... Does it bother you? > -- 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

Re: My javascript mistake

2018-01-17 Thread vitalije
In the file from the previous post, there few special regex patterns that make js importer fail. If you delete those lines 2595-2613 from jquery.terminal.js, importer will successfully import the file. Looking in generated tree here are few example nodes: //headline:if (typeof define ===

Re: My javascript mistake

2018-01-17 Thread vitalije
Well, obviously we don't agree on what "reasonably" imported code look like. I have had encountered dozens of js files that *are* imported correctly in terms that they can be written again with the file content unchanged, but they all suffered from creating too many or too few nodes and I had

Re: Leo's usage tips

2018-01-17 Thread Edward K. Ream
On Wednesday, January 17, 2018 at 2:51:37 AM UTC-6, vitalije wrote: I have never claimed to be very good in PyQt, if you want me to take this, > I will. But if you or Terry or someone else with more PyQt > skills/affinities wish to implement it I wouldn't mind at all. > Ok. I'll see what I

Matt, what's the status of #562?

2018-01-17 Thread Edward K. Ream
The discussion in #562 is long. Could you please summarize the present status and what, if anything, I might need to do. I would like to release the next version of Leo once all this is resolved. Edward -- You received this message

Re: My javascript mistake

2018-01-17 Thread Edward K. Ream
On Wednesday, January 17, 2018 at 4:41:30 AM UTC-6, Edward K. Ream wrote: On Wed, Jan 17, 2018 at 3:54 AM, vitalije wrote: > > Regarding js importing, after some research about the topic, I concluded >> it is not possible/practical to make perfect js importer that can fully

Re: My javascript mistake

2018-01-17 Thread Edward K. Ream
On Wed, Jan 17, 2018 at 4:41 AM, Edward K. Ream wrote: The other part of the puzzle is the J > ​​ > S_ScanState class. It keeps track of context and counts of parents and > curly brackets. > ​Oops. ​The ​JS_ScanState class keeps track of counts of *parens* and curly

Re: My javascript mistake

2018-01-17 Thread Edward K. Ream
On Wed, Jan 17, 2018 at 3:54 AM, vitalije wrote: Regarding js importing, after some research about the topic, I concluded it > is not possible/practical to make perfect js importer that can fully import > javascript code on its own. > ​I have reached the opposite

Re: My javascript mistake

2018-01-17 Thread vitalije
Regarding js importing, after some research about the topic, I concluded it is not possible/practical to make perfect js importer that can fully import javascript code on its own. Doing it right would require building complete AI for this problem space and perhaps dealing with neural networks

Re: Create custom menu items by referencing your existing buttons

2018-01-17 Thread Edward K. Ream
On Tue, Jan 16, 2018 at 5:49 PM, lewis wrote: > It seemed like an unintended 'feature' to me :) > ​@command and @button create commands, so I see no reason to do anything about this situation. Does it bother you? Edward -- You received this message because you are

Re: My javascript mistake

2018-01-17 Thread Edward K. Ream
On Tue, Jan 16, 2018 at 6:08 PM, Terry Brown wrote: Probably want to support JSX as well :-) > ​Which jsx do you mean? - https://jsx.github.io/ - https://facebook.github.io/jsx/ - https://reactjs.org/docs/jsx-in-depth.html​ Edward -- You received this message because