Replies: 2 comments 3 replies
-
As far as the text editing goes I aim to decouple that from the styling. Focusing on typing text and use the common tabs of epub. It may not cover the whole range of visual expressivity some may like to have but I hope that could be enough for a large user base already |
Beta Was this translation helpful? Give feedback.
-
|
I was reading here about the differences between LanguageTools and Hunspell. Basically, LanguageTools is capable of suggesting corrections beyond grammatical ones, which is a welcome thing in general. I ended up changing my mind about point 2. For my new app, which I named Tessela, I will focus on a less editorial use and so I will use Hunspell, but in the case of this application that aims to deliver a product closer to a finished book, I think it is the best choice. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Analyzing the general stack, I noticed some points to consider and some potential problems that may occur in the future that may deserve attention. Remember that these are just suggestions for discussion in the future and it is probably not the time to think about changing any of this.
gitlib2+pygit2: gitlib2 is much smaller and brings all the main features of git.
Dulwich - an implementation of git in pure python without any external dependencies.
LanguageTool: LanguageTool and its dependency on Java are also huge. I don't know enough about LanguageTool to know what advantages it has over a simpler framework like using enchant+dictionaries, but it would be a point to note. Perhaps suggesting that the user install Eloquent and use the API if they choose to install it would be better than packaging everything.
Gtk.TextView: I have extensive experience with textview and I know, without any doubt, that it will cause problems for formatted text.
the textview's undo-redo does not cover the insertion/removal of tags, which would mean the need to write a new undo-redo to be able to work with even the most basic formatting.
it will be necessary to write a more complex serializer and deserializer when the text is formatted, not to mention working with images.
Any type of more advanced visualization, such as collapsible content, is incredibly complex to implement.
As a suggestion to consider, perhaps it would be better to use a js text editor running via webkit.webview. There are several excellent open source editors and it is also very simple to write one. Working with content in HTML has many advantages for serialization, deserialization and conversion to all types of formats, in addition to an absurd amount of control over content display.
Beta Was this translation helpful? Give feedback.
All reactions