1 /* Bluefish HTML Editor 2 * bftextview2_spell.h 3 * 4 * Copyright (C) 2009-2011 Olivier Sessink 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 3 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program. If not, see <http://www.gnu.org/licenses/>. 18 */ 19 20 /* for the design docs see bftextview2.h */ 21 #ifndef _BFTEXTVIEW2_SPELL_H_ 22 #define _BFTEXTVIEW2_SPELL_H_ 23 24 #include "bftextview2.h" 25 void unload_spell_dictionary(Tbfwin * bfwin); 26 gboolean bftextview2_run_spellcheck(BluefishTextView * btv); 27 void bftextview2_spell_init(void); 28 void bftextview2_spell_cleanup(void); 29 void bftextview2_populate_suggestions_popup(GtkMenu * menu, Tdocument * doc); 30 void bftextview2_populate_preferences_popup(GtkMenu * menu, Tdocument * doc); 31 void bftextview2_gui_toggle_spell_check(GtkWidget * widget, gpointer data); 32 void reload_spell_dictionary(Tbfwin * bfwin); 33 #endif 34