Leo's maintenance mode is well begun

42 views
Skip to first unread message

Edward K. Ream

unread,
Apr 21, 2022, 7:41:22 AM4/21/22
to leo-editor
On April 6 I declared that Leo is entering maintenance mode. Today, April 21, I can say that maintenance mode's starting phase is complete. Leo's devs have completed all urgent issues.

My dream

Leo's maintenance mode will continue "forever", that is, after I am gone.

Leo's Status

- Leo is stable, and is likely to remain so.
- I'll continue to fix urgent bugs.
- I'll likely delegate all other issues to others.
  I may even encourage other devs not to bother with some issues.

Edward

jkn

unread,
Apr 21, 2022, 9:43:01 AM4/21/22
to leo-editor
FWIW I have a recent interest in this:

https://github.com/leo-editor/leo-editor/issues/1599   # Show vertical lines to show margins and tab stop locations

How does one do 'pretty please' in Github? ;-)

Thanks, Jon N

Edward K. Ream

unread,
Apr 21, 2022, 9:56:16 AM4/21/22
to leo-editor
On Thu, Apr 21, 2022 at 8:43 AM jkn <jkn...@nicorp.f9.co.uk> wrote:
FWIW I have a recent interest in this:

https://github.com/leo-editor/leo-editor/issues/1599   # Show vertical lines to show margins and tab stop locations

How does one do 'pretty please' in Github? ;-)

Issue a Pull Request :-)

Or ask nicely for help, as you have just done. Anyone interested?

Edward

tbp1...@gmail.com

unread,
Apr 21, 2022, 11:06:47 AM4/21/22
to leo-editor
I'm certainly interested in having vertical guide lines. i don't have a clue about how to do them with Qt.  i did them once in a browser application with css borders but i don't see that working for a QTextBrowser.

tbp1...@gmail.com

unread,
Apr 21, 2022, 11:21:06 AM4/21/22
to leo-editor
this might be relevant -

Edward K. Ream

unread,
Apr 21, 2022, 12:24:31 PM4/21/22
to leo-editor
On Thu, Apr 21, 2022 at 10:21 AM tbp1...@gmail.com <tbp1...@gmail.com> wrote:
this might be relevant -


Yes. Of course it's relevant. Any solution will involve a custom painter.

I see you've cultivated the habit of changing:

    "I don't know how to do x" into:
    "Let's google how to do x"

:-) Iirc, pyzo has a painter that does this. Leo's (defunct) pyzo plugin (whatever it's called), might reference that code. The pyzo plugin might be in the attic. Or not.

That's all I (half) remember about Leo and pyzo.  Happy coding.

Edward

tbp1...@gmail.com

unread,
Apr 21, 2022, 1:05:43 PM4/21/22
to leo-editor
"i don't know how ..." is just stream-of-consciousness and an invitation for others to jump in
 if they know something.  it's just a starting point.

tbp1...@gmail.com

unread,
Apr 21, 2022, 1:09:49 PM4/21/22
to leo-editor
pyzo's code for indentation guides does do custom painting as well.  something i'm not clear about is when a qtextedit (more properly, a qtextdocument) paint event is dispatched - is it per line, per block, or something else?  anyone know?

tbp1...@gmail.com

unread,
Apr 23, 2022, 9:51:21 AM4/23/22
to leo-editor
That reference paid off.  i have a working testbed that paints a right margin guideline at some specified column, like 66.   there are a few practical things to be worked out, such as the guideline color to use with the theme, and detecting font and @pagewidth changes.  these should not raise any real problems.

painting vertical guidelines for tab stops will have a few challenges.

jkn

unread,
Apr 23, 2022, 3:21:00 PM4/23/22
to leo-editor

that sounds very tantalising! ;-)

    J^n

tbp1...@gmail.com

unread,
Apr 23, 2022, 4:37:08 PM4/23/22
to leo-editor
stay tuned...
Reply all
Reply to author
Forward
0 new messages