Re: PHP extension pack, interest?

2017-08-17 Thread Adrian Calvin
Since plugins are so simple in leo, yes I made them so. Since I have your endorsement I'll begin applying leo and python codons standards to it and give what I have, plus suggestions for enhancement and issues over the weekend or next week. On Aug 17, 2017 9:20 AM, "Edward K. Ream" wrote: > > >

Re: Yet another testimonial

2017-06-19 Thread Adrian Calvin
t I need. I have about 4 that are useful to me. I use them at work. I just need to polish them, by formatting them well, and making the docstrings better. I will let you evaluate them soon. Thanks, Adrian On Mon, Jun 19, 2017 at 12:33 PM, Adrian Calvin wrote: > OK, :) Thanks Edward > >

Re: Yet another testimonial

2017-06-19 Thread Adrian Calvin
latest version? >> > > Heh. It's misspellings :-) I don't mind, but the spell checker is happy > with what you wrote and I didn't see any serious grammar problems. So I > would be inclined to leave your words > <http://leoeditor.com/testimonials.html#a

Re: Yet another testimonial

2017-06-18 Thread Adrian Calvin
s now a separate > section on Leo's testimonials page, here > <http://leoeditor.com/testimonials.html#adrian-calvin>. It made my day :-) > > Edward > > -- > You received this message because you are subscribed to a topic in the > Google Groups "leo-edi

Simple Colorizer

2017-06-10 Thread Adrian Calvin
Hi, So I have been studying how to write plugins, and since this seems to be my best effort so far I thought I'd give it away. It is a simple colorizer that uses a yaml based node in your outline to color nodes.

on_key event issue

