For the past three weeks I've been working on an editor for working with plain text files and making it easy to add markdown syntax to them. My main goal is to make it easier to format the large number of ebooks I have. Almost all of them are plain text files. It's a python … Continue reading Niw Markdown Editor
***Update: Simplified Highlighter.highlightBlock function One thing Qt lacks is an integrated spell check in the text entry components. For a project I'm working on this is necessary. Using python-enchant and the QSyntaxHighlighter I was able to implement this functionality. Here is how to add an in line spell check support to a QPlainTextEdit. The SpellTextEdit's … Continue reading QPlainTextEdit With In Line Spell Check
My last post was an implementation of a Qt widget which displays text with line numbers. I found that it has a few limitations. The biggest was a performance penalty when dealing with large documents. I've since re-factored and rewritten the class to make the performance acceptable. I've also cleaned up the code a bit … Continue reading Better QPlainTextEdit With Line Numbers
Here is a Qt4 widget written in Python that allows for line numbers next to a QTextEdit. Similar to what is seen in a number of text editors such as gedit and kate.
This time I missed last weeks week in review because I simply forgot. I'm hoping to keep this to a minimum in the future. The big news is calibre 0.6 has been released. Kovid is now back to his regular (weekly at the least) bug fix releases too. As of now the latest version is … Continue reading Calibre Two Weeks in Review