On Sun, 4 Aug 2013 23:23:01 -0700 (PDT)
Fidel Pérez <[email protected]> wrote:

> You can change the editor suggested on leo when right clicking so it will 
> open with any editor you want (notepad++ or any rich text editor) maybe 
> that could help.
> 
> On Monday, August 5, 2013 5:00:06 AM UTC+2, [email protected] wrote:
> >
> > Hi 
> >
> > I would like to know if there are plans to add support for some kind of 
> > rich text *within* Leo (i.e. not just for export purposes like Leo-to-RTF).

I think the OP is looking for Leo to edit text with an interface like
this:
http://netdna.webdesignerdepot.com/uploads/2008/11/11_damn_small_rich_text_editor.jpg

I think Leo's users have been focused on plain text approaches like rst
and md.  But I'm wondering if this might be fairly low hanging fruit,
because Qt serializes rich text as HTML.

So firstly, Fidel's approach could work as long as the external editor
called was an HTML editor.  The Leo body window would just display the
raw HTML, and the view rendered window could display the rendered
version without invoking the external editor.

But secondly it would be an almost trivial plugin if we can find a PyQt
rich text editor.  Trouble is, that seems to be harder than you'd
think, or at least it was last time this came up.  It would need to be
cross platform and PyQt, as in Python, friendly.  Qt offers this C++
starting point: http://qt-project.org/doc/qt-4.8/demos-textedit.html

Googling PyQt rich text editor doesn't throw any obvious candidates up.

Cheers -Terry

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to