Line
Link Here
|
0 |
-- /gtkspell/gtkspell.c |
0 |
++ /gtkspell/gtkspell.c |
Lines 353-359
Link Here
|
353 |
get_word_extents_from_mark (spell->priv->buffer, &start, &end, spell->priv->mark_click); |
353 |
get_word_extents_from_mark (spell->priv->buffer, &start, &end, spell->priv->mark_click); |
354 |
word = gtk_text_buffer_get_text (spell->priv->buffer, &start, &end, FALSE); |
354 |
word = gtk_text_buffer_get_text (spell->priv->buffer, &start, &end, FALSE); |
355 |
|
355 |
|
356 |
enchant_dict_add_to_pwl (spell->priv->speller, word, strlen (word)); |
356 |
enchant_dict_add (spell->priv->speller, word, strlen (word)); |
357 |
|
357 |
|
358 |
gtk_spell_checker_recheck_all (spell); |
358 |
gtk_spell_checker_recheck_all (spell); |
359 |
|
359 |
|
Lines 1246-1252
Link Here
|
1246 |
void |
1246 |
void |
1247 |
gtk_spell_checker_add_to_dictionary (GtkSpellChecker *spell, const gchar *word) |
1247 |
gtk_spell_checker_add_to_dictionary (GtkSpellChecker *spell, const gchar *word) |
1248 |
{ |
1248 |
{ |
1249 |
enchant_dict_add_to_pwl (spell->priv->speller, word, strlen (word)); |
1249 |
enchant_dict_add (spell->priv->speller, word, strlen (word)); |
1250 |
gtk_spell_checker_recheck_all (spell); |
1250 |
gtk_spell_checker_recheck_all (spell); |
1251 |
} |
1251 |
} |
1252 |
|
1252 |
|