View Single Post
Old 06-08-2012, 08:43 PM   #23
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by pwr View Post
I'm not asking if you can code it, just if you think it can be coded.
It is not possible to have live previews with the current implementation. The HTML viewer uses it's own backing which is separate from CV's backing. These cannot be combined. The only way to do this is to reload the view after every key press. This is a bad idea because it's going to be really really slow.

Invalid HTML wouldn't be a problem due to it being view only. The QWebView would do it's best to render. If it's wrong because the HTML is invalid then it's wrong. Once it's right it will be fine.

The alternative is to use a web based text editor. See this for an example. While this is possible it would require replacing CV entirely.
user_none is offline