use webkit instead of gtktextview
I would like to ask how much of a difficulty it would be to move away from the gtktextview as the rendering canvas, and use webkit instead. Basically, what I have in mind is that instead of the textview, one could use a webbrowser, and in fact, a very primitive one, because all control elements are already implemented in zim. By using webkit, one could retain all python functionality. My argument in favour of webkit is that there are many pending features of zim, like tables, collapsable text, treeviews, inline rendering of latex, that are pending because there are fundamental difficulties implementing these based on gtktextview. Using a browser-oriented approach would also make styling much more straighforward, because people could simply write their CCS, and connect it on the fly. Moreover, proper links to external webpages could also be included, as well as videos, SVGs.
I don't know how big an undertaking this would be, but if there is interest in this, I would be willing to invest time and effort into implementing it.
Cheers,
Zoltán
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Zim Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Zoltán Vörös for more information if necessary.