Re: Spell checking in GIO

On Mon, Oct 07, 2013 at 10:38:01PM +0200, Sébastien Wilmet wrote:
The first step is to wrap enchant in GIO.

More precisely, here are the two classes from gtkhtml that can go in 

Some API tweaks may be needed, but I think these features belong to GIO, 
not GTK+. We can also hide these features and adapt the GTK+ widgets 
directly, and add some widgets for the spell checking (a menu or a 
dialog window with the list of available languages, and a dialog window 
for the spell checking of a GtkTextView). But this would be less 
flexible, and custom widgets would need to use Enchant.

Anyway, what can be extracted from GtkhtmlSpellLanguage is the decoding 
of language codes, fr_BE -> French (Belgium). I proposed last year to 
add functions in glib for doing that (it reads the iso-codes data). Even 
if this is not added to the public API, it can be useful to have this 
feature separately, so other projects can copy the code. The bug:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]