2017-06-05 Thread Adrian Calvin
I have a very simple event handler for the on_key event: def on_key(kind, keywords): print(keywords) g.registerHandler("bodykey2", on_key) IT captures "true" chars just fine (e.g. abc123#$%^^&), but ESC, CTRL, ALT, BACKSPACE, etc. do not trigger anything for me. What am I doing wrong? --

Re: Embedding your own custom Widget

2017-06-05 Thread Adrian Calvin
Thanks Terry. I got the hang of it now. On Sunday, June 4, 2017 at 1:39:59 PM UTC-5, Adrian Calvin wrote: > > Hi, > > I am trying to figure out the *easiest *way to embed a widget in the > layout, *exactly* like viewrendered. > > The problem is, that being a neophyte t

Re: Embedding your own custom Widget

2017-06-04 Thread Adrian Calvin
OK, I figured out how to embed my new widget manually into the main layout. But I am confused as to how to make it load automatically into the layout. On Sunday, June 4, 2017 at 1:39:59 PM UTC-5, Adrian Calvin wrote: > > Hi, > > I am trying to figure out the *easiest *way to embed

Re: Embedding your own custom Widget

2017-06-04 Thread Adrian Calvin
In my enthusiasm I spoke before testing. This also opens a a window outside of the layout. :( On Sunday, June 4, 2017 at 1:39:59 PM UTC-5, Adrian Calvin wrote: > > Hi, > > I am trying to figure out the *easiest *way to embed a widget in the > layout, *exactly* like viewre

Re: Embedding your own custom Widget

2017-06-04 Thread Adrian Calvin
Sorry, nevermind. The answer is here: http://leoeditor.com/FAQ.html On Sunday, June 4, 2017 at 1:39:59 PM UTC-5, Adrian Calvin wrote: > > Hi, > > I am trying to figure out the *easiest *way to embed a widget in the > layout, *exactly* like viewrendered. > > The problem is,

Embedding your own custom Widget

2017-06-04 Thread Adrian Calvin
Hi, I am trying to figure out the *easiest *way to embed a widget in the layout, *exactly* like viewrendered. The problem is, that being a neophyte to both leo and python, that plugin is just way to complex for me to use as a model or template at the moment. How would I go about embedding a wi

Re: Additional Plugin Dirs

2017-06-03 Thread Adrian Calvin
Well, even though I probably used about an hour too much time on this, at least I learned more about the inner workings of Leo. On Sat, Jun 3, 2017 at 6:11 PM, Adrian Calvin wrote: > > Ah I see, yes. You are correct. > > On Friday, June 2, 2017 at 6:41:27 PM UTC-5, Adrian

Re: Additional Plugin Dirs

2017-06-03 Thread Adrian Calvin
Ah I see, yes. You are correct. On Friday, June 2, 2017 at 6:41:27 PM UTC-5, Adrian Calvin wrote: > > Is there a way to add additional plugin directories to leo just as one > might add additional paths to python? > -- You received this message because you are subscribed to the G

Re: Additional Plugin Dirs

2017-06-03 Thread Adrian Calvin
Ideally, I suppose, one should not need to specify the package. I guess I could write a simple path traversal of the python path and whenever it finds it, use it. But then there are possible name collisions. Any thoughts? On Saturday, June 3, 2017 at 5:11:55 PM UTC-5, Adrian Calvin wrote

Re: Additional Plugin Dirs

2017-06-03 Thread Adrian Calvin
It might be better to replace the "." with "/" to seem more like a true file path. if "/" in fn: return fn.replace("/", ".")[:-3] @enabled-plugins adrianmod/hey_colorize.py On Friday, June 2, 2017 at 6:41:27 PM UTC-5, Adrian Calvin

Re: Additional Plugin Dirs

2017-06-03 Thread Adrian Calvin
e needs to do after that is insure the module is in the python path. On Friday, June 2, 2017 at 6:41:27 PM UTC-5, Adrian Calvin wrote: > > Is there a way to add additional plugin directories to leo just as one > might add additional paths to python? > -- You received this message because

Re: Additional Plugin Dirs

2017-06-03 Thread Adrian Calvin
, Terry Brown wrote: > On Sat, 3 Jun 2017 05:52:07 -0500 > "Edward K. Ream" wrote: > > > On Fri, Jun 2, 2017 at 9:44 PM, Terry Brown > > wrote: > > > > > On Fri, 2 Jun 2017 16:41:27 -0700 (PDT) > > > Adrian Calvin wrote: > > > &g

Re: Additional Plugin Dirs

2017-06-03 Thread Adrian Calvin
Thanks I'll do my best..New to both python and Leo. On Sat, Jun 3, 2017 at 1:18 PM, Edward K. Ream wrote: > On Sat, Jun 3, 2017 at 10:57 AM, Adrian Calvin > wrote: > >> I see. I have never submitted code to github, but I will work on a >> solution, if you

Re: Additional Plugin Dirs

2017-06-03 Thread Adrian Calvin
I see. I have never submitted code to github, but I will work on a solution, if you are accepting of the idea? On Friday, June 2, 2017 at 6:41:27 PM UTC-5, Adrian Calvin wrote: > > Is there a way to add additional plugin directories to leo just as one > might add additional paths

Additional Plugin Dirs

2017-06-02 Thread Adrian Calvin
Is there a way to add additional plugin directories to leo just as one might add additional paths to python? -- 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-e

Re: Killing script

2017-05-29 Thread Adrian Calvin
Thank you as always, Edward. On Sunday, May 28, 2017 at 11:15:08 AM UTC-5, Adrian Calvin wrote: > > Hello, > > Is there a way to kill a script without killing leo? > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To un

Killing script

2017-05-28 Thread Adrian Calvin
Hello, Is there a way to kill a script without killing leo? -- 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 th

Re: Cached @string, @bool, etc question

2017-05-25 Thread Adrian Calvin
That's OK. The great thing about leo is If I have an issue I can 90% of the time make my own work-around. That is why I am sticking with your system. On Thu, May 25, 2017 at 4:21 AM, Edward K. Ream wrote: > > ​​ > On Wed, May 24, 2017 at 6:20 PM, Adrian Calvin > wrote: &

Re: Outline Font Settings

2017-05-24 Thread Adrian Calvin
Thursday, May 18, 2017 at 4:57:28 PM UTC-5, Adrian Calvin wrote: > > I can't seem to change the outline font settings. I can change log and > body settings. > > Please tell what I am doing wrong. The following settings have no effect, > whether I put it in myLeoSettings

Cached @string, @bool, etc question

2017-05-24 Thread Adrian Calvin
I have noticed that these "data" nodes seem to get cached and you have to restart leo to reflect the changes. How can I set a setting to make a data node reload fresh every time? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe fr

Re: Outline Font Settings

2017-05-18 Thread Adrian Calvin
On Thursday, May 18, 2017 at 4:57:28 PM UTC-5, Adrian Calvin wrote: > > I can't seem to change the outline font settings. I can change log and > body settings. > > Please tell what I am doing wrong. The following settings have no effect, > whether I put it in myLeo

Outline Font Settings

2017-05-18 Thread Adrian Calvin
I can't seem to change the outline font settings. I can change log and body settings. Please tell what I am doing wrong. The following settings have no effect, whether I put it in myLeoSettings, or the direct outline.

Issue I am having with customizing syntac color/fonts

2017-05-15 Thread Adrian Calvin
I am finding that if I customize an element's font (e.g. making its font weight bold), crtl+ scroll wheel will no longer affect its size. For illustrative purposes: @settings @font code ** keyword1_font_weight=bold ** Between the ** is the "body" content. The keyword g

Re: Sentinels in PHP meant for web

2017-05-15 Thread Adrian Calvin
Thanks! On Friday, May 12, 2017 at 6:41:18 AM UTC-5, Edward K. Ream wrote: > > On Thu, May 11, 2017 at 9:20 PM, Adrian Calvin > wrote: > > >> Is there a way to somehow make these TOP sentinels act as if they are >> when you use the directive "language @html", and sentinels are encased as >> "

Sentinels in PHP meant for web

2017-05-12 Thread Adrian Calvin
Hi, I am new to leo, I have google, but still am unsure. I am wondering how to deal with sentinels at the TOP of my PHP scripts. These happen before the "https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.