On Thu, 24 Oct 2013 10:45:21 -0500 "Edward K. Ream" <[email protected]> wrote:
> On Thu, Oct 24, 2013 at 7:16 AM, Terry Brown <[email protected]>wrote: > > > > > QTextEdit doesn't offer any simple way to > > [ > double space]. > [snip] > > viewrendered is implemented with a QTextEdit, it would have to be > implemented with a QWebView or something instead. > > It shouldn't be be too hard to use QWebView instead of QTextEdit, or even > to switch between the two classes. Indeed, update_rst and update_html > already generate html from the body text, so very little needs to be done. > > I am well aware of the tricky nature of this code, but surely using > QWebView must be feasible. Feasible, but viewrendered has lots of cases where it assumes self.text_class is QTextEditor. Probably easiest to somehow define a new content type. 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.
