[webkit-qt] Spellchecking support for WebKit2
Jose Dapena Paz
jdapena at igalia.com
Thu Jan 10 02:59:21 PST 2013
El mar, 08-01-2013 a las 14:17 +0100, Simon Hausmann escribió:
> My feeling is that from an API perspective spell checking should simply work
> out of the box if it's supported by the underlying platform. I do hope that
> we'll get a spell checking API into Qt at some point and libenchant looks
> indeed promising for Linux.
In fact I'm adding support for spellchecking at webkit level, as this is
the requirement here, it is already supported at webkit internals, and I
just need to expose the needed bits of it at application level. I also
need a way to integrate more spellcheckers than just enchant. So I'm
trying to do the minimum API needed for my requirements.
But for me it is obvious that adding support at toolkit level, and then
make any Qt stock editing widget/component be able to use it would be
quite interesting. At WebKit level, we would then just use Qt API as the
default implementation for text checking.
> As a developer I don't want to have to make a choice about which API to use or
> implement my own spell checker. But I may want to configure a few settings
> perhaps (which ones?) and I think I want to have full control over the UI.
Typical UI case (you can find settings for this in at least firefox and
chrome):
* Being able to enable/disable spell checking.
* Choose the set of languages to do spell checking. But it defaults to
user desktop language. To do this you need to know the spell check
engine supported languages and have a way to set them.
More information about the webkit-qt
mailing list